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.
- package/bundles/igniteui-angular-core.umd.js +960 -730
- package/bundles/igniteui-angular-core.umd.min.js +1 -1
- package/esm2015/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
- package/esm2015/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +382 -314
- package/esm2015/lib/CodeGeneratingComponentRendererDataEmitter.js +2 -2
- package/esm2015/lib/CodeGeneratingComponentRendererHandlerEmitter.js +2 -2
- package/esm2015/lib/CodeGeneratingComponentRendererModuleEmitter.js +14 -11
- package/esm2015/lib/CodeGeneratingRendererResult.js +56 -44
- package/esm2015/lib/CodeGenerationFolderTemplate.js +41 -37
- package/esm2015/lib/ComponentRendererAdapter.js +3 -0
- package/esm2015/lib/ComponentRenderer_combined.js +1 -1
- package/esm2015/lib/DescriptionSerializer.js +70 -56
- package/esm2015/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
- package/esm2015/lib/StackedFragmentSeriesDescription.js +121 -121
- package/esm2015/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
- package/esm2015/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
- package/esm2015/lib/WebTreeSelectionOptionsEventArgsDescription.js +3 -3
- package/esm2015/lib/WebTreeSelectionOptionsEventArgsDescriptionMetadata.js +3 -1
- package/esm2015/lib/WebTreeSelectionOptionsEventDetailDescription.js +36 -0
- package/esm2015/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.js +38 -0
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
- package/esm5/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +449 -363
- package/esm5/lib/CodeGeneratingComponentRendererDataEmitter.js +2 -2
- package/esm5/lib/CodeGeneratingComponentRendererHandlerEmitter.js +2 -2
- package/esm5/lib/CodeGeneratingComponentRendererModuleEmitter.js +18 -11
- package/esm5/lib/CodeGeneratingRendererResult.js +95 -66
- package/esm5/lib/CodeGenerationFolderTemplate.js +40 -36
- package/esm5/lib/ComponentRendererAdapter.js +3 -0
- package/esm5/lib/ComponentRenderer_combined.js +1 -1
- package/esm5/lib/DescriptionSerializer.js +70 -56
- package/esm5/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
- package/esm5/lib/StackedFragmentSeriesDescription.js +120 -120
- package/esm5/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
- package/esm5/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
- package/esm5/lib/WebTreeSelectionOptionsEventArgsDescription.js +2 -2
- package/esm5/lib/WebTreeSelectionOptionsEventArgsDescriptionMetadata.js +3 -1
- package/esm5/lib/WebTreeSelectionOptionsEventDetailDescription.js +46 -0
- package/esm5/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.js +42 -0
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-angular-core.js +837 -658
- package/fesm5/igniteui-angular-core.js +959 -731
- package/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.d.ts +3 -3
- package/lib/CodeGeneratingComponentRendererCodeEmitter_combined.d.ts +120 -114
- package/lib/CodeGeneratingComponentRendererModuleEmitter.d.ts +6 -5
- package/lib/CodeGeneratingRendererResult.d.ts +15 -12
- package/lib/DescriptionSerializer.d.ts +7 -6
- package/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
- package/lib/StackedFragmentSeriesDescription.d.ts +46 -46
- package/lib/TSCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
- package/lib/WebTreeSelectionOptionsEventArgsDescription.d.ts +3 -3
- package/lib/WebTreeSelectionOptionsEventDetailDescription.d.ts +17 -0
- package/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.d.ts +13 -0
- package/package.json +1 -1
- 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.
|
|
39
|
+
DescriptionSerializer.prototype.p = function (a, b) {
|
|
40
40
|
var c = DescriptionTreeBuilder.createTree(a, b);
|
|
41
41
|
var d = new DescriptionSerializerBuilder();
|
|
42
|
-
this.
|
|
42
|
+
this.q(a, c, d);
|
|
43
43
|
return d.toString();
|
|
44
44
|
};
|
|
45
|
-
DescriptionSerializer.prototype.
|
|
46
|
-
this.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
167
|
+
this.v(a, h, k, l, w);
|
|
158
168
|
}
|
|
159
169
|
}
|
|
160
170
|
else {
|
|
161
|
-
var
|
|
162
|
-
if (
|
|
163
|
-
|
|
171
|
+
var aa = l.specificExternalType;
|
|
172
|
+
if (aa == null && l.knownType == 3) {
|
|
173
|
+
aa = "DateTime";
|
|
164
174
|
}
|
|
165
|
-
if (
|
|
166
|
-
|
|
175
|
+
if (aa == null) {
|
|
176
|
+
aa = "String";
|
|
167
177
|
}
|
|
168
|
-
var
|
|
169
|
-
var
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
342
|
+
this.r(a, b, f, c);
|
|
329
343
|
}
|
|
330
344
|
c.h();
|
|
331
345
|
c.f("}");
|
|
332
346
|
};
|
|
333
|
-
DescriptionSerializer.prototype.
|
|
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.
|
|
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.
|
|
344
|
-
this.
|
|
357
|
+
d.e("\"" + this.o(c.c) + "\": ");
|
|
358
|
+
this.u(a, b, c, c.b, d);
|
|
345
359
|
};
|
|
346
|
-
DescriptionSerializer.prototype.
|
|
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.
|
|
382
|
+
this.q(a, g[i], e);
|
|
369
383
|
}
|
|
370
384
|
else {
|
|
371
|
-
this.
|
|
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.
|
|
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.
|
|
405
|
+
this.q(a, k[m], e);
|
|
392
406
|
}
|
|
393
407
|
else {
|
|
394
|
-
this.
|
|
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.
|
|
420
|
+
this.s(a, "String", d, e);
|
|
407
421
|
break;
|
|
408
422
|
case 3:
|
|
409
|
-
this.
|
|
423
|
+
this.s(a, "DateTime", d, e);
|
|
410
424
|
break;
|
|
411
425
|
case 8:
|
|
412
426
|
if (c.a.specificExternalType.toLowerCase() == "string") {
|
|
413
|
-
this.
|
|
427
|
+
this.s(a, "String", d, e);
|
|
414
428
|
}
|
|
415
429
|
else {
|
|
416
|
-
this.
|
|
430
|
+
this.q(a, d, e);
|
|
417
431
|
}
|
|
418
432
|
break;
|
|
419
433
|
case 1:
|
|
420
|
-
this.
|
|
434
|
+
this.s(a, "Double", d, e);
|
|
421
435
|
break;
|
|
422
436
|
case 14:
|
|
423
437
|
case 12:
|
|
424
438
|
case 11:
|
|
425
|
-
this.
|
|
439
|
+
this.q(a, d, e);
|
|
426
440
|
break;
|
|
427
441
|
case 21:
|
|
428
|
-
this.
|
|
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.
|
|
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.
|
|
21
|
-
_this.
|
|
22
|
-
_this.
|
|
23
|
-
_this.
|
|
24
|
-
_this.
|
|
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, "
|
|
27
|
+
Object.defineProperty(DotNetCodeGeneratingComponentRendererModuleEmitter.prototype, "t", {
|
|
28
28
|
get: function () {
|
|
29
|
-
return this.
|
|
29
|
+
return this.s;
|
|
30
30
|
},
|
|
31
31
|
enumerable: false,
|
|
32
32
|
configurable: true
|
|
33
33
|
});
|
|
34
|
-
DotNetCodeGeneratingComponentRendererModuleEmitter.prototype.
|
|
35
|
-
_super.prototype.
|
|
36
|
-
this.
|
|
34
|
+
DotNetCodeGeneratingComponentRendererModuleEmitter.prototype.o = function () {
|
|
35
|
+
_super.prototype.o.call(this);
|
|
36
|
+
this.s = 0;
|
|
37
37
|
};
|
|
38
|
-
Object.defineProperty(DotNetCodeGeneratingComponentRendererModuleEmitter.prototype, "
|
|
38
|
+
Object.defineProperty(DotNetCodeGeneratingComponentRendererModuleEmitter.prototype, "u", {
|
|
39
39
|
get: function () {
|
|
40
|
-
switch (this.
|
|
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.
|
|
51
|
-
_super.prototype.
|
|
52
|
-
if (a == "withDescriptions" && this.
|
|
53
|
-
this.
|
|
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.
|
|
65
|
-
if (this.
|
|
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.
|
|
88
|
+
this.s++;
|
|
87
89
|
};
|
|
88
|
-
DotNetCodeGeneratingComponentRendererModuleEmitter.prototype.
|
|
89
|
-
_super.prototype.
|
|
90
|
-
if (this.
|
|
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("}");
|