igniteui-angular-core 20.2.1 → 21.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.
@@ -13,16 +13,18 @@ export let FastReflectionHelper = /*@__PURE__*/ (() => {
13
13
  class FastReflectionHelper extends Base {
14
14
  constructor(a, b) {
15
15
  super();
16
- this.c = false;
16
+ this.d = false;
17
17
  this._propertyName = null;
18
+ this._camelPropertyName = null;
18
19
  this.a = null;
19
- this.b = false;
20
- this.d = false;
20
+ this.c = false;
21
+ this.e = false;
21
22
  this._index = -1;
22
- this.k = null;
23
+ this.m = null;
24
+ this.b = false;
23
25
  this._useTraditionalReflection = false;
24
26
  this.useTraditionalReflection = a;
25
- this.o(b);
27
+ this.r(b);
26
28
  }
27
29
  static needsHelper(a) {
28
30
  if (a == null) {
@@ -37,16 +39,16 @@ export let FastReflectionHelper = /*@__PURE__*/ (() => {
37
39
  return this._propertyName;
38
40
  }
39
41
  set propertyName(a) {
40
- if (a != this.k) {
41
- this.o(a);
42
+ if (a != this.m) {
43
+ this.r(a);
42
44
  }
43
45
  }
44
- o(a) {
45
- this.k = a;
46
+ r(a) {
47
+ this.m = a;
46
48
  this._propertyName = a;
47
- this.c = false;
49
+ this.d = false;
48
50
  if (this._propertyName == ".") {
49
- this.c = true;
51
+ this.d = true;
50
52
  return;
51
53
  }
52
54
  if (this._propertyName == null) {
@@ -78,7 +80,7 @@ export let FastReflectionHelper = /*@__PURE__*/ (() => {
78
80
  if (a.charAt(e) == '[' || !b) {
79
81
  let f = a.substr(e, a.length - e);
80
82
  this.a = new FastReflectionHelper(this.useTraditionalReflection, f);
81
- this.o(a.substr(0, e));
83
+ this.r(a.substr(0, e));
82
84
  return;
83
85
  }
84
86
  }
@@ -89,21 +91,34 @@ export let FastReflectionHelper = /*@__PURE__*/ (() => {
89
91
  this.a = new FastReflectionHelper(this.useTraditionalReflection, h);
90
92
  }
91
93
  a = a.substr(0, g);
92
- if (this.f(a)) {
93
- this.b = true;
94
+ if (this.g(a)) {
95
+ this.c = true;
94
96
  this._index = parseInt(a);
95
97
  }
96
98
  else {
97
- this.d = true;
99
+ this.e = true;
98
100
  }
99
101
  }
100
102
  else {
101
- this.b = false;
102
- this.d = false;
103
+ this.c = false;
104
+ this.e = false;
103
105
  }
104
106
  this._propertyName = a;
107
+ this._camelPropertyName = this.p(this._propertyName);
108
+ if (this._camelPropertyName != null && !Base.equalsStatic(this._camelPropertyName, this._propertyName)) {
109
+ this.b = true;
110
+ }
105
111
  }
106
- f(a) {
112
+ p(a) {
113
+ if (a == null) {
114
+ return null;
115
+ }
116
+ if (a.length < 1) {
117
+ return a;
118
+ }
119
+ return a.substr(0, 1).toLowerCase() + a.substr(1);
120
+ }
121
+ g(a) {
107
122
  if (a == null) {
108
123
  return false;
109
124
  }
@@ -129,15 +144,18 @@ export let FastReflectionHelper = /*@__PURE__*/ (() => {
129
144
  }
130
145
  getPropertyValue(a) {
131
146
  let from_ = a;
132
- if (this.c) {
147
+ if (this.d) {
133
148
  return from_;
134
149
  }
135
150
  let b = null;
136
- if (this.b) {
151
+ if (this.c) {
137
152
  b = from_[this._index];
138
153
  }
139
154
  else {
140
155
  b = from_[this._propertyName];
156
+ if (this.b && (b === undefined)) {
157
+ b = from_[this._camelPropertyName];
158
+ }
141
159
  }
142
160
  if (this.a != null && (b !== undefined)) {
143
161
  return this.a.getPropertyValue(b);
@@ -147,7 +165,7 @@ export let FastReflectionHelper = /*@__PURE__*/ (() => {
147
165
  setPropertyValue(a, b) {
148
166
  let from_ = a;
149
167
  let value_ = b;
150
- if (this.c) {
168
+ if (this.d) {
151
169
  return;
152
170
  }
153
171
  if (this.a != null) {
@@ -156,7 +174,7 @@ export let FastReflectionHelper = /*@__PURE__*/ (() => {
156
174
  return;
157
175
  }
158
176
  let d = null;
159
- if (this.b) {
177
+ if (this.c) {
160
178
  from_[this._index] = value_;
161
179
  }
162
180
  else {
@@ -14,16 +14,18 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
14
14
  __extends(FastReflectionHelper, _super);
15
15
  function FastReflectionHelper(a, b) {
16
16
  var _this = _super.call(this) || this;
17
- _this.c = false;
17
+ _this.d = false;
18
18
  _this._propertyName = null;
19
+ _this._camelPropertyName = null;
19
20
  _this.a = null;
20
- _this.b = false;
21
- _this.d = false;
21
+ _this.c = false;
22
+ _this.e = false;
22
23
  _this._index = -1;
23
- _this.k = null;
24
+ _this.m = null;
25
+ _this.b = false;
24
26
  _this._useTraditionalReflection = false;
25
27
  _this.useTraditionalReflection = a;
26
- _this.o(b);
28
+ _this.r(b);
27
29
  return _this;
28
30
  }
29
31
  FastReflectionHelper.needsHelper = function (a) {
@@ -40,19 +42,19 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
40
42
  return this._propertyName;
41
43
  },
42
44
  set: function (a) {
43
- if (a != this.k) {
44
- this.o(a);
45
+ if (a != this.m) {
46
+ this.r(a);
45
47
  }
46
48
  },
47
49
  enumerable: false,
48
50
  configurable: true
49
51
  });
50
- FastReflectionHelper.prototype.o = function (a) {
51
- this.k = a;
52
+ FastReflectionHelper.prototype.r = function (a) {
53
+ this.m = a;
52
54
  this._propertyName = a;
53
- this.c = false;
55
+ this.d = false;
54
56
  if (this._propertyName == ".") {
55
- this.c = true;
57
+ this.d = true;
56
58
  return;
57
59
  }
58
60
  if (this._propertyName == null) {
@@ -84,7 +86,7 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
84
86
  if (a.charAt(e) == '[' || !b) {
85
87
  var f = a.substr(e, a.length - e);
86
88
  this.a = new FastReflectionHelper(this.useTraditionalReflection, f);
87
- this.o(a.substr(0, e));
89
+ this.r(a.substr(0, e));
88
90
  return;
89
91
  }
90
92
  }
@@ -95,21 +97,34 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
95
97
  this.a = new FastReflectionHelper(this.useTraditionalReflection, h);
96
98
  }
97
99
  a = a.substr(0, g);
98
- if (this.f(a)) {
99
- this.b = true;
100
+ if (this.g(a)) {
101
+ this.c = true;
100
102
  this._index = parseInt(a);
101
103
  }
102
104
  else {
103
- this.d = true;
105
+ this.e = true;
104
106
  }
105
107
  }
106
108
  else {
107
- this.b = false;
108
- this.d = false;
109
+ this.c = false;
110
+ this.e = false;
109
111
  }
110
112
  this._propertyName = a;
113
+ this._camelPropertyName = this.p(this._propertyName);
114
+ if (this._camelPropertyName != null && !Base.equalsStatic(this._camelPropertyName, this._propertyName)) {
115
+ this.b = true;
116
+ }
117
+ };
118
+ FastReflectionHelper.prototype.p = function (a) {
119
+ if (a == null) {
120
+ return null;
121
+ }
122
+ if (a.length < 1) {
123
+ return a;
124
+ }
125
+ return a.substr(0, 1).toLowerCase() + a.substr(1);
111
126
  };
112
- FastReflectionHelper.prototype.f = function (a) {
127
+ FastReflectionHelper.prototype.g = function (a) {
113
128
  if (a == null) {
114
129
  return false;
115
130
  }
@@ -139,15 +154,18 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
139
154
  });
140
155
  FastReflectionHelper.prototype.getPropertyValue = function (a) {
141
156
  var from_ = a;
142
- if (this.c) {
157
+ if (this.d) {
143
158
  return from_;
144
159
  }
145
160
  var b = null;
146
- if (this.b) {
161
+ if (this.c) {
147
162
  b = from_[this._index];
148
163
  }
149
164
  else {
150
165
  b = from_[this._propertyName];
166
+ if (this.b && (b === undefined)) {
167
+ b = from_[this._camelPropertyName];
168
+ }
151
169
  }
152
170
  if (this.a != null && (b !== undefined)) {
153
171
  return this.a.getPropertyValue(b);
@@ -157,7 +175,7 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
157
175
  FastReflectionHelper.prototype.setPropertyValue = function (a, b) {
158
176
  var from_ = a;
159
177
  var value_ = b;
160
- if (this.c) {
178
+ if (this.d) {
161
179
  return;
162
180
  }
163
181
  if (this.a != null) {
@@ -166,7 +184,7 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
166
184
  return;
167
185
  }
168
186
  var d = null;
169
- if (this.b) {
187
+ if (this.c) {
170
188
  from_[this._index] = value_;
171
189
  }
172
190
  else {
@@ -19016,16 +19016,18 @@ let FastReflectionHelper = /*@__PURE__*/ (() => {
19016
19016
  class FastReflectionHelper extends Base {
19017
19017
  constructor(a, b) {
19018
19018
  super();
19019
- this.c = false;
19019
+ this.d = false;
19020
19020
  this._propertyName = null;
19021
+ this._camelPropertyName = null;
19021
19022
  this.a = null;
19022
- this.b = false;
19023
- this.d = false;
19023
+ this.c = false;
19024
+ this.e = false;
19024
19025
  this._index = -1;
19025
- this.k = null;
19026
+ this.m = null;
19027
+ this.b = false;
19026
19028
  this._useTraditionalReflection = false;
19027
19029
  this.useTraditionalReflection = a;
19028
- this.o(b);
19030
+ this.r(b);
19029
19031
  }
19030
19032
  static needsHelper(a) {
19031
19033
  if (a == null) {
@@ -19040,16 +19042,16 @@ let FastReflectionHelper = /*@__PURE__*/ (() => {
19040
19042
  return this._propertyName;
19041
19043
  }
19042
19044
  set propertyName(a) {
19043
- if (a != this.k) {
19044
- this.o(a);
19045
+ if (a != this.m) {
19046
+ this.r(a);
19045
19047
  }
19046
19048
  }
19047
- o(a) {
19048
- this.k = a;
19049
+ r(a) {
19050
+ this.m = a;
19049
19051
  this._propertyName = a;
19050
- this.c = false;
19052
+ this.d = false;
19051
19053
  if (this._propertyName == ".") {
19052
- this.c = true;
19054
+ this.d = true;
19053
19055
  return;
19054
19056
  }
19055
19057
  if (this._propertyName == null) {
@@ -19081,7 +19083,7 @@ let FastReflectionHelper = /*@__PURE__*/ (() => {
19081
19083
  if (a.charAt(e) == '[' || !b) {
19082
19084
  let f = a.substr(e, a.length - e);
19083
19085
  this.a = new FastReflectionHelper(this.useTraditionalReflection, f);
19084
- this.o(a.substr(0, e));
19086
+ this.r(a.substr(0, e));
19085
19087
  return;
19086
19088
  }
19087
19089
  }
@@ -19092,21 +19094,34 @@ let FastReflectionHelper = /*@__PURE__*/ (() => {
19092
19094
  this.a = new FastReflectionHelper(this.useTraditionalReflection, h);
19093
19095
  }
19094
19096
  a = a.substr(0, g);
19095
- if (this.f(a)) {
19096
- this.b = true;
19097
+ if (this.g(a)) {
19098
+ this.c = true;
19097
19099
  this._index = parseInt(a);
19098
19100
  }
19099
19101
  else {
19100
- this.d = true;
19102
+ this.e = true;
19101
19103
  }
19102
19104
  }
19103
19105
  else {
19104
- this.b = false;
19105
- this.d = false;
19106
+ this.c = false;
19107
+ this.e = false;
19106
19108
  }
19107
19109
  this._propertyName = a;
19110
+ this._camelPropertyName = this.p(this._propertyName);
19111
+ if (this._camelPropertyName != null && !Base.equalsStatic(this._camelPropertyName, this._propertyName)) {
19112
+ this.b = true;
19113
+ }
19108
19114
  }
19109
- f(a) {
19115
+ p(a) {
19116
+ if (a == null) {
19117
+ return null;
19118
+ }
19119
+ if (a.length < 1) {
19120
+ return a;
19121
+ }
19122
+ return a.substr(0, 1).toLowerCase() + a.substr(1);
19123
+ }
19124
+ g(a) {
19110
19125
  if (a == null) {
19111
19126
  return false;
19112
19127
  }
@@ -19132,15 +19147,18 @@ let FastReflectionHelper = /*@__PURE__*/ (() => {
19132
19147
  }
19133
19148
  getPropertyValue(a) {
19134
19149
  let from_ = a;
19135
- if (this.c) {
19150
+ if (this.d) {
19136
19151
  return from_;
19137
19152
  }
19138
19153
  let b = null;
19139
- if (this.b) {
19154
+ if (this.c) {
19140
19155
  b = from_[this._index];
19141
19156
  }
19142
19157
  else {
19143
19158
  b = from_[this._propertyName];
19159
+ if (this.b && (b === undefined)) {
19160
+ b = from_[this._camelPropertyName];
19161
+ }
19144
19162
  }
19145
19163
  if (this.a != null && (b !== undefined)) {
19146
19164
  return this.a.getPropertyValue(b);
@@ -19150,7 +19168,7 @@ let FastReflectionHelper = /*@__PURE__*/ (() => {
19150
19168
  setPropertyValue(a, b) {
19151
19169
  let from_ = a;
19152
19170
  let value_ = b;
19153
- if (this.c) {
19171
+ if (this.d) {
19154
19172
  return;
19155
19173
  }
19156
19174
  if (this.a != null) {
@@ -19159,7 +19177,7 @@ let FastReflectionHelper = /*@__PURE__*/ (() => {
19159
19177
  return;
19160
19178
  }
19161
19179
  let d = null;
19162
- if (this.b) {
19180
+ if (this.c) {
19163
19181
  from_[this._index] = value_;
19164
19182
  }
19165
19183
  else {
@@ -21258,16 +21258,18 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
21258
21258
  __extends(FastReflectionHelper, _super);
21259
21259
  function FastReflectionHelper(a, b) {
21260
21260
  var _this = _super.call(this) || this;
21261
- _this.c = false;
21261
+ _this.d = false;
21262
21262
  _this._propertyName = null;
21263
+ _this._camelPropertyName = null;
21263
21264
  _this.a = null;
21264
- _this.b = false;
21265
- _this.d = false;
21265
+ _this.c = false;
21266
+ _this.e = false;
21266
21267
  _this._index = -1;
21267
- _this.k = null;
21268
+ _this.m = null;
21269
+ _this.b = false;
21268
21270
  _this._useTraditionalReflection = false;
21269
21271
  _this.useTraditionalReflection = a;
21270
- _this.o(b);
21272
+ _this.r(b);
21271
21273
  return _this;
21272
21274
  }
21273
21275
  FastReflectionHelper.needsHelper = function (a) {
@@ -21284,19 +21286,19 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
21284
21286
  return this._propertyName;
21285
21287
  },
21286
21288
  set: function (a) {
21287
- if (a != this.k) {
21288
- this.o(a);
21289
+ if (a != this.m) {
21290
+ this.r(a);
21289
21291
  }
21290
21292
  },
21291
21293
  enumerable: false,
21292
21294
  configurable: true
21293
21295
  });
21294
- FastReflectionHelper.prototype.o = function (a) {
21295
- this.k = a;
21296
+ FastReflectionHelper.prototype.r = function (a) {
21297
+ this.m = a;
21296
21298
  this._propertyName = a;
21297
- this.c = false;
21299
+ this.d = false;
21298
21300
  if (this._propertyName == ".") {
21299
- this.c = true;
21301
+ this.d = true;
21300
21302
  return;
21301
21303
  }
21302
21304
  if (this._propertyName == null) {
@@ -21328,7 +21330,7 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
21328
21330
  if (a.charAt(e) == '[' || !b) {
21329
21331
  var f = a.substr(e, a.length - e);
21330
21332
  this.a = new FastReflectionHelper(this.useTraditionalReflection, f);
21331
- this.o(a.substr(0, e));
21333
+ this.r(a.substr(0, e));
21332
21334
  return;
21333
21335
  }
21334
21336
  }
@@ -21339,21 +21341,34 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
21339
21341
  this.a = new FastReflectionHelper(this.useTraditionalReflection, h);
21340
21342
  }
21341
21343
  a = a.substr(0, g);
21342
- if (this.f(a)) {
21343
- this.b = true;
21344
+ if (this.g(a)) {
21345
+ this.c = true;
21344
21346
  this._index = parseInt(a);
21345
21347
  }
21346
21348
  else {
21347
- this.d = true;
21349
+ this.e = true;
21348
21350
  }
21349
21351
  }
21350
21352
  else {
21351
- this.b = false;
21352
- this.d = false;
21353
+ this.c = false;
21354
+ this.e = false;
21353
21355
  }
21354
21356
  this._propertyName = a;
21357
+ this._camelPropertyName = this.p(this._propertyName);
21358
+ if (this._camelPropertyName != null && !Base.equalsStatic(this._camelPropertyName, this._propertyName)) {
21359
+ this.b = true;
21360
+ }
21361
+ };
21362
+ FastReflectionHelper.prototype.p = function (a) {
21363
+ if (a == null) {
21364
+ return null;
21365
+ }
21366
+ if (a.length < 1) {
21367
+ return a;
21368
+ }
21369
+ return a.substr(0, 1).toLowerCase() + a.substr(1);
21355
21370
  };
21356
- FastReflectionHelper.prototype.f = function (a) {
21371
+ FastReflectionHelper.prototype.g = function (a) {
21357
21372
  if (a == null) {
21358
21373
  return false;
21359
21374
  }
@@ -21383,15 +21398,18 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
21383
21398
  });
21384
21399
  FastReflectionHelper.prototype.getPropertyValue = function (a) {
21385
21400
  var from_ = a;
21386
- if (this.c) {
21401
+ if (this.d) {
21387
21402
  return from_;
21388
21403
  }
21389
21404
  var b = null;
21390
- if (this.b) {
21405
+ if (this.c) {
21391
21406
  b = from_[this._index];
21392
21407
  }
21393
21408
  else {
21394
21409
  b = from_[this._propertyName];
21410
+ if (this.b && (b === undefined)) {
21411
+ b = from_[this._camelPropertyName];
21412
+ }
21395
21413
  }
21396
21414
  if (this.a != null && (b !== undefined)) {
21397
21415
  return this.a.getPropertyValue(b);
@@ -21401,7 +21419,7 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
21401
21419
  FastReflectionHelper.prototype.setPropertyValue = function (a, b) {
21402
21420
  var from_ = a;
21403
21421
  var value_ = b;
21404
- if (this.c) {
21422
+ if (this.d) {
21405
21423
  return;
21406
21424
  }
21407
21425
  if (this.a != null) {
@@ -21410,7 +21428,7 @@ var FastReflectionHelper = /** @class */ /*@__PURE__*/ (function (_super) {
21410
21428
  return;
21411
21429
  }
21412
21430
  var d = null;
21413
- if (this.b) {
21431
+ if (this.c) {
21414
21432
  from_[this._index] = value_;
21415
21433
  }
21416
21434
  else {
@@ -6,17 +6,20 @@ export declare class FastReflectionHelper extends Base {
6
6
  static $t: Type;
7
7
  constructor(a: boolean, b: string);
8
8
  static needsHelper(a: string): boolean;
9
- private c;
9
+ private d;
10
10
  private _propertyName;
11
11
  get propertyName(): string;
12
12
  set propertyName(a: string);
13
+ private _camelPropertyName;
13
14
  private a;
14
- private b;
15
- private d;
15
+ private c;
16
+ private e;
16
17
  private _index;
17
- private k;
18
- private o;
19
- private f;
18
+ private m;
19
+ private b;
20
+ private r;
21
+ private p;
22
+ private g;
20
23
  private _useTraditionalReflection;
21
24
  get useTraditionalReflection(): boolean;
22
25
  set useTraditionalReflection(a: boolean);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular-core",
3
- "version": "20.2.1",
3
+ "version": "21.0.0",
4
4
  "description": "Ignite UI Angular Core logic used in multiple UI components.",
5
5
  "homepage": "https://github.com/IgniteUI/igniteui-angular-charts",
6
6
  "keywords": [
@@ -15,9 +15,9 @@
15
15
  "tslib": "^2.3.1"
16
16
  },
17
17
  "peerDependencies": {
18
- "@angular/common": "^20.0.0",
19
- "@angular/compiler": "^20.0.0",
20
- "@angular/core": "^20.0.0"
18
+ "@angular/common": "^21.0.0",
19
+ "@angular/compiler": "^21.0.0",
20
+ "@angular/core": "^21.0.0"
21
21
  },
22
22
  "sideEffects": false,
23
23
  "typings": "igniteui-angular-core.d.ts",