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
|
@@ -65,55 +65,79 @@ export let TypeDescriptionPropretyTransforms = /*@__PURE__*/ (() => {
|
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
b(a) {
|
|
68
|
-
let b = stringReplace(stringReplace(stringReplace(a.
|
|
68
|
+
let b = stringReplace(stringReplace(stringReplace(a.j, "Style", "Family"), "Weight", "Family"), "Size", "Family");
|
|
69
69
|
let c = "Verdana";
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
let d = a.b;
|
|
71
|
+
if (d == null) {
|
|
72
|
+
d = a.c;
|
|
73
|
+
}
|
|
74
|
+
if (d != null) {
|
|
75
|
+
if (d.c(b)) {
|
|
76
|
+
c = d.a(b).b;
|
|
77
|
+
if (c == null) {
|
|
78
|
+
c = "Verdana";
|
|
79
|
+
}
|
|
74
80
|
}
|
|
75
81
|
}
|
|
76
82
|
return c;
|
|
77
83
|
}
|
|
78
84
|
d(a) {
|
|
79
|
-
let b = stringReplace(stringReplace(stringReplace(a.
|
|
85
|
+
let b = stringReplace(stringReplace(stringReplace(a.j, "Family", "Style"), "Weight", "Style"), "Size", "Style");
|
|
80
86
|
let c = "normal";
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
87
|
+
let d = a.b;
|
|
88
|
+
if (d == null) {
|
|
89
|
+
d = a.c;
|
|
90
|
+
}
|
|
91
|
+
if (d != null) {
|
|
92
|
+
if (d.c(b)) {
|
|
93
|
+
c = d.a(b).b;
|
|
94
|
+
if (c == null) {
|
|
95
|
+
c = "normal";
|
|
96
|
+
}
|
|
85
97
|
}
|
|
86
98
|
}
|
|
87
99
|
return c;
|
|
88
100
|
}
|
|
89
101
|
c(a) {
|
|
90
|
-
let b = stringReplace(stringReplace(stringReplace(a.
|
|
102
|
+
let b = stringReplace(stringReplace(stringReplace(a.j, "Family", "Size"), "Weight", "Size"), "Style", "Size");
|
|
91
103
|
let c = "14px";
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
c =
|
|
104
|
+
let d = a.b;
|
|
105
|
+
if (d == null) {
|
|
106
|
+
d = a.c;
|
|
107
|
+
}
|
|
108
|
+
if (d != null) {
|
|
109
|
+
if (d.c(b)) {
|
|
110
|
+
c = d.a(b).b;
|
|
111
|
+
if (c == null) {
|
|
112
|
+
c = "14px";
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
c = c.toString() + "px";
|
|
116
|
+
}
|
|
99
117
|
}
|
|
100
118
|
}
|
|
101
119
|
return c;
|
|
102
120
|
}
|
|
103
121
|
e(a) {
|
|
104
|
-
let b = stringReplace(stringReplace(stringReplace(a.
|
|
122
|
+
let b = stringReplace(stringReplace(stringReplace(a.j, "Family", "Weight"), "Size", "Weight"), "Style", "Weight");
|
|
105
123
|
let c = "normal";
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
124
|
+
let d = a.b;
|
|
125
|
+
if (d == null) {
|
|
126
|
+
d = a.c;
|
|
127
|
+
}
|
|
128
|
+
if (d != null) {
|
|
129
|
+
if (d.c(b)) {
|
|
130
|
+
c = d.a(b).b;
|
|
131
|
+
if (c == null) {
|
|
132
|
+
c = "normal";
|
|
133
|
+
}
|
|
134
|
+
c = c.toLowerCase();
|
|
110
135
|
}
|
|
111
|
-
c = c.toLowerCase();
|
|
112
136
|
}
|
|
113
137
|
return c;
|
|
114
138
|
}
|
|
115
139
|
transform(a, b, c) {
|
|
116
|
-
let d = c.
|
|
140
|
+
let d = c.d;
|
|
117
141
|
if (d == null) {
|
|
118
142
|
return b;
|
|
119
143
|
}
|
|
@@ -229,7 +229,10 @@ export function fromBrushCollection(v) {
|
|
|
229
229
|
let internalCollection = v;
|
|
230
230
|
let ret = [];
|
|
231
231
|
for (let i = 0; i < internalCollection.count; i++) {
|
|
232
|
-
|
|
232
|
+
const brush = internalCollection.item(i);
|
|
233
|
+
if (brush != null) {
|
|
234
|
+
ret.push(brush.fill);
|
|
235
|
+
}
|
|
233
236
|
}
|
|
234
237
|
return ret;
|
|
235
238
|
}
|
|
@@ -919,10 +919,10 @@ var CanvasViewRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
919
919
|
}
|
|
920
920
|
};
|
|
921
921
|
CanvasViewRenderer.prototype.h$ae = function (a, b, c) {
|
|
922
|
+
this.j.textBaseline = "alphabetic";
|
|
922
923
|
var d = this.j.measureText(a);
|
|
923
924
|
var metrics_ = d;
|
|
924
925
|
var e = b;
|
|
925
|
-
this.j.textBaseline = "alphabetic";
|
|
926
926
|
var f = new TextFontMetrics();
|
|
927
927
|
if ((metrics_.actualBoundingBoxAscent !== undefined)) {
|
|
928
928
|
f.a = (metrics_.actualBoundingBoxAscent);
|
|
@@ -137,11 +137,11 @@ var CodeGenerationTransformer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
137
137
|
});
|
|
138
138
|
_this.b.item("FontStyleTransform", function (b, c) {
|
|
139
139
|
var d = b;
|
|
140
|
-
var e = c.
|
|
140
|
+
var e = c.j;
|
|
141
141
|
var f = stringReplace(e, "Style", "Weight");
|
|
142
142
|
var g = false;
|
|
143
|
-
if (c.
|
|
144
|
-
var h = c.
|
|
143
|
+
if (c.c.c(f)) {
|
|
144
|
+
var h = c.c.a(f);
|
|
145
145
|
var i = h.b;
|
|
146
146
|
if (i != null && i.toLowerCase() == "bold") {
|
|
147
147
|
g = true;
|
|
@@ -219,11 +219,11 @@ var CodeGenerationTransformer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
219
219
|
});
|
|
220
220
|
_this.b.item("FontWeightTransform", function (b, c) {
|
|
221
221
|
var d = b;
|
|
222
|
-
var e = c.
|
|
222
|
+
var e = c.j;
|
|
223
223
|
var f = stringReplace(e, "Weight", "Style");
|
|
224
224
|
var g = false;
|
|
225
|
-
if (c.
|
|
226
|
-
var h = c.
|
|
225
|
+
if (c.c.c(f)) {
|
|
226
|
+
var h = c.c.a(f);
|
|
227
227
|
var i = h.b;
|
|
228
228
|
if (i != null && i.toLowerCase() == "italic") {
|
|
229
229
|
g = true;
|
|
@@ -346,10 +346,10 @@ var CodeGenerationTransformer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
346
346
|
return _this;
|
|
347
347
|
}
|
|
348
348
|
CodeGenerationTransformer.prototype.c = function (a) {
|
|
349
|
-
var b = stringReplace(stringReplace(stringReplace(a.
|
|
349
|
+
var b = stringReplace(stringReplace(stringReplace(a.j, "Style", "Family"), "Weight", "Family"), "Size", "Family");
|
|
350
350
|
var c = "Verdana";
|
|
351
|
-
if (a.
|
|
352
|
-
c = a.
|
|
351
|
+
if (a.c.c(b)) {
|
|
352
|
+
c = a.c.a(b).b;
|
|
353
353
|
if (c == null) {
|
|
354
354
|
c = "Verdana";
|
|
355
355
|
}
|
|
@@ -357,10 +357,10 @@ var CodeGenerationTransformer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
357
357
|
return c;
|
|
358
358
|
};
|
|
359
359
|
CodeGenerationTransformer.prototype.e = function (a) {
|
|
360
|
-
var b = stringReplace(stringReplace(stringReplace(a.
|
|
360
|
+
var b = stringReplace(stringReplace(stringReplace(a.j, "Family", "Style"), "Weight", "Style"), "Size", "Style");
|
|
361
361
|
var c = "normal";
|
|
362
|
-
if (a.
|
|
363
|
-
c = a.
|
|
362
|
+
if (a.c.c(b)) {
|
|
363
|
+
c = a.c.a(b).b;
|
|
364
364
|
if (c == null) {
|
|
365
365
|
c = "normal";
|
|
366
366
|
}
|
|
@@ -368,10 +368,10 @@ var CodeGenerationTransformer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
368
368
|
return c;
|
|
369
369
|
};
|
|
370
370
|
CodeGenerationTransformer.prototype.d = function (a) {
|
|
371
|
-
var b = stringReplace(stringReplace(stringReplace(a.
|
|
371
|
+
var b = stringReplace(stringReplace(stringReplace(a.j, "Family", "Size"), "Weight", "Size"), "Style", "Size");
|
|
372
372
|
var c = "14px";
|
|
373
|
-
if (a.
|
|
374
|
-
c = a.
|
|
373
|
+
if (a.c.c(b)) {
|
|
374
|
+
c = a.c.a(b).b.toString();
|
|
375
375
|
if (c == null) {
|
|
376
376
|
c = "14px";
|
|
377
377
|
}
|
|
@@ -382,10 +382,10 @@ var CodeGenerationTransformer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
382
382
|
return c;
|
|
383
383
|
};
|
|
384
384
|
CodeGenerationTransformer.prototype.f = function (a) {
|
|
385
|
-
var b = stringReplace(stringReplace(stringReplace(a.
|
|
385
|
+
var b = stringReplace(stringReplace(stringReplace(a.j, "Family", "Weight"), "Size", "Weight"), "Style", "Weight");
|
|
386
386
|
var c = "normal";
|
|
387
|
-
if (a.
|
|
388
|
-
c = a.
|
|
387
|
+
if (a.c.c(b)) {
|
|
388
|
+
c = a.c.a(b).b;
|
|
389
389
|
if (c == null) {
|
|
390
390
|
c = "normal";
|
|
391
391
|
}
|
|
@@ -394,7 +394,7 @@ var CodeGenerationTransformer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
394
394
|
return c;
|
|
395
395
|
};
|
|
396
396
|
CodeGenerationTransformer.prototype.transform = function (a, b, c) {
|
|
397
|
-
var d = c.
|
|
397
|
+
var d = c.d;
|
|
398
398
|
if (d == null) {
|
|
399
399
|
return b;
|
|
400
400
|
}
|