igniteui-angular-core 13.2.0 → 14.1.1

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 (81) hide show
  1. package/bundles/igniteui-angular-core.umd.js +1513 -1158
  2. package/bundles/igniteui-angular-core.umd.min.js +1 -1
  3. package/esm2015/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
  4. package/esm2015/lib/CanvasViewRenderer.js +1 -1
  5. package/esm2015/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +382 -314
  6. package/esm2015/lib/CodeGeneratingComponentRendererDataEmitter.js +2 -2
  7. package/esm2015/lib/CodeGeneratingComponentRendererHandlerEmitter.js +2 -2
  8. package/esm2015/lib/CodeGeneratingComponentRendererModuleEmitter.js +14 -11
  9. package/esm2015/lib/CodeGeneratingRendererResult.js +56 -44
  10. package/esm2015/lib/CodeGenerationFolderTemplate.js +41 -37
  11. package/esm2015/lib/CodeGenerationTransformer.js +19 -19
  12. package/esm2015/lib/ComponentRendererAdapter.js +3 -0
  13. package/esm2015/lib/ComponentRenderer_combined.js +178 -169
  14. package/esm2015/lib/DescriptionSerializer.js +72 -58
  15. package/esm2015/lib/DescriptionTreeAction.js +10 -9
  16. package/esm2015/lib/DescriptionTreeBuilder.js +4 -4
  17. package/esm2015/lib/DescriptionTreeNode.js +64 -36
  18. package/esm2015/lib/DescriptionTreeReconciler.js +156 -141
  19. package/esm2015/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
  20. package/esm2015/lib/IgcSliderBridge.js +38 -12
  21. package/esm2015/lib/NativeUIInputsFactory.js +1 -0
  22. package/esm2015/lib/NativeUISlider.js +24 -10
  23. package/esm2015/lib/StackedFragmentSeriesDescription.js +121 -121
  24. package/esm2015/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
  25. package/esm2015/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
  26. package/esm2015/lib/TypeDescriptionPropretyTransforms.js +49 -25
  27. package/esm2015/lib/WebTreeSelectionOptionsEventArgsDescription.js +3 -3
  28. package/esm2015/lib/WebTreeSelectionOptionsEventArgsDescriptionMetadata.js +3 -1
  29. package/esm2015/lib/WebTreeSelectionOptionsEventDetailDescription.js +36 -0
  30. package/esm2015/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.js +38 -0
  31. package/esm2015/lib/componentUtil.js +4 -1
  32. package/esm2015/public_api.js +2 -0
  33. package/esm5/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
  34. package/esm5/lib/CanvasViewRenderer.js +1 -1
  35. package/esm5/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +449 -363
  36. package/esm5/lib/CodeGeneratingComponentRendererDataEmitter.js +2 -2
  37. package/esm5/lib/CodeGeneratingComponentRendererHandlerEmitter.js +2 -2
  38. package/esm5/lib/CodeGeneratingComponentRendererModuleEmitter.js +18 -11
  39. package/esm5/lib/CodeGeneratingRendererResult.js +95 -66
  40. package/esm5/lib/CodeGenerationFolderTemplate.js +40 -36
  41. package/esm5/lib/CodeGenerationTransformer.js +19 -19
  42. package/esm5/lib/ComponentRendererAdapter.js +3 -0
  43. package/esm5/lib/ComponentRenderer_combined.js +184 -175
  44. package/esm5/lib/DescriptionSerializer.js +72 -58
  45. package/esm5/lib/DescriptionTreeAction.js +10 -9
  46. package/esm5/lib/DescriptionTreeBuilder.js +4 -4
  47. package/esm5/lib/DescriptionTreeNode.js +64 -36
  48. package/esm5/lib/DescriptionTreeReconciler.js +156 -141
  49. package/esm5/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
  50. package/esm5/lib/IgcSliderBridge.js +38 -12
  51. package/esm5/lib/NativeUIInputsFactory.js +1 -0
  52. package/esm5/lib/NativeUISlider.js +23 -5
  53. package/esm5/lib/StackedFragmentSeriesDescription.js +120 -120
  54. package/esm5/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
  55. package/esm5/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
  56. package/esm5/lib/TypeDescriptionPropretyTransforms.js +49 -25
  57. package/esm5/lib/WebTreeSelectionOptionsEventArgsDescription.js +2 -2
  58. package/esm5/lib/WebTreeSelectionOptionsEventArgsDescriptionMetadata.js +3 -1
  59. package/esm5/lib/WebTreeSelectionOptionsEventDetailDescription.js +46 -0
  60. package/esm5/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.js +42 -0
  61. package/esm5/lib/componentUtil.js +4 -1
  62. package/esm5/public_api.js +2 -0
  63. package/fesm2015/igniteui-angular-core.js +1385 -1085
  64. package/fesm5/igniteui-angular-core.js +1512 -1159
  65. package/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.d.ts +3 -3
  66. package/lib/CodeGeneratingComponentRendererCodeEmitter_combined.d.ts +120 -114
  67. package/lib/CodeGeneratingComponentRendererModuleEmitter.d.ts +6 -5
  68. package/lib/CodeGeneratingRendererResult.d.ts +15 -12
  69. package/lib/DescriptionSerializer.d.ts +7 -6
  70. package/lib/DescriptionTreeAction.d.ts +6 -5
  71. package/lib/DescriptionTreeNode.d.ts +13 -12
  72. package/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
  73. package/lib/IgcSliderBridge.d.ts +7 -3
  74. package/lib/NativeUISlider.d.ts +9 -6
  75. package/lib/StackedFragmentSeriesDescription.d.ts +46 -46
  76. package/lib/TSCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
  77. package/lib/WebTreeSelectionOptionsEventArgsDescription.d.ts +3 -3
  78. package/lib/WebTreeSelectionOptionsEventDetailDescription.d.ts +17 -0
  79. package/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.d.ts +13 -0
  80. package/package.json +4 -4
  81. package/public_api.d.ts +2 -0
@@ -34,14 +34,14 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
34
34
  this.i = null;
35
35
  this.e = false;
36
36
  }
37
- o(a, b) {
37
+ p(a, b) {
38
38
  let c = DescriptionTreeBuilder.createTree(a, b);
39
39
  let d = new DescriptionSerializerBuilder();
40
- this.p(a, c, d);
40
+ this.q(a, c, d);
41
41
  return d.toString();
42
42
  }
43
- s(a, b, c) {
44
- this.p(a, b, c);
43
+ t(a, b, c) {
44
+ this.q(a, b, c);
45
45
  }
46
46
  c(a, b) {
47
47
  let c = new JsonDictionaryParser();
@@ -66,7 +66,7 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
66
66
  this.e = false;
67
67
  return g;
68
68
  }
69
- u(a, b, c, d, e) {
69
+ v(a, b, c, d, e) {
70
70
  if (this.g) {
71
71
  a.w(b, c, d, e);
72
72
  }
@@ -127,14 +127,14 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
127
127
  break;
128
128
  }
129
129
  if (!this.e) {
130
- this.u(a, h, k, l, q);
130
+ this.v(a, h, k, l, q);
131
131
  }
132
132
  }
133
133
  else if (typeCast(JsonDictionaryObject.$, p) !== null) {
134
134
  let r = p;
135
135
  let s = this.b(a, r, l.knownType);
136
136
  f.e(s);
137
- this.u(a, h, k, l, s.result);
137
+ this.v(a, h, k, l, s.result);
138
138
  }
139
139
  else if (typeCast(JsonDictionaryArray.$, p) !== null) {
140
140
  let t = p;
@@ -148,50 +148,64 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
148
148
  u = l.collectionElementType;
149
149
  }
150
150
  let w = this.a(f, a, t, u);
151
+ if (this.f) {
152
+ if (l.propertyName.toLowerCase() == "includedproperties" || l.propertyName.toLowerCase() == "excludedproperties") {
153
+ let x = w;
154
+ let y = new Array(x.length);
155
+ for (let z = 0; z < x.length; z++) {
156
+ y[z] = this.n(x[z]);
157
+ }
158
+ w = y;
159
+ }
160
+ }
151
161
  if (!this.e || v) {
152
- this.u(a, h, k, l, w);
162
+ this.v(a, h, k, l, w);
153
163
  }
154
164
  }
155
165
  else {
156
- let x = l.specificExternalType;
157
- if (x == null && l.knownType == 3) {
158
- x = "DateTime";
166
+ let aa = l.specificExternalType;
167
+ if (aa == null && l.knownType == 3) {
168
+ aa = "DateTime";
159
169
  }
160
- if (x == null) {
161
- x = "String";
170
+ if (aa == null) {
171
+ aa = "String";
162
172
  }
163
- let y = p;
164
- let z = this.j(f, a, y, x);
173
+ let ab = p;
174
+ let ac = this.j(f, a, ab, aa);
165
175
  if (this.f) {
166
- if (stringEndsWith(l.propertyName, "MemberPath") || (g != null && stringEndsWith(g, "Axis") && l.propertyName.toLowerCase() == "label")) {
167
- let aa = z.toString();
168
- if (this.i != null) {
169
- z = this.i(aa);
170
- }
171
- else {
172
- if (stringStartsWith(aa, "{")) {
173
- if (!stringStartsWith(aa, "{[")) {
174
- aa = aa.substr(1, aa.length - 2);
175
- aa = "{[" + aa + "]}";
176
- z = aa;
177
- }
178
- }
179
- else {
180
- if (!stringStartsWith(aa, "[")) {
181
- aa = "[" + aa + "]";
182
- z = aa;
183
- }
184
- }
185
- }
176
+ if (stringEndsWith(l.propertyName, "MemberPath") || stringEndsWith(l.propertyName.toLowerCase(), "field") || (g != null && stringEndsWith(g, "Axis") && l.propertyName.toLowerCase() == "label")) {
177
+ ac = this.n(ac);
186
178
  }
187
179
  }
188
180
  if (!this.e) {
189
- this.u(a, h, k, l, z);
181
+ this.v(a, h, k, l, ac);
190
182
  }
191
183
  }
192
184
  }
193
185
  return f;
194
186
  }
187
+ n(a) {
188
+ let b = a.toString();
189
+ if (this.i != null) {
190
+ a = this.i(b);
191
+ }
192
+ else {
193
+ if (stringStartsWith(b, "{")) {
194
+ if (!stringStartsWith(b, "{[")) {
195
+ b = b.substr(1, b.length - 2);
196
+ b = "{[" + b + "]}";
197
+ a = b;
198
+ }
199
+ }
200
+ else {
201
+ if (!stringStartsWith(b, "[")) {
202
+ b = "[" + b + "]";
203
+ a = b;
204
+ }
205
+ }
206
+ }
207
+ return a;
208
+ }
195
209
  k(a, b) {
196
210
  if (b == null) {
197
211
  return null;
@@ -310,35 +324,35 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
310
324
  return c.value;
311
325
  }
312
326
  }
313
- p(a, b, c) {
327
+ q(a, b, c) {
314
328
  c.f("{");
315
329
  c.i();
316
- c.f("\"type\": \"" + b.h + "\"");
317
- let d = b.e();
330
+ c.f("\"type\": \"" + b.i + "\"");
331
+ let d = b.f();
318
332
  for (let e = 0; e < d.count; e++) {
319
333
  let f = d._inner[e];
320
334
  if (e >= 0) {
321
335
  c.f(",");
322
336
  }
323
- this.q(a, b, f, c);
337
+ this.r(a, b, f, c);
324
338
  }
325
339
  c.h();
326
340
  c.f("}");
327
341
  }
328
- n(a) {
342
+ o(a) {
329
343
  if (a == null) {
330
344
  return null;
331
345
  }
332
346
  return a.substr(0, 1).toLowerCase() + a.substr(1);
333
347
  }
334
- q(a, b, c, d) {
348
+ r(a, b, c, d) {
335
349
  if (c.c.toLowerCase() == "type") {
336
350
  return;
337
351
  }
338
- d.e("\"" + this.n(c.c) + "\": ");
339
- this.t(a, b, c, c.b, d);
352
+ d.e("\"" + this.o(c.c) + "\": ");
353
+ this.u(a, b, c, c.b, d);
340
354
  }
341
- t(a, b, c, d, e) {
355
+ u(a, b, c, d, e) {
342
356
  let f = 2;
343
357
  if (c.a != null) {
344
358
  f = c.a.knownType;
@@ -360,17 +374,17 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
360
374
  }
361
375
  let j = h;
362
376
  if (typeCast(DescriptionTreeNode.$, g[i]) !== null) {
363
- this.p(a, g[i], e);
377
+ this.q(a, g[i], e);
364
378
  }
365
379
  else {
366
- this.r(a, h, g[i], e);
380
+ this.s(a, h, g[i], e);
367
381
  }
368
382
  }
369
383
  e.e("]");
370
384
  }
371
385
  break;
372
386
  case 7:
373
- this.r(a, "Boolean", d, e);
387
+ this.s(a, "Boolean", d, e);
374
388
  break;
375
389
  case 9:
376
390
  {
@@ -383,10 +397,10 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
383
397
  }
384
398
  let n = l;
385
399
  if (typeCast(DescriptionTreeNode.$, k[m]) !== null) {
386
- this.p(a, k[m], e);
400
+ this.q(a, k[m], e);
387
401
  }
388
402
  else {
389
- this.r(a, l, k[m], e);
403
+ this.s(a, l, k[m], e);
390
404
  }
391
405
  }
392
406
  e.e("]");
@@ -398,29 +412,29 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
398
412
  case 20:
399
413
  case 5:
400
414
  case 2:
401
- this.r(a, "String", d, e);
415
+ this.s(a, "String", d, e);
402
416
  break;
403
417
  case 3:
404
- this.r(a, "DateTime", d, e);
418
+ this.s(a, "DateTime", d, e);
405
419
  break;
406
420
  case 8:
407
421
  if (c.a.specificExternalType.toLowerCase() == "string") {
408
- this.r(a, "String", d, e);
422
+ this.s(a, "String", d, e);
409
423
  }
410
424
  else {
411
- this.p(a, d, e);
425
+ this.q(a, d, e);
412
426
  }
413
427
  break;
414
428
  case 1:
415
- this.r(a, "Double", d, e);
429
+ this.s(a, "Double", d, e);
416
430
  break;
417
431
  case 14:
418
432
  case 12:
419
433
  case 11:
420
- this.p(a, d, e);
434
+ this.q(a, d, e);
421
435
  break;
422
436
  case 21:
423
- this.r(a, "TimeSpan", d, e);
437
+ this.s(a, "TimeSpan", d, e);
424
438
  break;
425
439
  case 17:
426
440
  case 0:
@@ -428,7 +442,7 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
428
442
  case 13: throw new NotImplementedException(0);
429
443
  }
430
444
  }
431
- r(a, b, c, d) {
445
+ s(a, b, c, d) {
432
446
  switch (b.toLowerCase()) {
433
447
  case "string":
434
448
  if (c == null) {
@@ -15,22 +15,23 @@ export let DescriptionTreeAction = /*@__PURE__*/ (() => {
15
15
  constructor() {
16
16
  super(...arguments);
17
17
  this.a = 0;
18
- this.b = null;
19
18
  this.c = null;
20
- this.i = null;
19
+ this.b = null;
20
+ this.d = null;
21
+ this.j = null;
22
+ this.h = null;
21
23
  this.g = null;
22
- this.f = null;
24
+ this.f = 0;
23
25
  this.e = 0;
24
- this.d = 0;
25
26
  }
26
- h(a) {
27
- let b = this.i;
28
- if (this.c != null) {
29
- b = this.c.g(a);
27
+ i(a) {
28
+ let b = this.j;
29
+ if (this.d != null) {
30
+ b = this.d.g(a);
30
31
  }
31
32
  else {
32
33
  if (TypeDescriptionMetadata.shouldCamelize(a)) {
33
- b = TypeDescriptionMetadata.camelize(this.i);
34
+ b = TypeDescriptionMetadata.camelize(this.j);
34
35
  }
35
36
  }
36
37
  if (stringEndsWith(b, "Ref")) {
@@ -68,13 +68,13 @@ export let DescriptionTreeBuilder = /*@__PURE__*/ (() => {
68
68
  e = h;
69
69
  }
70
70
  if (key_.toLowerCase() == "type") {
71
- b.h = e;
71
+ b.i = e;
72
72
  }
73
- b.i(DescriptionTreeBuilder.c(key_), e);
73
+ b.j(DescriptionTreeBuilder.c(key_), e);
74
74
  }
75
- if (b.b("type")) {
75
+ if (b.c("type")) {
76
76
  let l = b.a("type").b;
77
- let m = b.e();
77
+ let m = b.f();
78
78
  for (let n = 0; n < m.count; n++) {
79
79
  let o = m._inner[n];
80
80
  o.a = a.getMetadata(l, o.c);
@@ -4,7 +4,7 @@ https://www.infragistics.com/legal/license/igultimate-la
4
4
  https://www.infragistics.com/legal/license/igultimate-eula
5
5
  GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
6
  */
7
- import { Base, String_$type, markType } from "./type";
7
+ import { Base, typeCast, Array_$type, String_$type, markType } from "./type";
8
8
  import { List$1 } from "./List$1";
9
9
  import { DescriptionPropertyValue } from "./DescriptionPropertyValue";
10
10
  import { Dictionary$2 } from "./Dictionary$2";
@@ -15,71 +15,99 @@ export let DescriptionTreeNode = /*@__PURE__*/ (() => {
15
15
  class DescriptionTreeNode extends Base {
16
16
  constructor() {
17
17
  super();
18
- this.f = 0;
19
- this.d = new List$1(DescriptionPropertyValue.$, 0);
20
- this.c = new Dictionary$2(String_$type, DescriptionPropertyValue.$, 0);
21
- this.h = null;
22
- this.f = DescriptionTreeNode.g;
23
- DescriptionTreeNode.g++;
24
- if (DescriptionTreeNode.g >= 0x7FFFFFFFFFFFFFFF) {
25
- DescriptionTreeNode.g = 0;
18
+ this.g = 0;
19
+ this.e = new List$1(DescriptionPropertyValue.$, 0);
20
+ this.d = new Dictionary$2(String_$type, DescriptionPropertyValue.$, 0);
21
+ this.i = null;
22
+ this.g = DescriptionTreeNode.h;
23
+ DescriptionTreeNode.h++;
24
+ if (DescriptionTreeNode.h >= 0x7FFFFFFFFFFFFFFF) {
25
+ DescriptionTreeNode.h = 0;
26
26
  }
27
27
  }
28
- i(a, b) {
28
+ b() {
29
+ let a = new DescriptionTreeNode();
30
+ a.g = this.g;
31
+ a.i = this.i;
32
+ for (let b = 0; b < this.e.count; b++) {
33
+ let c = this.e._inner[b].c;
34
+ let d = this.e._inner[b].a;
35
+ let e = this.e._inner[b].b;
36
+ if (typeCast(DescriptionTreeNode.$, e) !== null) {
37
+ e = e.b();
38
+ }
39
+ if (typeCast(Array_$type, e) !== null) {
40
+ let f = e;
41
+ let g = new Array(f.length);
42
+ for (let h = 0; h < f.length; h++) {
43
+ if (typeCast(DescriptionTreeNode.$, f[h]) !== null) {
44
+ g[h] = f[h].b();
45
+ }
46
+ else {
47
+ g[h] = f[h];
48
+ }
49
+ }
50
+ e = g;
51
+ }
52
+ a.k(c, e, d);
53
+ }
54
+ return a;
55
+ }
56
+ j(a, b) {
29
57
  let c = new DescriptionPropertyValue();
30
58
  c.c = a;
31
59
  c.b = b;
32
- this.c.addItem(a.toLowerCase(), c);
33
- this.d.add(c);
60
+ this.d.addItem(a.toLowerCase(), c);
61
+ this.e.add(c);
34
62
  }
35
- j(a, b, c) {
63
+ k(a, b, c) {
36
64
  let d = new DescriptionPropertyValue();
37
65
  d.c = a;
38
66
  d.b = b;
39
67
  d.a = c;
40
- this.c.addItem(a.toLowerCase(), d);
41
- this.d.add(d);
68
+ this.d.addItem(a.toLowerCase(), d);
69
+ this.e.add(d);
42
70
  }
43
- m(a, b) {
44
- if (this.c.containsKey(a.toLowerCase())) {
45
- let c = this.c.item(a.toLowerCase());
71
+ n(a, b) {
72
+ if (this.d.containsKey(a.toLowerCase())) {
73
+ let c = this.d.item(a.toLowerCase());
46
74
  c.b = b;
47
75
  }
48
76
  else {
49
- this.i(a, b);
77
+ this.j(a, b);
50
78
  }
51
79
  }
52
- n(a, b, c) {
53
- if (this.c.containsKey(a.toLowerCase())) {
54
- let d = this.c.item(a.toLowerCase());
80
+ o(a, b, c) {
81
+ if (this.d.containsKey(a.toLowerCase())) {
82
+ let d = this.d.item(a.toLowerCase());
55
83
  d.b = b;
56
84
  }
57
85
  else {
58
- this.j(a, b, c);
86
+ this.k(a, b, c);
59
87
  }
60
88
  }
61
89
  a(a) {
62
- return this.c.item(a.toLowerCase());
90
+ return this.d.item(a.toLowerCase());
63
91
  }
64
- b(a) {
65
- return this.c.containsKey(a.toLowerCase());
92
+ c(a) {
93
+ return this.d.containsKey(a.toLowerCase());
66
94
  }
67
- l(a) {
68
- if (this.c.containsKey(a.toLowerCase())) {
69
- let b = this.c.item(a.toLowerCase());
70
- this.c.removeItem(a.toLowerCase());
71
- this.d.remove(b);
95
+ m(a) {
96
+ if (this.d.containsKey(a.toLowerCase())) {
97
+ let b = this.d.item(a.toLowerCase());
98
+ this.d.removeItem(a.toLowerCase());
99
+ this.e.remove(b);
72
100
  }
73
101
  }
74
- k() {
75
- this.c.clear();
102
+ l() {
76
103
  this.d.clear();
104
+ this.e.clear();
77
105
  }
78
- e() {
79
- return this.d;
106
+ f() {
107
+ return this.e;
80
108
  }
81
109
  }
82
110
  DescriptionTreeNode.$t = markType(DescriptionTreeNode, 'DescriptionTreeNode');
83
- DescriptionTreeNode.g = 0;
111
+ DescriptionTreeNode.h = 0;
84
112
  return DescriptionTreeNode;
85
113
  })();