igniteui-angular-core 14.0.0 → 14.1.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.
Files changed (55) hide show
  1. package/bundles/igniteui-angular-core.umd.js +960 -730
  2. package/bundles/igniteui-angular-core.umd.min.js +1 -1
  3. package/esm2015/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
  4. package/esm2015/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +382 -314
  5. package/esm2015/lib/CodeGeneratingComponentRendererDataEmitter.js +2 -2
  6. package/esm2015/lib/CodeGeneratingComponentRendererHandlerEmitter.js +2 -2
  7. package/esm2015/lib/CodeGeneratingComponentRendererModuleEmitter.js +14 -11
  8. package/esm2015/lib/CodeGeneratingRendererResult.js +56 -44
  9. package/esm2015/lib/CodeGenerationFolderTemplate.js +41 -37
  10. package/esm2015/lib/ComponentRendererAdapter.js +3 -0
  11. package/esm2015/lib/ComponentRenderer_combined.js +1 -1
  12. package/esm2015/lib/DescriptionSerializer.js +70 -56
  13. package/esm2015/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
  14. package/esm2015/lib/StackedFragmentSeriesDescription.js +121 -121
  15. package/esm2015/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
  16. package/esm2015/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
  17. package/esm2015/lib/WebTreeSelectionOptionsEventArgsDescription.js +3 -3
  18. package/esm2015/lib/WebTreeSelectionOptionsEventArgsDescriptionMetadata.js +3 -1
  19. package/esm2015/lib/WebTreeSelectionOptionsEventDetailDescription.js +36 -0
  20. package/esm2015/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.js +38 -0
  21. package/esm2015/public_api.js +2 -0
  22. package/esm5/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
  23. package/esm5/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +449 -363
  24. package/esm5/lib/CodeGeneratingComponentRendererDataEmitter.js +2 -2
  25. package/esm5/lib/CodeGeneratingComponentRendererHandlerEmitter.js +2 -2
  26. package/esm5/lib/CodeGeneratingComponentRendererModuleEmitter.js +18 -11
  27. package/esm5/lib/CodeGeneratingRendererResult.js +95 -66
  28. package/esm5/lib/CodeGenerationFolderTemplate.js +40 -36
  29. package/esm5/lib/ComponentRendererAdapter.js +3 -0
  30. package/esm5/lib/ComponentRenderer_combined.js +1 -1
  31. package/esm5/lib/DescriptionSerializer.js +70 -56
  32. package/esm5/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
  33. package/esm5/lib/StackedFragmentSeriesDescription.js +120 -120
  34. package/esm5/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
  35. package/esm5/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
  36. package/esm5/lib/WebTreeSelectionOptionsEventArgsDescription.js +2 -2
  37. package/esm5/lib/WebTreeSelectionOptionsEventArgsDescriptionMetadata.js +3 -1
  38. package/esm5/lib/WebTreeSelectionOptionsEventDetailDescription.js +46 -0
  39. package/esm5/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.js +42 -0
  40. package/esm5/public_api.js +2 -0
  41. package/fesm2015/igniteui-angular-core.js +837 -658
  42. package/fesm5/igniteui-angular-core.js +959 -731
  43. package/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.d.ts +3 -3
  44. package/lib/CodeGeneratingComponentRendererCodeEmitter_combined.d.ts +120 -114
  45. package/lib/CodeGeneratingComponentRendererModuleEmitter.d.ts +6 -5
  46. package/lib/CodeGeneratingRendererResult.d.ts +15 -12
  47. package/lib/DescriptionSerializer.d.ts +7 -6
  48. package/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
  49. package/lib/StackedFragmentSeriesDescription.d.ts +46 -46
  50. package/lib/TSCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
  51. package/lib/WebTreeSelectionOptionsEventArgsDescription.d.ts +3 -3
  52. package/lib/WebTreeSelectionOptionsEventDetailDescription.d.ts +17 -0
  53. package/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.d.ts +13 -0
  54. package/package.json +1 -1
  55. package/public_api.d.ts +2 -0
@@ -36,14 +36,14 @@ var DescriptionSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
36
36
  _this.e = false;
37
37
  return _this;
38
38
  }
39
- DescriptionSerializer.prototype.o = function (a, b) {
39
+ DescriptionSerializer.prototype.p = function (a, b) {
40
40
  var c = DescriptionTreeBuilder.createTree(a, b);
41
41
  var d = new DescriptionSerializerBuilder();
42
- this.p(a, c, d);
42
+ this.q(a, c, d);
43
43
  return d.toString();
44
44
  };
45
- DescriptionSerializer.prototype.s = function (a, b, c) {
46
- this.p(a, b, c);
45
+ DescriptionSerializer.prototype.t = function (a, b, c) {
46
+ this.q(a, b, c);
47
47
  };
48
48
  DescriptionSerializer.prototype.c = function (a, b) {
49
49
  var c = new JsonDictionaryParser();
@@ -68,7 +68,7 @@ var DescriptionSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
68
68
  this.e = false;
69
69
  return g;
70
70
  };
71
- DescriptionSerializer.prototype.u = function (a, b, c, d, e) {
71
+ DescriptionSerializer.prototype.v = function (a, b, c, d, e) {
72
72
  if (this.g) {
73
73
  a.w(b, c, d, e);
74
74
  }
@@ -132,14 +132,14 @@ var DescriptionSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
132
132
  break;
133
133
  }
134
134
  if (!this.e) {
135
- this.u(a, h, k, l, q);
135
+ this.v(a, h, k, l, q);
136
136
  }
137
137
  }
138
138
  else if (typeCast(JsonDictionaryObject.$, p) !== null) {
139
139
  var r = p;
140
140
  var s = this.b(a, r, l.knownType);
141
141
  f.e(s);
142
- this.u(a, h, k, l, s.result);
142
+ this.v(a, h, k, l, s.result);
143
143
  }
144
144
  else if (typeCast(JsonDictionaryArray.$, p) !== null) {
145
145
  var t = p;
@@ -153,50 +153,64 @@ var DescriptionSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
153
153
  u = l.collectionElementType;
154
154
  }
155
155
  var w = this.a(f, a, t, u);
156
+ if (this.f) {
157
+ if (l.propertyName.toLowerCase() == "includedproperties" || l.propertyName.toLowerCase() == "excludedproperties") {
158
+ var x = w;
159
+ var y = new Array(x.length);
160
+ for (var z = 0; z < x.length; z++) {
161
+ y[z] = this.n(x[z]);
162
+ }
163
+ w = y;
164
+ }
165
+ }
156
166
  if (!this.e || v) {
157
- this.u(a, h, k, l, w);
167
+ this.v(a, h, k, l, w);
158
168
  }
159
169
  }
160
170
  else {
161
- var x = l.specificExternalType;
162
- if (x == null && l.knownType == 3) {
163
- x = "DateTime";
171
+ var aa = l.specificExternalType;
172
+ if (aa == null && l.knownType == 3) {
173
+ aa = "DateTime";
164
174
  }
165
- if (x == null) {
166
- x = "String";
175
+ if (aa == null) {
176
+ aa = "String";
167
177
  }
168
- var y = p;
169
- var z = this.j(f, a, y, x);
178
+ var ab = p;
179
+ var ac = this.j(f, a, ab, aa);
170
180
  if (this.f) {
171
- if (stringEndsWith(l.propertyName, "MemberPath") || (g != null && stringEndsWith(g, "Axis") && l.propertyName.toLowerCase() == "label")) {
172
- var aa = z.toString();
173
- if (this.i != null) {
174
- z = this.i(aa);
175
- }
176
- else {
177
- if (stringStartsWith(aa, "{")) {
178
- if (!stringStartsWith(aa, "{[")) {
179
- aa = aa.substr(1, aa.length - 2);
180
- aa = "{[" + aa + "]}";
181
- z = aa;
182
- }
183
- }
184
- else {
185
- if (!stringStartsWith(aa, "[")) {
186
- aa = "[" + aa + "]";
187
- z = aa;
188
- }
189
- }
190
- }
181
+ if (stringEndsWith(l.propertyName, "MemberPath") || stringEndsWith(l.propertyName.toLowerCase(), "field") || (g != null && stringEndsWith(g, "Axis") && l.propertyName.toLowerCase() == "label")) {
182
+ ac = this.n(ac);
191
183
  }
192
184
  }
193
185
  if (!this.e) {
194
- this.u(a, h, k, l, z);
186
+ this.v(a, h, k, l, ac);
195
187
  }
196
188
  }
197
189
  }
198
190
  return f;
199
191
  };
192
+ DescriptionSerializer.prototype.n = function (a) {
193
+ var b = a.toString();
194
+ if (this.i != null) {
195
+ a = this.i(b);
196
+ }
197
+ else {
198
+ if (stringStartsWith(b, "{")) {
199
+ if (!stringStartsWith(b, "{[")) {
200
+ b = b.substr(1, b.length - 2);
201
+ b = "{[" + b + "]}";
202
+ a = b;
203
+ }
204
+ }
205
+ else {
206
+ if (!stringStartsWith(b, "[")) {
207
+ b = "[" + b + "]";
208
+ a = b;
209
+ }
210
+ }
211
+ }
212
+ return a;
213
+ };
200
214
  DescriptionSerializer.prototype.k = function (a, b) {
201
215
  if (b == null) {
202
216
  return null;
@@ -315,7 +329,7 @@ var DescriptionSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
315
329
  return c.value;
316
330
  }
317
331
  };
318
- DescriptionSerializer.prototype.p = function (a, b, c) {
332
+ DescriptionSerializer.prototype.q = function (a, b, c) {
319
333
  c.f("{");
320
334
  c.i();
321
335
  c.f("\"type\": \"" + b.h + "\"");
@@ -325,25 +339,25 @@ var DescriptionSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
325
339
  if (e >= 0) {
326
340
  c.f(",");
327
341
  }
328
- this.q(a, b, f, c);
342
+ this.r(a, b, f, c);
329
343
  }
330
344
  c.h();
331
345
  c.f("}");
332
346
  };
333
- DescriptionSerializer.prototype.n = function (a) {
347
+ DescriptionSerializer.prototype.o = function (a) {
334
348
  if (a == null) {
335
349
  return null;
336
350
  }
337
351
  return a.substr(0, 1).toLowerCase() + a.substr(1);
338
352
  };
339
- DescriptionSerializer.prototype.q = function (a, b, c, d) {
353
+ DescriptionSerializer.prototype.r = function (a, b, c, d) {
340
354
  if (c.c.toLowerCase() == "type") {
341
355
  return;
342
356
  }
343
- d.e("\"" + this.n(c.c) + "\": ");
344
- this.t(a, b, c, c.b, d);
357
+ d.e("\"" + this.o(c.c) + "\": ");
358
+ this.u(a, b, c, c.b, d);
345
359
  };
346
- DescriptionSerializer.prototype.t = function (a, b, c, d, e) {
360
+ DescriptionSerializer.prototype.u = function (a, b, c, d, e) {
347
361
  var f = 2;
348
362
  if (c.a != null) {
349
363
  f = c.a.knownType;
@@ -365,17 +379,17 @@ var DescriptionSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
365
379
  }
366
380
  var j = h;
367
381
  if (typeCast(DescriptionTreeNode.$, g[i]) !== null) {
368
- this.p(a, g[i], e);
382
+ this.q(a, g[i], e);
369
383
  }
370
384
  else {
371
- this.r(a, h, g[i], e);
385
+ this.s(a, h, g[i], e);
372
386
  }
373
387
  }
374
388
  e.e("]");
375
389
  }
376
390
  break;
377
391
  case 7:
378
- this.r(a, "Boolean", d, e);
392
+ this.s(a, "Boolean", d, e);
379
393
  break;
380
394
  case 9:
381
395
  {
@@ -388,10 +402,10 @@ var DescriptionSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
388
402
  }
389
403
  var n = l;
390
404
  if (typeCast(DescriptionTreeNode.$, k[m]) !== null) {
391
- this.p(a, k[m], e);
405
+ this.q(a, k[m], e);
392
406
  }
393
407
  else {
394
- this.r(a, l, k[m], e);
408
+ this.s(a, l, k[m], e);
395
409
  }
396
410
  }
397
411
  e.e("]");
@@ -403,29 +417,29 @@ var DescriptionSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
403
417
  case 20:
404
418
  case 5:
405
419
  case 2:
406
- this.r(a, "String", d, e);
420
+ this.s(a, "String", d, e);
407
421
  break;
408
422
  case 3:
409
- this.r(a, "DateTime", d, e);
423
+ this.s(a, "DateTime", d, e);
410
424
  break;
411
425
  case 8:
412
426
  if (c.a.specificExternalType.toLowerCase() == "string") {
413
- this.r(a, "String", d, e);
427
+ this.s(a, "String", d, e);
414
428
  }
415
429
  else {
416
- this.p(a, d, e);
430
+ this.q(a, d, e);
417
431
  }
418
432
  break;
419
433
  case 1:
420
- this.r(a, "Double", d, e);
434
+ this.s(a, "Double", d, e);
421
435
  break;
422
436
  case 14:
423
437
  case 12:
424
438
  case 11:
425
- this.p(a, d, e);
439
+ this.q(a, d, e);
426
440
  break;
427
441
  case 21:
428
- this.r(a, "TimeSpan", d, e);
442
+ this.s(a, "TimeSpan", d, e);
429
443
  break;
430
444
  case 17:
431
445
  case 0:
@@ -433,7 +447,7 @@ var DescriptionSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
433
447
  case 13: throw new NotImplementedException(0);
434
448
  }
435
449
  };
436
- DescriptionSerializer.prototype.r = function (a, b, c, d) {
450
+ DescriptionSerializer.prototype.s = function (a, b, c, d) {
437
451
  switch (b.toLowerCase()) {
438
452
  case "string":
439
453
  if (c == null) {
@@ -17,27 +17,27 @@ var DotNetCodeGeneratingComponentRendererModuleEmitter = /** @class */ /*@__PURE
17
17
  __extends(DotNetCodeGeneratingComponentRendererModuleEmitter, _super);
18
18
  function DotNetCodeGeneratingComponentRendererModuleEmitter(a, b, c) {
19
19
  var _this = _super.call(this, b, c) || this;
20
- _this.o = 0;
21
- _this.r = 0;
22
- _this.p = false;
23
- _this.q = new Dictionary$2(String_$type, List$1.$.specialize(String_$type), 0);
24
- _this.o = a;
20
+ _this.p = 0;
21
+ _this.s = 0;
22
+ _this.q = false;
23
+ _this.r = new Dictionary$2(String_$type, List$1.$.specialize(String_$type), 0);
24
+ _this.p = a;
25
25
  return _this;
26
26
  }
27
- Object.defineProperty(DotNetCodeGeneratingComponentRendererModuleEmitter.prototype, "s", {
27
+ Object.defineProperty(DotNetCodeGeneratingComponentRendererModuleEmitter.prototype, "t", {
28
28
  get: function () {
29
- return this.r;
29
+ return this.s;
30
30
  },
31
31
  enumerable: false,
32
32
  configurable: true
33
33
  });
34
- DotNetCodeGeneratingComponentRendererModuleEmitter.prototype.n = function () {
35
- _super.prototype.n.call(this);
36
- this.r = 0;
34
+ DotNetCodeGeneratingComponentRendererModuleEmitter.prototype.o = function () {
35
+ _super.prototype.o.call(this);
36
+ this.s = 0;
37
37
  };
38
- Object.defineProperty(DotNetCodeGeneratingComponentRendererModuleEmitter.prototype, "t", {
38
+ Object.defineProperty(DotNetCodeGeneratingComponentRendererModuleEmitter.prototype, "u", {
39
39
  get: function () {
40
- switch (this.o) {
40
+ switch (this.p) {
41
41
  case 0: return "Xam";
42
42
  case 4: return "Ultra";
43
43
  case 5: return "Igb";
@@ -47,22 +47,24 @@ var DotNetCodeGeneratingComponentRendererModuleEmitter = /** @class */ /*@__PURE
47
47
  enumerable: false,
48
48
  configurable: true
49
49
  });
50
- DotNetCodeGeneratingComponentRendererModuleEmitter.prototype.k = function (a) {
51
- _super.prototype.k.call(this, a);
52
- if (a == "withDescriptions" && this.o != 5) {
53
- this.p = true;
50
+ DotNetCodeGeneratingComponentRendererModuleEmitter.prototype.l = function (a) {
51
+ _super.prototype.l.call(this, a);
52
+ if (a == "withDescriptions" && this.p != 5) {
53
+ this.q = true;
54
54
  return;
55
55
  }
56
56
  var b = "";
57
57
  var c = a.split('/');
58
58
  if (c.length == 1) {
59
59
  b = c[0];
60
+ this.j.addPackageRef(b);
60
61
  }
61
62
  else {
63
+ this.j.addPackageRef(c[0]);
62
64
  b = c[1];
63
65
  }
64
- if (this.p) {
65
- if (this.r == 0) {
66
+ if (this.q) {
67
+ if (this.s == 0) {
66
68
  this.c.k("private ComponentRenderer _componentRenderer = null;");
67
69
  this.c.k("public ComponentRenderer Renderer");
68
70
  this.c.k("{");
@@ -83,11 +85,11 @@ var DotNetCodeGeneratingComponentRendererModuleEmitter = /** @class */ /*@__PURE
83
85
  }
84
86
  this.c.k(d + ".Register(context);");
85
87
  }
86
- this.r++;
88
+ this.s++;
87
89
  };
88
- DotNetCodeGeneratingComponentRendererModuleEmitter.prototype.m = function () {
89
- _super.prototype.m.call(this);
90
- if (this.p) {
90
+ DotNetCodeGeneratingComponentRendererModuleEmitter.prototype.n = function () {
91
+ _super.prototype.n.call(this);
92
+ if (this.q) {
91
93
  this.g.addUsing("using Infragistics.Controls.Description;");
92
94
  this.c.f();
93
95
  this.c.k("}");