igniteui-angular-core 14.1.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.
- package/bundles/igniteui-angular-core.umd.js +491 -411
- package/bundles/igniteui-angular-core.umd.min.js +1 -1
- package/esm2015/lib/CanvasViewRenderer.js +1 -1
- package/esm2015/lib/CodeGenerationTransformer.js +19 -19
- package/esm2015/lib/ComponentRenderer_combined.js +177 -168
- package/esm2015/lib/DescriptionSerializer.js +2 -2
- package/esm2015/lib/DescriptionTreeAction.js +10 -9
- package/esm2015/lib/DescriptionTreeBuilder.js +4 -4
- package/esm2015/lib/DescriptionTreeNode.js +64 -36
- package/esm2015/lib/DescriptionTreeReconciler.js +156 -141
- package/esm2015/lib/TypeDescriptionPropretyTransforms.js +49 -25
- package/esm2015/lib/componentUtil.js +4 -1
- package/esm5/lib/CanvasViewRenderer.js +1 -1
- package/esm5/lib/CodeGenerationTransformer.js +19 -19
- package/esm5/lib/ComponentRenderer_combined.js +183 -174
- package/esm5/lib/DescriptionSerializer.js +2 -2
- package/esm5/lib/DescriptionTreeAction.js +10 -9
- package/esm5/lib/DescriptionTreeBuilder.js +4 -4
- package/esm5/lib/DescriptionTreeNode.js +64 -36
- package/esm5/lib/DescriptionTreeReconciler.js +156 -141
- package/esm5/lib/TypeDescriptionPropretyTransforms.js +49 -25
- package/esm5/lib/componentUtil.js +4 -1
- package/fesm2015/igniteui-angular-core.js +485 -405
- package/fesm5/igniteui-angular-core.js +491 -411
- package/lib/DescriptionTreeAction.d.ts +6 -5
- package/lib/DescriptionTreeNode.d.ts +13 -12
- package/package.json +1 -1
|
@@ -332,8 +332,8 @@ var DescriptionSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
332
332
|
DescriptionSerializer.prototype.q = function (a, b, c) {
|
|
333
333
|
c.f("{");
|
|
334
334
|
c.i();
|
|
335
|
-
c.f("\"type\": \"" + b.
|
|
336
|
-
var d = b.
|
|
335
|
+
c.f("\"type\": \"" + b.i + "\"");
|
|
336
|
+
var d = b.f();
|
|
337
337
|
for (var e = 0; e < d.count; e++) {
|
|
338
338
|
var f = d._inner[e];
|
|
339
339
|
if (e >= 0) {
|
|
@@ -16,23 +16,24 @@ var DescriptionTreeAction = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
16
16
|
function DescriptionTreeAction() {
|
|
17
17
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
18
18
|
_this.a = 0;
|
|
19
|
-
_this.b = null;
|
|
20
19
|
_this.c = null;
|
|
21
|
-
_this.
|
|
20
|
+
_this.b = null;
|
|
21
|
+
_this.d = null;
|
|
22
|
+
_this.j = null;
|
|
23
|
+
_this.h = null;
|
|
22
24
|
_this.g = null;
|
|
23
|
-
_this.f =
|
|
25
|
+
_this.f = 0;
|
|
24
26
|
_this.e = 0;
|
|
25
|
-
_this.d = 0;
|
|
26
27
|
return _this;
|
|
27
28
|
}
|
|
28
|
-
DescriptionTreeAction.prototype.
|
|
29
|
-
var b = this.
|
|
30
|
-
if (this.
|
|
31
|
-
b = this.
|
|
29
|
+
DescriptionTreeAction.prototype.i = function (a) {
|
|
30
|
+
var b = this.j;
|
|
31
|
+
if (this.d != null) {
|
|
32
|
+
b = this.d.g(a);
|
|
32
33
|
}
|
|
33
34
|
else {
|
|
34
35
|
if (TypeDescriptionMetadata.shouldCamelize(a)) {
|
|
35
|
-
b = TypeDescriptionMetadata.camelize(this.
|
|
36
|
+
b = TypeDescriptionMetadata.camelize(this.j);
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
if (stringEndsWith(b, "Ref")) {
|
|
@@ -72,13 +72,13 @@ var DescriptionTreeBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
72
72
|
e = h;
|
|
73
73
|
}
|
|
74
74
|
if (key_.toLowerCase() == "type") {
|
|
75
|
-
b.
|
|
75
|
+
b.i = e;
|
|
76
76
|
}
|
|
77
|
-
b.
|
|
77
|
+
b.j(DescriptionTreeBuilder.c(key_), e);
|
|
78
78
|
}
|
|
79
|
-
if (b.
|
|
79
|
+
if (b.c("type")) {
|
|
80
80
|
var l = b.a("type").b;
|
|
81
|
-
var m = b.
|
|
81
|
+
var m = b.f();
|
|
82
82
|
for (var n = 0; n < m.count; n++) {
|
|
83
83
|
var o = m._inner[n];
|
|
84
84
|
o.a = a.getMetadata(l, o.c);
|
|
@@ -5,7 +5,7 @@ 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
7
|
import { __extends } from "tslib";
|
|
8
|
-
import { Base, String_$type, markType } from "./type";
|
|
8
|
+
import { Base, typeCast, Array_$type, String_$type, markType } from "./type";
|
|
9
9
|
import { List$1 } from "./List$1";
|
|
10
10
|
import { DescriptionPropertyValue } from "./DescriptionPropertyValue";
|
|
11
11
|
import { Dictionary$2 } from "./Dictionary$2";
|
|
@@ -16,72 +16,100 @@ var DescriptionTreeNode = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
16
16
|
__extends(DescriptionTreeNode, _super);
|
|
17
17
|
function DescriptionTreeNode() {
|
|
18
18
|
var _this = _super.call(this) || this;
|
|
19
|
-
_this.
|
|
20
|
-
_this.
|
|
21
|
-
_this.
|
|
22
|
-
_this.
|
|
23
|
-
_this.
|
|
24
|
-
DescriptionTreeNode.
|
|
25
|
-
if (DescriptionTreeNode.
|
|
26
|
-
DescriptionTreeNode.
|
|
19
|
+
_this.g = 0;
|
|
20
|
+
_this.e = new List$1(DescriptionPropertyValue.$, 0);
|
|
21
|
+
_this.d = new Dictionary$2(String_$type, DescriptionPropertyValue.$, 0);
|
|
22
|
+
_this.i = null;
|
|
23
|
+
_this.g = DescriptionTreeNode.h;
|
|
24
|
+
DescriptionTreeNode.h++;
|
|
25
|
+
if (DescriptionTreeNode.h >= 0x7FFFFFFFFFFFFFFF) {
|
|
26
|
+
DescriptionTreeNode.h = 0;
|
|
27
27
|
}
|
|
28
28
|
return _this;
|
|
29
29
|
}
|
|
30
|
-
DescriptionTreeNode.prototype.
|
|
30
|
+
DescriptionTreeNode.prototype.b = function () {
|
|
31
|
+
var a = new DescriptionTreeNode();
|
|
32
|
+
a.g = this.g;
|
|
33
|
+
a.i = this.i;
|
|
34
|
+
for (var b = 0; b < this.e.count; b++) {
|
|
35
|
+
var c = this.e._inner[b].c;
|
|
36
|
+
var d = this.e._inner[b].a;
|
|
37
|
+
var e = this.e._inner[b].b;
|
|
38
|
+
if (typeCast(DescriptionTreeNode.$, e) !== null) {
|
|
39
|
+
e = e.b();
|
|
40
|
+
}
|
|
41
|
+
if (typeCast(Array_$type, e) !== null) {
|
|
42
|
+
var f = e;
|
|
43
|
+
var g = new Array(f.length);
|
|
44
|
+
for (var h = 0; h < f.length; h++) {
|
|
45
|
+
if (typeCast(DescriptionTreeNode.$, f[h]) !== null) {
|
|
46
|
+
g[h] = f[h].b();
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
g[h] = f[h];
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
e = g;
|
|
53
|
+
}
|
|
54
|
+
a.k(c, e, d);
|
|
55
|
+
}
|
|
56
|
+
return a;
|
|
57
|
+
};
|
|
58
|
+
DescriptionTreeNode.prototype.j = function (a, b) {
|
|
31
59
|
var c = new DescriptionPropertyValue();
|
|
32
60
|
c.c = a;
|
|
33
61
|
c.b = b;
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
62
|
+
this.d.addItem(a.toLowerCase(), c);
|
|
63
|
+
this.e.add(c);
|
|
36
64
|
};
|
|
37
|
-
DescriptionTreeNode.prototype.
|
|
65
|
+
DescriptionTreeNode.prototype.k = function (a, b, c) {
|
|
38
66
|
var d = new DescriptionPropertyValue();
|
|
39
67
|
d.c = a;
|
|
40
68
|
d.b = b;
|
|
41
69
|
d.a = c;
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
70
|
+
this.d.addItem(a.toLowerCase(), d);
|
|
71
|
+
this.e.add(d);
|
|
44
72
|
};
|
|
45
|
-
DescriptionTreeNode.prototype.
|
|
46
|
-
if (this.
|
|
47
|
-
var c = this.
|
|
73
|
+
DescriptionTreeNode.prototype.n = function (a, b) {
|
|
74
|
+
if (this.d.containsKey(a.toLowerCase())) {
|
|
75
|
+
var c = this.d.item(a.toLowerCase());
|
|
48
76
|
c.b = b;
|
|
49
77
|
}
|
|
50
78
|
else {
|
|
51
|
-
this.
|
|
79
|
+
this.j(a, b);
|
|
52
80
|
}
|
|
53
81
|
};
|
|
54
|
-
DescriptionTreeNode.prototype.
|
|
55
|
-
if (this.
|
|
56
|
-
var d = this.
|
|
82
|
+
DescriptionTreeNode.prototype.o = function (a, b, c) {
|
|
83
|
+
if (this.d.containsKey(a.toLowerCase())) {
|
|
84
|
+
var d = this.d.item(a.toLowerCase());
|
|
57
85
|
d.b = b;
|
|
58
86
|
}
|
|
59
87
|
else {
|
|
60
|
-
this.
|
|
88
|
+
this.k(a, b, c);
|
|
61
89
|
}
|
|
62
90
|
};
|
|
63
91
|
DescriptionTreeNode.prototype.a = function (a) {
|
|
64
|
-
return this.
|
|
92
|
+
return this.d.item(a.toLowerCase());
|
|
65
93
|
};
|
|
66
|
-
DescriptionTreeNode.prototype.
|
|
67
|
-
return this.
|
|
94
|
+
DescriptionTreeNode.prototype.c = function (a) {
|
|
95
|
+
return this.d.containsKey(a.toLowerCase());
|
|
68
96
|
};
|
|
69
|
-
DescriptionTreeNode.prototype.
|
|
70
|
-
if (this.
|
|
71
|
-
var b = this.
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
97
|
+
DescriptionTreeNode.prototype.m = function (a) {
|
|
98
|
+
if (this.d.containsKey(a.toLowerCase())) {
|
|
99
|
+
var b = this.d.item(a.toLowerCase());
|
|
100
|
+
this.d.removeItem(a.toLowerCase());
|
|
101
|
+
this.e.remove(b);
|
|
74
102
|
}
|
|
75
103
|
};
|
|
76
|
-
DescriptionTreeNode.prototype.
|
|
77
|
-
this.c.clear();
|
|
104
|
+
DescriptionTreeNode.prototype.l = function () {
|
|
78
105
|
this.d.clear();
|
|
106
|
+
this.e.clear();
|
|
79
107
|
};
|
|
80
|
-
DescriptionTreeNode.prototype.
|
|
81
|
-
return this.
|
|
108
|
+
DescriptionTreeNode.prototype.f = function () {
|
|
109
|
+
return this.e;
|
|
82
110
|
};
|
|
83
111
|
DescriptionTreeNode.$t = markType(DescriptionTreeNode, 'DescriptionTreeNode');
|
|
84
|
-
DescriptionTreeNode.
|
|
112
|
+
DescriptionTreeNode.h = 0;
|
|
85
113
|
return DescriptionTreeNode;
|
|
86
114
|
}(Base));
|
|
87
115
|
export { DescriptionTreeNode };
|