igniteui-angular-core 18.2.0 → 19.0.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 +1190 -972
- package/bundles/igniteui-angular-core.umd.min.js +1 -1
- package/esm2015/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +251 -251
- package/esm2015/lib/ComponentRendererReferenceResolverEventArgs.js +33 -0
- package/esm2015/lib/ComponentRenderer_combined.js +586 -556
- package/esm2015/lib/DescriptionTreeReconciler.js +48 -46
- package/esm2015/lib/FunnelChartDescription.js +130 -114
- package/esm2015/lib/FunnelChartDescriptionMetadata.js +4 -0
- package/esm2015/lib/FunnelChartSelectedItemsChangedEventArgsDescription.js +50 -0
- package/esm2015/lib/FunnelChartSelectedItemsChangedEventArgsDescriptionMetadata.js +39 -0
- package/esm2015/lib/IDataSeriesAdapterRule_combined.js +14 -6
- package/esm2015/lib/igx-component-renderer-container-component.js +5 -1
- package/esm2015/public_api.js +3 -0
- package/esm5/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +251 -251
- package/esm5/lib/ComponentRendererReferenceResolverEventArgs.js +43 -0
- package/esm5/lib/ComponentRenderer_combined.js +585 -555
- package/esm5/lib/DescriptionTreeReconciler.js +48 -46
- package/esm5/lib/FunnelChartDescription.js +137 -113
- package/esm5/lib/FunnelChartDescriptionMetadata.js +4 -0
- package/esm5/lib/FunnelChartSelectedItemsChangedEventArgsDescription.js +68 -0
- package/esm5/lib/FunnelChartSelectedItemsChangedEventArgsDescriptionMetadata.js +43 -0
- package/esm5/lib/IDataSeriesAdapterRule_combined.js +14 -6
- package/esm5/lib/igx-component-renderer-container-component.js +5 -1
- package/esm5/public_api.js +3 -0
- package/fesm2015/igniteui-angular-core.js +1153 -972
- package/fesm5/igniteui-angular-core.js +1188 -973
- package/lib/CodeGeneratingComponentRendererCodeEmitter_combined.d.ts +26 -26
- package/lib/ComponentRendererReferenceResolverEventArgs.d.ts +13 -0
- package/lib/ComponentRenderer_combined.d.ts +115 -110
- package/lib/FunnelChartDescription.d.ts +46 -40
- package/lib/FunnelChartSelectedItemsChangedEventArgsDescription.d.ts +20 -0
- package/lib/FunnelChartSelectedItemsChangedEventArgsDescriptionMetadata.d.ts +13 -0
- package/package.json +4 -4
- package/public_api.d.ts +3 -0
|
@@ -10,6 +10,7 @@ import { TypeDescriptionContext } from "./TypeDescriptionContext";
|
|
|
10
10
|
import { TypeDescriptionCleanups } from "./TypeDescriptionCleanups";
|
|
11
11
|
import { Dictionary$2 } from "./Dictionary$2";
|
|
12
12
|
import { List$1 } from "./List$1";
|
|
13
|
+
import { ComponentRendererReferenceResolverEventArgs } from "./ComponentRendererReferenceResolverEventArgs";
|
|
13
14
|
import { Description } from "./Description";
|
|
14
15
|
import { DescriptionTreeNode } from "./DescriptionTreeNode";
|
|
15
16
|
import { Queue$1 } from "./Queue$1";
|
|
@@ -45,34 +46,35 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
45
46
|
_this._adapter = null;
|
|
46
47
|
_this._context = null;
|
|
47
48
|
_this._isProceedOnErrorEnabled = false;
|
|
48
|
-
_this.j = null;
|
|
49
49
|
_this.k = null;
|
|
50
|
+
_this.l = null;
|
|
50
51
|
_this._preserveKeyOrder = false;
|
|
51
52
|
_this._allowNullForRemove = false;
|
|
52
|
-
_this.
|
|
53
|
-
_this.
|
|
54
|
-
_this.a2 = new Dictionary$2(Base.$,
|
|
53
|
+
_this.bf = new List$1(Delegate_$type, 0);
|
|
54
|
+
_this.bh = new List$1(Delegate_$type, 0);
|
|
55
|
+
_this.a2 = new Dictionary$2(Base.$, Description.$, 0);
|
|
55
56
|
_this.a3 = new Dictionary$2(Base.$, Boolean_$type, 0);
|
|
56
|
-
_this.
|
|
57
|
-
_this.
|
|
58
|
-
_this.az = new Dictionary$2(Base.$,
|
|
59
|
-
_this.
|
|
60
|
-
_this.
|
|
61
|
-
_this.
|
|
62
|
-
_this.
|
|
63
|
-
_this.
|
|
64
|
-
_this.
|
|
65
|
-
_this.
|
|
66
|
-
_this.
|
|
67
|
-
_this.
|
|
68
|
-
_this.
|
|
57
|
+
_this.a4 = new Dictionary$2(Base.$, Boolean_$type, 0);
|
|
58
|
+
_this.a1 = new Dictionary$2(Base.$, Boolean_$type, 0);
|
|
59
|
+
_this.az = new Dictionary$2(Base.$, String_$type, 0);
|
|
60
|
+
_this.a0 = new Dictionary$2(Base.$, Number_$type, 0);
|
|
61
|
+
_this.ax = new Dictionary$2(Base.$, DescriptionTreeNode.$, 0);
|
|
62
|
+
_this.a8 = new Dictionary$2(Base.$, ContainerState.$, 0);
|
|
63
|
+
_this.a5 = new Dictionary$2(Base.$, Queue$1.$.specialize(Queue$1.$.specialize(DescriptionTreeAction.$)), 0);
|
|
64
|
+
_this.ay = new Dictionary$2(Base.$, List$1.$.specialize(Delegate_$type), 0);
|
|
65
|
+
_this.aw = new Dictionary$2(Base.$, Boolean_$type, 0);
|
|
66
|
+
_this.a7 = new Dictionary$2(String_$type, DescriptionRef.$, 0);
|
|
67
|
+
_this.a9 = new Dictionary$2(String_$type, Base.$, 0);
|
|
68
|
+
_this.bb = new Dictionary$2(String_$type, Base.$, 0);
|
|
69
|
+
_this.a6 = new Dictionary$2(Base.$, String_$type, 0);
|
|
70
|
+
_this.bn = null;
|
|
71
|
+
_this.bi = new List$1(Delegate_$type, 0);
|
|
72
|
+
_this.ba = new Dictionary$2(String_$type, List$1.$.specialize(Delegate_$type), 0);
|
|
73
|
+
_this.be = new List$1(Delegate_$type, 0);
|
|
69
74
|
_this.bg = new List$1(Delegate_$type, 0);
|
|
70
|
-
_this.
|
|
71
|
-
_this.bd = new List$1(Delegate_$type, 0);
|
|
72
|
-
_this.bf = new List$1(Delegate_$type, 0);
|
|
73
|
-
_this.bc = null;
|
|
75
|
+
_this.bd = null;
|
|
74
76
|
_this._shouldNamespaceSystemRefValues = false;
|
|
75
|
-
var a = _this.
|
|
77
|
+
var a = _this.j();
|
|
76
78
|
_this.adapter = a;
|
|
77
79
|
var adapter_ = _this.adapter;
|
|
78
80
|
var b = (adapter_._platform);
|
|
@@ -83,8 +85,8 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
83
85
|
ComponentRenderer.platform = 2;
|
|
84
86
|
}
|
|
85
87
|
_this.context = new TypeDescriptionContext(_this.adapter, ComponentRenderer.platform);
|
|
86
|
-
_this.
|
|
87
|
-
_this.
|
|
88
|
+
_this.k = new TypeDescriptionPropretyTransforms();
|
|
89
|
+
_this.l = new TypeDescriptionCleanups();
|
|
88
90
|
return _this;
|
|
89
91
|
}
|
|
90
92
|
Object.defineProperty(ComponentRenderer, "defaultInstance", {
|
|
@@ -127,7 +129,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
127
129
|
enumerable: false,
|
|
128
130
|
configurable: true
|
|
129
131
|
});
|
|
130
|
-
ComponentRenderer.prototype.
|
|
132
|
+
ComponentRenderer.prototype.j = function () {
|
|
131
133
|
return (new ComponentRendererAdapter());
|
|
132
134
|
};
|
|
133
135
|
ComponentRenderer.prototype.toJson = function (a) {
|
|
@@ -140,7 +142,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
140
142
|
b.i();
|
|
141
143
|
var d = true;
|
|
142
144
|
try {
|
|
143
|
-
for (var _c = __values(fromEnum(this.
|
|
145
|
+
for (var _c = __values(fromEnum(this.ax.keys)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
144
146
|
var e = _d.value;
|
|
145
147
|
if (d) {
|
|
146
148
|
d = false;
|
|
@@ -149,7 +151,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
149
151
|
b.f(",");
|
|
150
152
|
}
|
|
151
153
|
var f = e;
|
|
152
|
-
var g = this.
|
|
154
|
+
var g = this.ax.item(e);
|
|
153
155
|
var h = "root";
|
|
154
156
|
h = a(f);
|
|
155
157
|
if (stringIsNullOrEmpty(h)) {
|
|
@@ -176,18 +178,18 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
176
178
|
b.f("");
|
|
177
179
|
b.h();
|
|
178
180
|
b.e("}");
|
|
179
|
-
if (this.
|
|
181
|
+
if (this.bb.count > 0) {
|
|
180
182
|
b.e(",");
|
|
181
183
|
}
|
|
182
184
|
b.f("");
|
|
183
|
-
if (this.
|
|
185
|
+
if (this.bb.count > 0) {
|
|
184
186
|
d = true;
|
|
185
187
|
b.f("refs: {");
|
|
186
188
|
b.i();
|
|
187
189
|
try {
|
|
188
|
-
for (var _e = __values(fromEnum(this.
|
|
190
|
+
for (var _e = __values(fromEnum(this.bb.keys)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
189
191
|
var i = _f.value;
|
|
190
|
-
if (!this.
|
|
192
|
+
if (!this.r(i, this.bb.item(i))) {
|
|
191
193
|
continue;
|
|
192
194
|
}
|
|
193
195
|
if (d) {
|
|
@@ -196,7 +198,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
196
198
|
else {
|
|
197
199
|
b.f(",");
|
|
198
200
|
}
|
|
199
|
-
this.
|
|
201
|
+
this.ek(b, i, this.bb.item(i));
|
|
200
202
|
}
|
|
201
203
|
}
|
|
202
204
|
catch (e_2_1) {
|
|
@@ -220,12 +222,12 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
220
222
|
b.f("}");
|
|
221
223
|
return b.toString();
|
|
222
224
|
};
|
|
223
|
-
ComponentRenderer.prototype.
|
|
225
|
+
ComponentRenderer.prototype.ek = function (a, b, c) {
|
|
224
226
|
a.e("\"" + b + "\": ");
|
|
225
|
-
this.
|
|
227
|
+
this.el(a, c);
|
|
226
228
|
};
|
|
227
|
-
ComponentRenderer.prototype.
|
|
228
|
-
if (this.
|
|
229
|
+
ComponentRenderer.prototype.el = function (a, b) {
|
|
230
|
+
if (this.aa(b)) {
|
|
229
231
|
if (typeof b === 'string') {
|
|
230
232
|
a.e(b == null ? "null" : "\"" + b.toString() + "\"");
|
|
231
233
|
}
|
|
@@ -266,7 +268,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
266
268
|
a.e("null");
|
|
267
269
|
return;
|
|
268
270
|
}
|
|
269
|
-
if (this.
|
|
271
|
+
if (this.x(b)) {
|
|
270
272
|
a.f("[");
|
|
271
273
|
a.i();
|
|
272
274
|
var c = new DataSourceLocalDataProvider();
|
|
@@ -275,7 +277,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
275
277
|
if (d > 0) {
|
|
276
278
|
a.f(",");
|
|
277
279
|
}
|
|
278
|
-
this.
|
|
280
|
+
this.ej(a, c, d);
|
|
279
281
|
}
|
|
280
282
|
a.f("");
|
|
281
283
|
a.h();
|
|
@@ -285,11 +287,11 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
285
287
|
var e = [b];
|
|
286
288
|
var f = new DataSourceLocalDataProvider();
|
|
287
289
|
f.dataSource = e;
|
|
288
|
-
this.
|
|
290
|
+
this.ej(a, f, 0);
|
|
289
291
|
}
|
|
290
292
|
}
|
|
291
293
|
};
|
|
292
|
-
ComponentRenderer.prototype.
|
|
294
|
+
ComponentRenderer.prototype.aa = function (a) {
|
|
293
295
|
if (typeof a === 'string') {
|
|
294
296
|
return true;
|
|
295
297
|
}
|
|
@@ -304,7 +306,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
304
306
|
}
|
|
305
307
|
return false;
|
|
306
308
|
};
|
|
307
|
-
ComponentRenderer.prototype.
|
|
309
|
+
ComponentRenderer.prototype.x = function (a) {
|
|
308
310
|
if (typeCast(Array_$type, a) !== null) {
|
|
309
311
|
return true;
|
|
310
312
|
}
|
|
@@ -313,7 +315,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
313
315
|
}
|
|
314
316
|
return false;
|
|
315
317
|
};
|
|
316
|
-
ComponentRenderer.prototype.
|
|
318
|
+
ComponentRenderer.prototype.ej = function (a, b, c) {
|
|
317
319
|
a.f("{");
|
|
318
320
|
a.i();
|
|
319
321
|
var d = b.actualSchema;
|
|
@@ -349,14 +351,14 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
349
351
|
a.e("\"" + (v_.toJSON()) + "\"");
|
|
350
352
|
break;
|
|
351
353
|
case 11:
|
|
352
|
-
this.
|
|
354
|
+
this.el(a, g);
|
|
353
355
|
break;
|
|
354
356
|
}
|
|
355
357
|
}
|
|
356
358
|
a.h();
|
|
357
359
|
a.f("}");
|
|
358
360
|
};
|
|
359
|
-
ComponentRenderer.prototype.
|
|
361
|
+
ComponentRenderer.prototype.r = function (a, b) {
|
|
360
362
|
if (b == null) {
|
|
361
363
|
return true;
|
|
362
364
|
}
|
|
@@ -376,23 +378,23 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
376
378
|
return null;
|
|
377
379
|
}
|
|
378
380
|
var h = DescriptionTreeBuilder.createTree(this.context, g.result);
|
|
379
|
-
var i = this.
|
|
381
|
+
var i = this.a8.item(b);
|
|
380
382
|
if (h.c("Type")) {
|
|
381
383
|
var j = h.a("Type").b;
|
|
382
|
-
return this.
|
|
384
|
+
return this.b8(j, h, b, i, true, -1, null);
|
|
383
385
|
}
|
|
384
386
|
else {
|
|
385
|
-
return this.
|
|
387
|
+
return this.b7(typeCast(JsonDictionaryObject.$, d));
|
|
386
388
|
}
|
|
387
389
|
};
|
|
388
390
|
ComponentRenderer.prototype.loadJson = function (a, b) {
|
|
389
|
-
this.
|
|
391
|
+
this.dq(a, b, null, false, false, false);
|
|
390
392
|
};
|
|
391
393
|
ComponentRenderer.prototype.loadJsonOverlay = function (a, b, c) {
|
|
392
|
-
this.
|
|
394
|
+
this.dq(a, b, c, true, false, true);
|
|
393
395
|
};
|
|
394
396
|
ComponentRenderer.prototype.loadJsonDelta = function (a, b, c) {
|
|
395
|
-
this.
|
|
397
|
+
this.dq(a, b, null, true, c, false);
|
|
396
398
|
};
|
|
397
399
|
Object.defineProperty(ComponentRenderer.prototype, "preserveKeyOrder", {
|
|
398
400
|
get: function () {
|
|
@@ -404,10 +406,10 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
404
406
|
enumerable: false,
|
|
405
407
|
configurable: true
|
|
406
408
|
});
|
|
407
|
-
ComponentRenderer.prototype.
|
|
409
|
+
ComponentRenderer.prototype.at = function () {
|
|
408
410
|
return false;
|
|
409
411
|
};
|
|
410
|
-
ComponentRenderer.prototype.
|
|
412
|
+
ComponentRenderer.prototype.ds = function (a) {
|
|
411
413
|
};
|
|
412
414
|
Object.defineProperty(ComponentRenderer.prototype, "allowNullForRemove", {
|
|
413
415
|
get: function () {
|
|
@@ -419,23 +421,23 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
419
421
|
enumerable: false,
|
|
420
422
|
configurable: true
|
|
421
423
|
});
|
|
422
|
-
ComponentRenderer.prototype.
|
|
424
|
+
ComponentRenderer.prototype.dq = function (a, b, c, d, e, f) {
|
|
423
425
|
var g = new JsonDictionaryParser();
|
|
424
426
|
var h = g.parse(a);
|
|
425
427
|
var i = new DescriptionSerializer();
|
|
426
428
|
i.h = this.isProceedOnErrorEnabled;
|
|
427
|
-
i.g = this.
|
|
429
|
+
i.g = this.at();
|
|
428
430
|
var j = null;
|
|
429
431
|
if (typeCast(JsonDictionaryObject.$, h) !== null) {
|
|
430
432
|
var k = h;
|
|
431
433
|
if (k.g("skipAlterDataCasing")) {
|
|
432
434
|
var l = k.item("skipAlterDataCasing");
|
|
433
435
|
if (l.value) {
|
|
434
|
-
this.
|
|
436
|
+
this.ds(true);
|
|
435
437
|
}
|
|
436
438
|
}
|
|
437
439
|
else {
|
|
438
|
-
this.
|
|
440
|
+
this.ds(false);
|
|
439
441
|
}
|
|
440
442
|
var m = null;
|
|
441
443
|
if (k.g("animationIdleRef") || k.g("hasAnimations")) {
|
|
@@ -462,7 +464,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
462
464
|
}
|
|
463
465
|
j = u;
|
|
464
466
|
var v = false;
|
|
465
|
-
var w = this.
|
|
467
|
+
var w = this.bl();
|
|
466
468
|
if (w != null) {
|
|
467
469
|
v = true;
|
|
468
470
|
}
|
|
@@ -482,7 +484,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
482
484
|
continue;
|
|
483
485
|
}
|
|
484
486
|
if (f) {
|
|
485
|
-
if (!this.
|
|
487
|
+
if (!this.bc.containsKey(u)) {
|
|
486
488
|
var z = null;
|
|
487
489
|
if (this.isProceedOnErrorEnabled) {
|
|
488
490
|
try {
|
|
@@ -495,21 +497,21 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
495
497
|
else {
|
|
496
498
|
z = i.d(this.context, t, v, w, true);
|
|
497
499
|
}
|
|
498
|
-
this.
|
|
500
|
+
this.ee(z.result, u, d, true, false, m, n);
|
|
499
501
|
m = null;
|
|
500
502
|
var ab = c(s);
|
|
501
|
-
var ac = this.
|
|
502
|
-
this.
|
|
503
|
+
var ac = this.bc.item(u);
|
|
504
|
+
this.dj(this.ax.item(u), ab, ac, u);
|
|
503
505
|
}
|
|
504
506
|
}
|
|
505
|
-
this.
|
|
507
|
+
this.ee(x.result, u, d, e, false, m, n);
|
|
506
508
|
m = null;
|
|
507
509
|
}
|
|
508
510
|
}
|
|
509
511
|
}
|
|
510
512
|
if (k.g("refs") && j != null) {
|
|
511
513
|
var ad = k.item("refs");
|
|
512
|
-
var ae = this.
|
|
514
|
+
var ae = this.aj(ad);
|
|
513
515
|
if (!ae && typeCast(JsonDictionaryObject.$, ad) !== null) {
|
|
514
516
|
var af = ad;
|
|
515
517
|
var ag = af.e();
|
|
@@ -526,7 +528,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
526
528
|
this.provideRefValue(j, ai, am);
|
|
527
529
|
}
|
|
528
530
|
else {
|
|
529
|
-
var an = this.
|
|
531
|
+
var an = this.b7(aj);
|
|
530
532
|
this.provideRefValue(j, ai, an);
|
|
531
533
|
}
|
|
532
534
|
}
|
|
@@ -534,19 +536,19 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
534
536
|
}
|
|
535
537
|
if (k.g("modules") && j != null) {
|
|
536
538
|
var ao = k.item("modules");
|
|
537
|
-
this.
|
|
539
|
+
this.ag(ao);
|
|
538
540
|
}
|
|
539
541
|
if (k.g("strings") && j != null) {
|
|
540
542
|
var ap = k.item("strings");
|
|
541
|
-
this.
|
|
543
|
+
this.an(ap);
|
|
542
544
|
}
|
|
543
545
|
if (k.g("onInit") && j != null) {
|
|
544
546
|
var aq = k.item("onInit");
|
|
545
|
-
this.
|
|
547
|
+
this.ah(aq);
|
|
546
548
|
}
|
|
547
549
|
if (k.g("onViewInit") && j != null) {
|
|
548
550
|
var ar = k.item("onViewInit");
|
|
549
|
-
this.
|
|
551
|
+
this.ai(ar);
|
|
550
552
|
}
|
|
551
553
|
}
|
|
552
554
|
};
|
|
@@ -564,45 +566,61 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
564
566
|
this.provideRefValue(a, d, i);
|
|
565
567
|
}
|
|
566
568
|
else {
|
|
567
|
-
var j = this.
|
|
569
|
+
var j = this.b7(f);
|
|
568
570
|
this.provideRefValue(a, d, j);
|
|
569
571
|
}
|
|
570
572
|
};
|
|
571
573
|
ComponentRenderer.prototype.addMemberPathTransformer = function (a) {
|
|
572
|
-
this.
|
|
574
|
+
this.bf.add(a);
|
|
573
575
|
};
|
|
574
576
|
ComponentRenderer.prototype.removeMemberPathTransformer = function (a) {
|
|
575
|
-
this.
|
|
577
|
+
this.bf.remove(a);
|
|
578
|
+
};
|
|
579
|
+
ComponentRenderer.prototype.addReferenceResolver = function (a) {
|
|
580
|
+
this.bh.add(a);
|
|
581
|
+
};
|
|
582
|
+
ComponentRenderer.prototype.removeReferenceResolver = function (a) {
|
|
583
|
+
this.bh.remove(a);
|
|
584
|
+
};
|
|
585
|
+
ComponentRenderer.prototype.e = function (a) {
|
|
586
|
+
if (this.bh.count == 0) {
|
|
587
|
+
return null;
|
|
588
|
+
}
|
|
589
|
+
var b = new ComponentRendererReferenceResolverEventArgs();
|
|
590
|
+
for (var c = 0; c < this.bh.count; c++) {
|
|
591
|
+
this.bh._inner[c](a, b);
|
|
592
|
+
}
|
|
593
|
+
return b;
|
|
576
594
|
};
|
|
577
|
-
ComponentRenderer.prototype.
|
|
595
|
+
ComponentRenderer.prototype.bl = function () {
|
|
578
596
|
var _this = this;
|
|
579
|
-
if (this.
|
|
597
|
+
if (this.bf.count > 0) {
|
|
580
598
|
return function (a) {
|
|
581
599
|
var b = a;
|
|
582
|
-
for (var c = 0; c < _this.
|
|
583
|
-
b = _this.
|
|
600
|
+
for (var c = 0; c < _this.bf.count; c++) {
|
|
601
|
+
b = _this.bf._inner[c](b);
|
|
584
602
|
}
|
|
585
603
|
return b;
|
|
586
604
|
};
|
|
587
605
|
}
|
|
588
606
|
return null;
|
|
589
607
|
};
|
|
590
|
-
ComponentRenderer.prototype.
|
|
608
|
+
ComponentRenderer.prototype.aj = function (a) {
|
|
591
609
|
return false;
|
|
592
610
|
};
|
|
593
|
-
ComponentRenderer.prototype.
|
|
611
|
+
ComponentRenderer.prototype.ag = function (a) {
|
|
594
612
|
return false;
|
|
595
613
|
};
|
|
596
|
-
ComponentRenderer.prototype.
|
|
614
|
+
ComponentRenderer.prototype.an = function (a) {
|
|
597
615
|
return false;
|
|
598
616
|
};
|
|
599
|
-
ComponentRenderer.prototype.
|
|
617
|
+
ComponentRenderer.prototype.ah = function (a) {
|
|
600
618
|
return false;
|
|
601
619
|
};
|
|
602
|
-
ComponentRenderer.prototype.
|
|
620
|
+
ComponentRenderer.prototype.ai = function (a) {
|
|
603
621
|
return false;
|
|
604
622
|
};
|
|
605
|
-
ComponentRenderer.prototype.
|
|
623
|
+
ComponentRenderer.prototype.cy = function (a, b, c) {
|
|
606
624
|
var d = a;
|
|
607
625
|
if (c != null) {
|
|
608
626
|
d = c.k(b);
|
|
@@ -617,15 +635,15 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
617
635
|
}
|
|
618
636
|
return d;
|
|
619
637
|
};
|
|
620
|
-
ComponentRenderer.prototype.
|
|
638
|
+
ComponentRenderer.prototype.dj = function (a, b, c, d) {
|
|
621
639
|
var e_3, _a;
|
|
622
640
|
if (!c.b(b)) {
|
|
623
|
-
c.k(d, this.
|
|
641
|
+
c.k(d, this.ax.item(d).g, b, this.ax.item(d), runOn(this, this.dx), -1);
|
|
624
642
|
}
|
|
625
643
|
try {
|
|
626
644
|
for (var _b = __values(fromEnum(a.f())), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
627
645
|
var e = _c.value;
|
|
628
|
-
this.
|
|
646
|
+
this.dk(this.cy(e.c, ComponentRenderer.platform, e.a), e.b, b, c, d, a.g);
|
|
629
647
|
}
|
|
630
648
|
}
|
|
631
649
|
catch (e_3_1) {
|
|
@@ -642,19 +660,19 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
642
660
|
}
|
|
643
661
|
}
|
|
644
662
|
};
|
|
645
|
-
ComponentRenderer.prototype.
|
|
663
|
+
ComponentRenderer.prototype.dk = function (a, b, c, d, e, f) {
|
|
646
664
|
var e_4, _a;
|
|
647
665
|
var _this = this;
|
|
648
666
|
if (typeCast(DescriptionTreeNode.$, b) !== null) {
|
|
649
667
|
var g = b;
|
|
650
668
|
var h = this.adapter.getPropertyValue(c, a);
|
|
651
669
|
if (!d.b(h) && !d.a(g.g)) {
|
|
652
|
-
d.k(e, g.g, h, g, runOn(this, this.
|
|
670
|
+
d.k(e, g.g, h, g, runOn(this, this.dx), f);
|
|
653
671
|
}
|
|
654
672
|
try {
|
|
655
673
|
for (var _b = __values(fromEnum(g.f())), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
656
674
|
var i = _c.value;
|
|
657
|
-
this.
|
|
675
|
+
this.dk(a + "." + this.cy(i.c, ComponentRenderer.platform, i.a), i.b, c, d, e, g.g);
|
|
658
676
|
}
|
|
659
677
|
}
|
|
660
678
|
catch (e_4_1) {
|
|
@@ -691,12 +709,12 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
691
709
|
if (j_1.containsKey(k_1)) {
|
|
692
710
|
var s = j_1.item(k_1);
|
|
693
711
|
if (!d.b(r) && !d.a(s.g)) {
|
|
694
|
-
d.k(e, s.g, r, s, runOn(_this, _this.
|
|
712
|
+
d.k(e, s.g, r, s, runOn(_this, _this.dx), f);
|
|
695
713
|
}
|
|
696
714
|
try {
|
|
697
715
|
for (var _b = __values(fromEnum(s.f())), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
698
716
|
var t = _c.value;
|
|
699
|
-
_this.
|
|
717
|
+
_this.dk(a + "." + t.c, t.b, c, d, e, s.g);
|
|
700
718
|
}
|
|
701
719
|
}
|
|
702
720
|
catch (e_5_1) {
|
|
@@ -716,18 +734,18 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
716
734
|
k_1++;
|
|
717
735
|
});
|
|
718
736
|
if (l > 0 && k_1 == 0) {
|
|
719
|
-
var r_1 = this.
|
|
737
|
+
var r_1 = this.c3(a);
|
|
720
738
|
this.adapter.forPropertyValueItem(c, r_1, function (s) {
|
|
721
739
|
var e_6, _a;
|
|
722
740
|
if (j_1.containsKey(k_1)) {
|
|
723
741
|
var t = j_1.item(k_1);
|
|
724
742
|
if (!d.b(s) && !d.a(t.g)) {
|
|
725
|
-
d.k(e, t.g, s, t, runOn(_this, _this.
|
|
743
|
+
d.k(e, t.g, s, t, runOn(_this, _this.dx), f);
|
|
726
744
|
}
|
|
727
745
|
try {
|
|
728
746
|
for (var _b = __values(fromEnum(t.f())), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
729
747
|
var u = _c.value;
|
|
730
|
-
_this.
|
|
748
|
+
_this.dk(r_1 + "." + u.c, u.b, c, d, e, t.g);
|
|
731
749
|
}
|
|
732
750
|
}
|
|
733
751
|
catch (e_6_1) {
|
|
@@ -749,7 +767,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
749
767
|
}
|
|
750
768
|
}
|
|
751
769
|
};
|
|
752
|
-
ComponentRenderer.prototype.
|
|
770
|
+
ComponentRenderer.prototype.c3 = function (a) {
|
|
753
771
|
var b = a.lastIndexOf('.');
|
|
754
772
|
var c = null;
|
|
755
773
|
var d = a;
|
|
@@ -757,24 +775,24 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
757
775
|
c = a.substr(0, b);
|
|
758
776
|
d = a.substr(b + 1);
|
|
759
777
|
}
|
|
760
|
-
d = "actual" + this.
|
|
778
|
+
d = "actual" + this.c0(d);
|
|
761
779
|
if (c != null) {
|
|
762
780
|
return c + "." + d;
|
|
763
781
|
}
|
|
764
782
|
return d;
|
|
765
783
|
};
|
|
766
|
-
ComponentRenderer.prototype.
|
|
784
|
+
ComponentRenderer.prototype.c0 = function (a) {
|
|
767
785
|
return a.substr(0, 1).toUpperCase() + a.substr(1);
|
|
768
786
|
};
|
|
769
787
|
ComponentRenderer.prototype.a = function (a) {
|
|
770
788
|
var b = new Array(a.items.length);
|
|
771
789
|
for (var c = 0; c < a.items.length; c++) {
|
|
772
|
-
var d = this.
|
|
790
|
+
var d = this.b7(a.items[c]);
|
|
773
791
|
b[c] = d;
|
|
774
792
|
}
|
|
775
793
|
return b;
|
|
776
794
|
};
|
|
777
|
-
ComponentRenderer.prototype.
|
|
795
|
+
ComponentRenderer.prototype.b7 = function (a) {
|
|
778
796
|
if (a == null) {
|
|
779
797
|
return null;
|
|
780
798
|
}
|
|
@@ -784,7 +802,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
784
802
|
for (var d = 0; d < c.length; d++) {
|
|
785
803
|
var key_ = c[d];
|
|
786
804
|
if (typeCast(JsonDictionaryObject.$, a.item(key_)) !== null) {
|
|
787
|
-
var val_ = this.
|
|
805
|
+
var val_ = this.b7(a.item(key_));
|
|
788
806
|
dict_[key_] = val_;
|
|
789
807
|
}
|
|
790
808
|
else if (typeCast(JsonDictionaryArray.$, a.item(key_)) !== null) {
|
|
@@ -798,51 +816,51 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
798
816
|
}
|
|
799
817
|
return dict_;
|
|
800
818
|
};
|
|
801
|
-
Object.defineProperty(ComponentRenderer.prototype, "
|
|
819
|
+
Object.defineProperty(ComponentRenderer.prototype, "bc", {
|
|
802
820
|
get: function () {
|
|
803
|
-
return this.
|
|
821
|
+
return this.a8;
|
|
804
822
|
},
|
|
805
823
|
enumerable: false,
|
|
806
824
|
configurable: true
|
|
807
825
|
});
|
|
808
826
|
ComponentRenderer.prototype.cleanup = function (a, b) {
|
|
809
|
-
this.
|
|
810
|
-
this.
|
|
827
|
+
this.bn = a;
|
|
828
|
+
this.ee(null, a, false, false, b, null, 0);
|
|
811
829
|
};
|
|
812
830
|
ComponentRenderer.prototype.render = function (a, b) {
|
|
813
|
-
this.
|
|
831
|
+
this.ee(a, b, false, false, false, null, 0);
|
|
814
832
|
};
|
|
815
|
-
ComponentRenderer.prototype.
|
|
833
|
+
ComponentRenderer.prototype.ee = function (a, b, c, d, e, f, g) {
|
|
816
834
|
var _this = this;
|
|
817
|
-
if (!this.
|
|
818
|
-
this.
|
|
819
|
-
this.
|
|
820
|
-
}
|
|
821
|
-
this.
|
|
822
|
-
this.
|
|
823
|
-
this.
|
|
824
|
-
this.
|
|
825
|
-
this.
|
|
826
|
-
this.
|
|
827
|
-
this.
|
|
828
|
-
};
|
|
829
|
-
ComponentRenderer.prototype.
|
|
835
|
+
if (!this.a8.containsKey(b)) {
|
|
836
|
+
this.a8.item(b, new ContainerState());
|
|
837
|
+
this.a8.item(b).i = b;
|
|
838
|
+
}
|
|
839
|
+
this.a2.item(b, a);
|
|
840
|
+
this.a3.item(b, c);
|
|
841
|
+
this.a4.item(b, d);
|
|
842
|
+
this.a1.item(b, e);
|
|
843
|
+
this.az.item(b, f);
|
|
844
|
+
this.a0.item(b, g);
|
|
845
|
+
this.dt(b, function () { return _this.ec(b); });
|
|
846
|
+
};
|
|
847
|
+
ComponentRenderer.prototype.dt = function (a, b) {
|
|
830
848
|
this.adapter.onUIThread(a, b);
|
|
831
849
|
};
|
|
832
|
-
ComponentRenderer.prototype.
|
|
850
|
+
ComponentRenderer.prototype.ec = function (a) {
|
|
833
851
|
var e_7, _a, e_8, _b, e_9, _c, e_10, _d;
|
|
834
852
|
var _this = this;
|
|
835
|
-
if (this.
|
|
836
|
-
var b = this.
|
|
837
|
-
var c = this.
|
|
838
|
-
var d = this.
|
|
839
|
-
var e = this.
|
|
840
|
-
var f = this.
|
|
841
|
-
this.
|
|
853
|
+
if (this.a2.containsKey(a)) {
|
|
854
|
+
var b = this.a3.containsKey(a) ? this.a3.item(a) : false;
|
|
855
|
+
var c = this.a4.containsKey(a) ? this.a4.item(a) : false;
|
|
856
|
+
var d = this.a2.item(a);
|
|
857
|
+
var e = this.az.containsKey(a) ? this.az.item(a) : null;
|
|
858
|
+
var f = this.a0.containsKey(a) ? this.a0.item(a) : 0;
|
|
859
|
+
this.a2.removeItem(a);
|
|
842
860
|
var g = DescriptionTreeBuilder.createTreeWithOptions(this.context, d, this.preserveKeyOrder);
|
|
843
861
|
var h = null;
|
|
844
|
-
if (this.
|
|
845
|
-
h = this.
|
|
862
|
+
if (this.ax.containsKey(a)) {
|
|
863
|
+
h = this.ax.item(a);
|
|
846
864
|
}
|
|
847
865
|
var i = DescriptionTreeReconciler.c(h, g, b);
|
|
848
866
|
if (!c && b) {
|
|
@@ -855,21 +873,21 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
855
873
|
}
|
|
856
874
|
if (c) {
|
|
857
875
|
var k = DescriptionTreeReconciler.a(h, i);
|
|
858
|
-
if (!this.
|
|
859
|
-
this.
|
|
876
|
+
if (!this.a8.containsKey(a)) {
|
|
877
|
+
this.a8.addItem(a, ((function () {
|
|
860
878
|
var $ret = new ContainerState();
|
|
861
879
|
$ret.i = a;
|
|
862
880
|
return $ret;
|
|
863
881
|
})()));
|
|
864
882
|
}
|
|
865
|
-
var l_1 = this.
|
|
883
|
+
var l_1 = this.a8.item(a);
|
|
866
884
|
if (k.a.count > 0) {
|
|
867
885
|
try {
|
|
868
886
|
for (var _e = __values(fromEnum(k.a)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
869
887
|
var m = _f.value;
|
|
870
888
|
if (l_1.a(m)) {
|
|
871
889
|
var n = l_1.j(m);
|
|
872
|
-
this.
|
|
890
|
+
this.dh(a, n, l_1);
|
|
873
891
|
}
|
|
874
892
|
}
|
|
875
893
|
}
|
|
@@ -891,14 +909,14 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
891
909
|
try {
|
|
892
910
|
for (var _g = __values(fromEnum(k.c)), _h = _g.next(); !_h.done; _h = _g.next()) {
|
|
893
911
|
var o = _h.value;
|
|
894
|
-
var p = this.
|
|
912
|
+
var p = this.ce(a, l_1, o);
|
|
895
913
|
var q = this.adapter.getPropertyValue(p, o.j);
|
|
896
914
|
if (q != null) {
|
|
897
915
|
if (!l_1.b(q)) {
|
|
898
916
|
var r = o.g;
|
|
899
917
|
if (typeCast(DescriptionTreeNode.$, r) !== null) {
|
|
900
918
|
var s = r.g;
|
|
901
|
-
l_1.k(a, s, q, r, runOn(this, this.
|
|
919
|
+
l_1.k(a, s, q, r, runOn(this, this.dx), o.c.g);
|
|
902
920
|
}
|
|
903
921
|
}
|
|
904
922
|
}
|
|
@@ -928,7 +946,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
928
946
|
var v = t.g;
|
|
929
947
|
if (typeCast(DescriptionTreeNode.$, v) !== null) {
|
|
930
948
|
var w = v.g;
|
|
931
|
-
this.
|
|
949
|
+
this.ax.item(a, v);
|
|
932
950
|
}
|
|
933
951
|
}
|
|
934
952
|
}
|
|
@@ -967,7 +985,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
967
985
|
if (z.count == 0) {
|
|
968
986
|
return "continue";
|
|
969
987
|
}
|
|
970
|
-
var ad = this_1.
|
|
988
|
+
var ad = this_1.ce(a, l_1, x);
|
|
971
989
|
var ae = this_1.adapter.getPropertyValue(ad, x.j);
|
|
972
990
|
if (ae != null) {
|
|
973
991
|
var af_1 = 0;
|
|
@@ -977,7 +995,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
977
995
|
var ah = z.item(_this.adapter.getPropertyValue(ag, "Name").toString());
|
|
978
996
|
if (typeCast(DescriptionTreeNode.$, ah) !== null) {
|
|
979
997
|
var ai = ah.g;
|
|
980
|
-
l_1.k(a, ai, ag, ah, runOn(_this, _this.
|
|
998
|
+
l_1.k(a, ai, ag, ah, runOn(_this, _this.dx), x.c.g);
|
|
981
999
|
}
|
|
982
1000
|
}
|
|
983
1001
|
}
|
|
@@ -1008,11 +1026,11 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1008
1026
|
}
|
|
1009
1027
|
}
|
|
1010
1028
|
else {
|
|
1011
|
-
this.
|
|
1029
|
+
this.ax.item(a, g);
|
|
1012
1030
|
}
|
|
1013
1031
|
if (!c) {
|
|
1014
|
-
if (e != null && this.
|
|
1015
|
-
var ag_1 = this.
|
|
1032
|
+
if (e != null && this.w(e)) {
|
|
1033
|
+
var ag_1 = this.bb.item(e);
|
|
1016
1034
|
if (ag_1 != null) {
|
|
1017
1035
|
var ah = GlobalAnimationState.d.i();
|
|
1018
1036
|
if (f > 0) {
|
|
@@ -1023,56 +1041,56 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1023
1041
|
}
|
|
1024
1042
|
}
|
|
1025
1043
|
}
|
|
1026
|
-
this.
|
|
1044
|
+
this.ed(a, i);
|
|
1027
1045
|
}
|
|
1028
|
-
if (this.
|
|
1029
|
-
this.
|
|
1030
|
-
if (this.
|
|
1031
|
-
this.
|
|
1046
|
+
if (this.a1.item(a)) {
|
|
1047
|
+
this.ea(a);
|
|
1048
|
+
if (this.a8.containsKey(a)) {
|
|
1049
|
+
this.a8.removeItem(a);
|
|
1032
1050
|
}
|
|
1033
1051
|
}
|
|
1034
1052
|
}
|
|
1035
|
-
if (this.
|
|
1036
|
-
if (this.
|
|
1037
|
-
this.
|
|
1053
|
+
if (this.bn != null) {
|
|
1054
|
+
if (this.a2.containsKey(this.bn)) {
|
|
1055
|
+
this.a2.removeItem(this.bn);
|
|
1038
1056
|
}
|
|
1039
|
-
if (this.
|
|
1040
|
-
this.
|
|
1057
|
+
if (this.a3.containsKey(this.bn)) {
|
|
1058
|
+
this.a3.removeItem(this.bn);
|
|
1041
1059
|
}
|
|
1042
|
-
if (this.
|
|
1043
|
-
this.
|
|
1060
|
+
if (this.a4.containsKey(this.bn)) {
|
|
1061
|
+
this.a4.removeItem(this.bn);
|
|
1044
1062
|
}
|
|
1045
|
-
if (this.
|
|
1046
|
-
this.
|
|
1063
|
+
if (this.a1.containsKey(this.bn)) {
|
|
1064
|
+
this.a1.removeItem(this.bn);
|
|
1047
1065
|
}
|
|
1048
|
-
if (this.
|
|
1049
|
-
this.
|
|
1066
|
+
if (this.ax.containsKey(this.bn)) {
|
|
1067
|
+
this.ax.removeItem(this.bn);
|
|
1050
1068
|
}
|
|
1051
|
-
if (this.
|
|
1052
|
-
this.
|
|
1069
|
+
if (this.a5.containsKey(this.bn)) {
|
|
1070
|
+
this.a5.removeItem(this.bn);
|
|
1053
1071
|
}
|
|
1054
|
-
if (this.
|
|
1055
|
-
this.
|
|
1072
|
+
if (this.ay.containsKey(this.bn)) {
|
|
1073
|
+
this.ay.removeItem(this.bn);
|
|
1056
1074
|
}
|
|
1057
|
-
if (this.
|
|
1058
|
-
this.
|
|
1075
|
+
if (this.aw.containsKey(this.bn)) {
|
|
1076
|
+
this.aw.removeItem(this.bn);
|
|
1059
1077
|
}
|
|
1060
|
-
if (this.
|
|
1061
|
-
this.
|
|
1078
|
+
if (this.a0.containsKey(this.bn)) {
|
|
1079
|
+
this.a0.removeItem(this.bn);
|
|
1062
1080
|
}
|
|
1063
|
-
if (this.
|
|
1064
|
-
this.
|
|
1081
|
+
if (this.az.containsKey(this.bn)) {
|
|
1082
|
+
this.az.removeItem(this.bn);
|
|
1065
1083
|
}
|
|
1066
|
-
this.
|
|
1084
|
+
this.bn = null;
|
|
1067
1085
|
}
|
|
1068
1086
|
};
|
|
1069
1087
|
ComponentRenderer.prototype.getTargetValue = function (a, b, c) {
|
|
1070
|
-
var d = this.context.getMetadata(a, this.
|
|
1088
|
+
var d = this.context.getMetadata(a, this.c0(b));
|
|
1071
1089
|
var e = d.k(ComponentRenderer.platform);
|
|
1072
1090
|
return this.adapter.getPropertyValue(c, e);
|
|
1073
1091
|
};
|
|
1074
1092
|
ComponentRenderer.prototype.setTargetValue = function (a, b, c, d, e) {
|
|
1075
|
-
var f = this.context.getMetadata(a, this.
|
|
1093
|
+
var f = this.context.getMetadata(a, this.c0(b));
|
|
1076
1094
|
var g = f.k(ComponentRenderer.platform);
|
|
1077
1095
|
this.adapter.setPropertyValue(c, g, f, d, e, null);
|
|
1078
1096
|
};
|
|
@@ -1080,15 +1098,15 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1080
1098
|
var _this = this;
|
|
1081
1099
|
var d = new JsonDictionaryParser();
|
|
1082
1100
|
var e = d.parse(b);
|
|
1083
|
-
if (!this.
|
|
1084
|
-
this.
|
|
1085
|
-
this.
|
|
1101
|
+
if (!this.a8.containsKey(a)) {
|
|
1102
|
+
this.a8.item(a, new ContainerState());
|
|
1103
|
+
this.a8.item(a).i = a;
|
|
1086
1104
|
}
|
|
1087
|
-
var f = this.
|
|
1105
|
+
var f = this.a8.item(a);
|
|
1088
1106
|
var g = new DescriptionSerializer();
|
|
1089
1107
|
g.h = this.isProceedOnErrorEnabled;
|
|
1090
|
-
g.g = this.
|
|
1091
|
-
var h = this.
|
|
1108
|
+
g.g = this.at();
|
|
1109
|
+
var h = this.ax.item(a);
|
|
1092
1110
|
var i = null;
|
|
1093
1111
|
var j = new List$1(Base.$, 0);
|
|
1094
1112
|
var k = new List$1(TypeDescriptionMetadata.$, 0);
|
|
@@ -1096,15 +1114,15 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1096
1114
|
var l = null;
|
|
1097
1115
|
var m = e;
|
|
1098
1116
|
if (m.g("targetRef")) {
|
|
1099
|
-
l = this.
|
|
1117
|
+
l = this.cw(m, "targetRef");
|
|
1100
1118
|
}
|
|
1101
1119
|
var n = null;
|
|
1102
1120
|
if (m.g("methodName")) {
|
|
1103
|
-
n = this.
|
|
1121
|
+
n = this.cw(m, "methodName");
|
|
1104
1122
|
}
|
|
1105
1123
|
if (l != null) {
|
|
1106
|
-
if (this.
|
|
1107
|
-
i = this.
|
|
1124
|
+
if (this.a9.containsKey(l)) {
|
|
1125
|
+
i = this.a9.item(l);
|
|
1108
1126
|
}
|
|
1109
1127
|
}
|
|
1110
1128
|
else {
|
|
@@ -1114,16 +1132,16 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1114
1132
|
var o = m.item("args");
|
|
1115
1133
|
for (var p = 0; p < o.items.length; p++) {
|
|
1116
1134
|
var q = o.items[p];
|
|
1117
|
-
var r = this.
|
|
1135
|
+
var r = this.h(h, q, g);
|
|
1118
1136
|
var s = null;
|
|
1119
1137
|
if (typeCast(DescriptionTreeNode.$, r.g) !== null && r.g.i == "EmbeddedRef") {
|
|
1120
|
-
s = this.
|
|
1138
|
+
s = this.cg(a, r.g);
|
|
1121
1139
|
}
|
|
1122
1140
|
else {
|
|
1123
|
-
s = this.
|
|
1141
|
+
s = this.cb(r, a, f);
|
|
1124
1142
|
}
|
|
1125
1143
|
if (r.d.knownType == 8 && r.d.specificType == "string") {
|
|
1126
|
-
s = this.
|
|
1144
|
+
s = this.bw(r.d.specificExternalType, s, r.d);
|
|
1127
1145
|
}
|
|
1128
1146
|
j.add1(s);
|
|
1129
1147
|
k.add(r.d);
|
|
@@ -1132,16 +1150,16 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1132
1150
|
var t_1 = null;
|
|
1133
1151
|
if (m.g("return")) {
|
|
1134
1152
|
var u = m.item("return");
|
|
1135
|
-
var v = this.
|
|
1153
|
+
var v = this.h(h, u, g);
|
|
1136
1154
|
t_1 = v.d;
|
|
1137
1155
|
}
|
|
1138
1156
|
this.adapter.executeMethod(i, n, j.toArray(), k.toArray(), function (w) {
|
|
1139
|
-
var x = _this.
|
|
1157
|
+
var x = _this.c1(w, t_1);
|
|
1140
1158
|
c(x);
|
|
1141
1159
|
});
|
|
1142
1160
|
}
|
|
1143
1161
|
};
|
|
1144
|
-
ComponentRenderer.prototype.
|
|
1162
|
+
ComponentRenderer.prototype.cg = function (a, b) {
|
|
1145
1163
|
if (b.i == "EmbeddedRef") {
|
|
1146
1164
|
var c = "uuid";
|
|
1147
1165
|
var d = null;
|
|
@@ -1154,19 +1172,19 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1154
1172
|
}
|
|
1155
1173
|
}
|
|
1156
1174
|
if (d != null) {
|
|
1157
|
-
for (var f = 0; f < this.
|
|
1158
|
-
var g = this.
|
|
1175
|
+
for (var f = 0; f < this.be.count; f++) {
|
|
1176
|
+
var g = this.be._inner[f](a, c, d);
|
|
1159
1177
|
if (g != null) {
|
|
1160
1178
|
return g;
|
|
1161
1179
|
}
|
|
1162
1180
|
}
|
|
1163
1181
|
if (c == "name") {
|
|
1164
1182
|
var h = d;
|
|
1165
|
-
if (this.
|
|
1166
|
-
return this.
|
|
1183
|
+
if (this.a9.containsKey(h)) {
|
|
1184
|
+
return this.a9.item(h);
|
|
1167
1185
|
}
|
|
1168
|
-
if (this.
|
|
1169
|
-
return this.
|
|
1186
|
+
if (this.bb.containsKey(h)) {
|
|
1187
|
+
return this.bb.item(h);
|
|
1170
1188
|
}
|
|
1171
1189
|
}
|
|
1172
1190
|
return null;
|
|
@@ -1174,7 +1192,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1174
1192
|
}
|
|
1175
1193
|
return null;
|
|
1176
1194
|
};
|
|
1177
|
-
ComponentRenderer.
|
|
1195
|
+
ComponentRenderer.bk = function (a) {
|
|
1178
1196
|
if (typeCast(Date_$type, a) !== null) {
|
|
1179
1197
|
return a.getTime();
|
|
1180
1198
|
}
|
|
@@ -1183,7 +1201,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1183
1201
|
}
|
|
1184
1202
|
return a;
|
|
1185
1203
|
};
|
|
1186
|
-
ComponentRenderer.prototype.
|
|
1204
|
+
ComponentRenderer.prototype.c1 = function (a, b) {
|
|
1187
1205
|
var _this = this;
|
|
1188
1206
|
var c = new JsonDictionaryObject();
|
|
1189
1207
|
c.item("knownType", ((function () {
|
|
@@ -1222,7 +1240,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1222
1240
|
c.item("result", ((function () {
|
|
1223
1241
|
var $ret = new JsonDictionaryValue();
|
|
1224
1242
|
$ret.e = 0;
|
|
1225
|
-
$ret.value = ComponentRenderer.
|
|
1243
|
+
$ret.value = ComponentRenderer.bk(a);
|
|
1226
1244
|
return $ret;
|
|
1227
1245
|
})()));
|
|
1228
1246
|
break;
|
|
@@ -1246,7 +1264,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1246
1264
|
c.item("result", ((function () {
|
|
1247
1265
|
var $ret = new JsonDictionaryValue();
|
|
1248
1266
|
$ret.e = 2;
|
|
1249
|
-
$ret.value = _this.
|
|
1267
|
+
$ret.value = _this.ch(a);
|
|
1250
1268
|
return $ret;
|
|
1251
1269
|
})()));
|
|
1252
1270
|
break;
|
|
@@ -1254,7 +1272,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1254
1272
|
c.item("result", ((function () {
|
|
1255
1273
|
var $ret = new JsonDictionaryValue();
|
|
1256
1274
|
$ret.e = 2;
|
|
1257
|
-
$ret.value = _this.
|
|
1275
|
+
$ret.value = _this.cj(a);
|
|
1258
1276
|
return $ret;
|
|
1259
1277
|
})()));
|
|
1260
1278
|
break;
|
|
@@ -1262,7 +1280,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1262
1280
|
c.item("result", ((function () {
|
|
1263
1281
|
var $ret = new JsonDictionaryValue();
|
|
1264
1282
|
$ret.e = 2;
|
|
1265
|
-
$ret.value = _this.
|
|
1283
|
+
$ret.value = _this.ci(a);
|
|
1266
1284
|
return $ret;
|
|
1267
1285
|
})()));
|
|
1268
1286
|
break;
|
|
@@ -1281,19 +1299,19 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1281
1299
|
c.item("result", ((function () {
|
|
1282
1300
|
var $ret = new JsonDictionaryValue();
|
|
1283
1301
|
$ret.e = 2;
|
|
1284
|
-
$ret.value = _this.
|
|
1302
|
+
$ret.value = _this.cm(a);
|
|
1285
1303
|
return $ret;
|
|
1286
1304
|
})()));
|
|
1287
1305
|
break;
|
|
1288
1306
|
case 12:
|
|
1289
|
-
c.item("result", this.
|
|
1307
|
+
c.item("result", this.co(a));
|
|
1290
1308
|
break;
|
|
1291
1309
|
case 13: break;
|
|
1292
1310
|
case 14:
|
|
1293
1311
|
c.item("result", ((function () {
|
|
1294
1312
|
var $ret = new JsonDictionaryValue();
|
|
1295
1313
|
$ret.e = 2;
|
|
1296
|
-
$ret.value = _this.
|
|
1314
|
+
$ret.value = _this.cn(a);
|
|
1297
1315
|
return $ret;
|
|
1298
1316
|
})()));
|
|
1299
1317
|
break;
|
|
@@ -1302,7 +1320,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1302
1320
|
c.item("result", ((function () {
|
|
1303
1321
|
var $ret = new JsonDictionaryValue();
|
|
1304
1322
|
$ret.e = 2;
|
|
1305
|
-
$ret.value = _this.
|
|
1323
|
+
$ret.value = _this.ck(a);
|
|
1306
1324
|
return $ret;
|
|
1307
1325
|
})()));
|
|
1308
1326
|
break;
|
|
@@ -1314,7 +1332,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1314
1332
|
c.item("result", ((function () {
|
|
1315
1333
|
var $ret = new JsonDictionaryValue();
|
|
1316
1334
|
$ret.e = 2;
|
|
1317
|
-
$ret.value = _this.
|
|
1335
|
+
$ret.value = _this.cp(a);
|
|
1318
1336
|
return $ret;
|
|
1319
1337
|
})()));
|
|
1320
1338
|
break;
|
|
@@ -1323,41 +1341,41 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1323
1341
|
c.item("result", ((function () {
|
|
1324
1342
|
var $ret = new JsonDictionaryValue();
|
|
1325
1343
|
$ret.e = 2;
|
|
1326
|
-
$ret.value = _this.
|
|
1344
|
+
$ret.value = _this.cl(a);
|
|
1327
1345
|
return $ret;
|
|
1328
1346
|
})()));
|
|
1329
1347
|
break;
|
|
1330
1348
|
}
|
|
1331
1349
|
return c.b();
|
|
1332
1350
|
};
|
|
1333
|
-
ComponentRenderer.prototype.
|
|
1351
|
+
ComponentRenderer.prototype.cl = function (a) {
|
|
1334
1352
|
return this.adapter.serializeDoubleCollection(a);
|
|
1335
1353
|
};
|
|
1336
|
-
ComponentRenderer.prototype.
|
|
1354
|
+
ComponentRenderer.prototype.cp = function (a) {
|
|
1337
1355
|
return this.adapter.serializeTimespan(a);
|
|
1338
1356
|
};
|
|
1339
|
-
ComponentRenderer.prototype.
|
|
1357
|
+
ComponentRenderer.prototype.ck = function (a) {
|
|
1340
1358
|
return this.adapter.serializeColorCollection(a);
|
|
1341
1359
|
};
|
|
1342
|
-
ComponentRenderer.prototype.
|
|
1360
|
+
ComponentRenderer.prototype.cn = function (a) {
|
|
1343
1361
|
return this.adapter.serializeRect(a);
|
|
1344
1362
|
};
|
|
1345
|
-
ComponentRenderer.prototype.
|
|
1363
|
+
ComponentRenderer.prototype.co = function (a) {
|
|
1346
1364
|
return this.adapter.serializeSize(a);
|
|
1347
1365
|
};
|
|
1348
|
-
ComponentRenderer.prototype.
|
|
1366
|
+
ComponentRenderer.prototype.cm = function (a) {
|
|
1349
1367
|
return this.adapter.serializePoint(a);
|
|
1350
1368
|
};
|
|
1351
|
-
ComponentRenderer.prototype.
|
|
1369
|
+
ComponentRenderer.prototype.ci = function (a) {
|
|
1352
1370
|
return this.adapter.serializeBrushCollection(a);
|
|
1353
1371
|
};
|
|
1354
|
-
ComponentRenderer.prototype.
|
|
1372
|
+
ComponentRenderer.prototype.cj = function (a) {
|
|
1355
1373
|
return this.adapter.serializeColor(a);
|
|
1356
1374
|
};
|
|
1357
|
-
ComponentRenderer.prototype.
|
|
1375
|
+
ComponentRenderer.prototype.ch = function (a) {
|
|
1358
1376
|
return this.adapter.serializeBrush(a);
|
|
1359
1377
|
};
|
|
1360
|
-
ComponentRenderer.prototype.
|
|
1378
|
+
ComponentRenderer.prototype.h = function (a, b, c) {
|
|
1361
1379
|
var d = new DescriptionTreeAction();
|
|
1362
1380
|
d.a = 0;
|
|
1363
1381
|
d.c = a;
|
|
@@ -1365,20 +1383,20 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1365
1383
|
var e = new TypeDescriptionMetadata();
|
|
1366
1384
|
e.propertyName = "*argument";
|
|
1367
1385
|
var f;
|
|
1368
|
-
var g = this.
|
|
1386
|
+
var g = this.cw(b, "knownType");
|
|
1369
1387
|
var h = EnumUtil.tryParse$1(TypeDescriptionWellKnownType_$type, g, true, f);
|
|
1370
1388
|
f = h.p2;
|
|
1371
1389
|
e.knownType = f;
|
|
1372
|
-
e.specificExternalType = this.
|
|
1373
|
-
e.specificType = this.
|
|
1374
|
-
e.collectionElementType = this.
|
|
1390
|
+
e.specificExternalType = this.cw(b, "specificExternalType");
|
|
1391
|
+
e.specificType = this.cw(b, "specificType");
|
|
1392
|
+
e.collectionElementType = this.cw(b, "collectionElementType");
|
|
1375
1393
|
d.d = e;
|
|
1376
1394
|
var i = null;
|
|
1377
|
-
i = this.
|
|
1395
|
+
i = this.ca(e, b, c);
|
|
1378
1396
|
d.g = i;
|
|
1379
1397
|
return d;
|
|
1380
1398
|
};
|
|
1381
|
-
ComponentRenderer.prototype.
|
|
1399
|
+
ComponentRenderer.prototype.cw = function (a, b) {
|
|
1382
1400
|
if (typeCast(JsonDictionaryObject.$, a) !== null) {
|
|
1383
1401
|
var c = a;
|
|
1384
1402
|
if (c.g(b)) {
|
|
@@ -1387,17 +1405,17 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1387
1405
|
}
|
|
1388
1406
|
return null;
|
|
1389
1407
|
};
|
|
1390
|
-
ComponentRenderer.prototype.
|
|
1408
|
+
ComponentRenderer.prototype.ca = function (a, b, c) {
|
|
1391
1409
|
if (typeCast(JsonDictionaryObject.$, b) !== null) {
|
|
1392
1410
|
var d = b;
|
|
1393
1411
|
if (d.g("value")) {
|
|
1394
1412
|
var e = (d.item("value")) != null ? (d.item("value")) : null;
|
|
1395
|
-
return this.
|
|
1413
|
+
return this.b6(a.knownType, a.specificType, a.specificExternalType, a.collectionElementType, e, c);
|
|
1396
1414
|
}
|
|
1397
1415
|
}
|
|
1398
1416
|
return null;
|
|
1399
1417
|
};
|
|
1400
|
-
ComponentRenderer.prototype.
|
|
1418
|
+
ComponentRenderer.prototype.b6 = function (a, b, c, d, e, f) {
|
|
1401
1419
|
if (typeCast(JsonDictionaryObject.$, e) !== null) {
|
|
1402
1420
|
var g = e;
|
|
1403
1421
|
if (g.g("type") || g.g("refType")) {
|
|
@@ -1440,7 +1458,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1440
1458
|
var r = void 0;
|
|
1441
1459
|
var s = void 0;
|
|
1442
1460
|
var t = void 0;
|
|
1443
|
-
var u = this.
|
|
1461
|
+
var u = this.dm(o, n, b, c, q, r, s, t);
|
|
1444
1462
|
q = u.p4;
|
|
1445
1463
|
r = u.p5;
|
|
1446
1464
|
s = u.p6;
|
|
@@ -1448,7 +1466,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1448
1466
|
if (m.items != null) {
|
|
1449
1467
|
for (var v = 0; v < m.items.length; v++) {
|
|
1450
1468
|
var w = m.items[v];
|
|
1451
|
-
var x = this.
|
|
1469
|
+
var x = this.b6(q, r, s, t, w, f);
|
|
1452
1470
|
p[v] = x;
|
|
1453
1471
|
}
|
|
1454
1472
|
}
|
|
@@ -1459,7 +1477,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1459
1477
|
}
|
|
1460
1478
|
return e;
|
|
1461
1479
|
};
|
|
1462
|
-
ComponentRenderer.prototype.
|
|
1480
|
+
ComponentRenderer.prototype.dm = function (a, b, c, d, e, f, g, h) {
|
|
1463
1481
|
if (a) {
|
|
1464
1482
|
e = 8;
|
|
1465
1483
|
f = b;
|
|
@@ -1548,45 +1566,45 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1548
1566
|
};
|
|
1549
1567
|
ComponentRenderer.prototype.resolveRefValue = function (a, b, c) {
|
|
1550
1568
|
var _this = this;
|
|
1551
|
-
this.
|
|
1552
|
-
if (!_this.
|
|
1553
|
-
_this.
|
|
1569
|
+
this.dt(a, function () {
|
|
1570
|
+
if (!_this.a8.containsKey(a)) {
|
|
1571
|
+
_this.a8.addItem(a, ((function () {
|
|
1554
1572
|
var $ret = new ContainerState();
|
|
1555
1573
|
$ret.i = a;
|
|
1556
1574
|
return $ret;
|
|
1557
1575
|
})()));
|
|
1558
1576
|
}
|
|
1559
|
-
var d = _this.
|
|
1577
|
+
var d = _this.a8.item(a);
|
|
1560
1578
|
if (!_this.hasRef(b)) {
|
|
1561
|
-
if (_this.
|
|
1562
|
-
c(_this.
|
|
1579
|
+
if (_this.a9.containsKey(b)) {
|
|
1580
|
+
c(_this.a9.item(b));
|
|
1563
1581
|
return;
|
|
1564
1582
|
}
|
|
1565
|
-
if (!_this.
|
|
1583
|
+
if (!_this.y(a)) {
|
|
1566
1584
|
_this.queueForIdle(a, function () { return _this.resolveRefValue(a, b, c); });
|
|
1567
1585
|
return;
|
|
1568
1586
|
}
|
|
1569
1587
|
c(null);
|
|
1570
1588
|
return;
|
|
1571
1589
|
}
|
|
1572
|
-
var e = _this.
|
|
1573
|
-
var f = _this.
|
|
1590
|
+
var e = _this.g(b);
|
|
1591
|
+
var f = _this.cd(e);
|
|
1574
1592
|
c(f);
|
|
1575
1593
|
});
|
|
1576
1594
|
};
|
|
1577
1595
|
ComponentRenderer.prototype.resolveRefName = function (a, b, c) {
|
|
1578
1596
|
var _this = this;
|
|
1579
|
-
this.
|
|
1580
|
-
if (!_this.
|
|
1581
|
-
_this.
|
|
1597
|
+
this.dt(a, function () {
|
|
1598
|
+
if (!_this.a8.containsKey(a)) {
|
|
1599
|
+
_this.a8.addItem(a, ((function () {
|
|
1582
1600
|
var $ret = new ContainerState();
|
|
1583
1601
|
$ret.i = a;
|
|
1584
1602
|
return $ret;
|
|
1585
1603
|
})()));
|
|
1586
1604
|
}
|
|
1587
|
-
var d = _this.
|
|
1588
|
-
if (b != null && _this.
|
|
1589
|
-
c(_this.
|
|
1605
|
+
var d = _this.a8.item(a);
|
|
1606
|
+
if (b != null && _this.a6.containsKey(b)) {
|
|
1607
|
+
c(_this.a6.item(b));
|
|
1590
1608
|
return;
|
|
1591
1609
|
}
|
|
1592
1610
|
c(null);
|
|
@@ -1594,40 +1612,40 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1594
1612
|
};
|
|
1595
1613
|
ComponentRenderer.prototype.provideRefValue = function (a, b, c) {
|
|
1596
1614
|
var _this = this;
|
|
1597
|
-
this.
|
|
1598
|
-
if (!_this.
|
|
1599
|
-
_this.
|
|
1615
|
+
this.dt(a, function () {
|
|
1616
|
+
if (!_this.a8.containsKey(a)) {
|
|
1617
|
+
_this.a8.addItem(a, ((function () {
|
|
1600
1618
|
var $ret = new ContainerState();
|
|
1601
1619
|
$ret.i = a;
|
|
1602
1620
|
return $ret;
|
|
1603
1621
|
})()));
|
|
1604
1622
|
}
|
|
1605
|
-
var d = _this.
|
|
1606
|
-
_this.
|
|
1623
|
+
var d = _this.a8.item(a);
|
|
1624
|
+
_this.dx(a, b, c, true);
|
|
1607
1625
|
});
|
|
1608
1626
|
};
|
|
1609
1627
|
ComponentRenderer.prototype.removeRefValue = function (a, b) {
|
|
1610
1628
|
var _this = this;
|
|
1611
|
-
this.
|
|
1612
|
-
if (!_this.
|
|
1613
|
-
_this.
|
|
1629
|
+
this.dt(a, function () {
|
|
1630
|
+
if (!_this.a8.containsKey(a)) {
|
|
1631
|
+
_this.a8.addItem(a, ((function () {
|
|
1614
1632
|
var $ret = new ContainerState();
|
|
1615
1633
|
$ret.i = a;
|
|
1616
1634
|
return $ret;
|
|
1617
1635
|
})()));
|
|
1618
1636
|
}
|
|
1619
|
-
var c = _this.
|
|
1637
|
+
var c = _this.a8.item(a);
|
|
1620
1638
|
_this.removeRefValueCore(a, b, true);
|
|
1621
1639
|
});
|
|
1622
1640
|
};
|
|
1623
|
-
ComponentRenderer.prototype.
|
|
1641
|
+
ComponentRenderer.prototype.ea = function (a) {
|
|
1624
1642
|
var e_11, _a;
|
|
1625
|
-
var b = this.
|
|
1643
|
+
var b = this.a8.item(a);
|
|
1626
1644
|
var c = new List$1(String_$type, 0);
|
|
1627
1645
|
try {
|
|
1628
|
-
for (var _b = __values(fromEnum(this.
|
|
1646
|
+
for (var _b = __values(fromEnum(this.a7.keys)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1629
1647
|
var d = _c.value;
|
|
1630
|
-
if (this.
|
|
1648
|
+
if (this.a7.item(d).c == 0) {
|
|
1631
1649
|
c.add(d);
|
|
1632
1650
|
}
|
|
1633
1651
|
}
|
|
@@ -1648,164 +1666,164 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1648
1666
|
for (var e = 0; e < c.count; e++) {
|
|
1649
1667
|
var f = this.shouldNamespaceSystemRefValues;
|
|
1650
1668
|
this.shouldNamespaceSystemRefValues = false;
|
|
1651
|
-
this.removeRefValueCore(a, c._inner[e], this.
|
|
1669
|
+
this.removeRefValueCore(a, c._inner[e], this.bb.containsKey(c._inner[e]));
|
|
1652
1670
|
this.shouldNamespaceSystemRefValues = f;
|
|
1653
|
-
if (this.
|
|
1654
|
-
for (var g = 0; g < this.
|
|
1655
|
-
this.
|
|
1671
|
+
if (this.bd != null && this.bd.count > 0) {
|
|
1672
|
+
for (var g = 0; g < this.bd.count; g++) {
|
|
1673
|
+
this.bd._inner[g](a, c._inner[e]);
|
|
1656
1674
|
}
|
|
1657
1675
|
}
|
|
1658
1676
|
}
|
|
1659
1677
|
};
|
|
1660
1678
|
ComponentRenderer.prototype.clearRefValues = function (a) {
|
|
1661
1679
|
var _this = this;
|
|
1662
|
-
this.
|
|
1663
|
-
if (!_this.
|
|
1664
|
-
_this.
|
|
1680
|
+
this.dt(a, function () {
|
|
1681
|
+
if (!_this.a8.containsKey(a)) {
|
|
1682
|
+
_this.a8.addItem(a, ((function () {
|
|
1665
1683
|
var $ret = new ContainerState();
|
|
1666
1684
|
$ret.i = a;
|
|
1667
1685
|
return $ret;
|
|
1668
1686
|
})()));
|
|
1669
1687
|
}
|
|
1670
|
-
var b = _this.
|
|
1688
|
+
var b = _this.a8.item(a);
|
|
1671
1689
|
_this.clearUserRefValues();
|
|
1672
1690
|
});
|
|
1673
1691
|
};
|
|
1674
|
-
ComponentRenderer.prototype.
|
|
1675
|
-
if (this.
|
|
1692
|
+
ComponentRenderer.prototype.y = function (a) {
|
|
1693
|
+
if (this.aw.containsKey(a) && this.aw.item(a)) {
|
|
1676
1694
|
return false;
|
|
1677
1695
|
}
|
|
1678
|
-
if (this.
|
|
1696
|
+
if (this.a5.containsKey(a) && this.a5.item(a).count > 0) {
|
|
1679
1697
|
return false;
|
|
1680
1698
|
}
|
|
1681
1699
|
return true;
|
|
1682
1700
|
};
|
|
1683
1701
|
ComponentRenderer.prototype.queueForIdle = function (a, b) {
|
|
1684
1702
|
var _this = this;
|
|
1685
|
-
this.
|
|
1686
|
-
if (_this.
|
|
1703
|
+
this.dt(a, function () {
|
|
1704
|
+
if (_this.y(a)) {
|
|
1687
1705
|
b();
|
|
1688
1706
|
}
|
|
1689
1707
|
else {
|
|
1690
|
-
if (!_this.
|
|
1691
|
-
_this.
|
|
1708
|
+
if (!_this.ay.containsKey(a)) {
|
|
1709
|
+
_this.ay.item(a, new List$1(Delegate_$type, 0));
|
|
1692
1710
|
}
|
|
1693
|
-
_this.
|
|
1711
|
+
_this.ay.item(a).add(b);
|
|
1694
1712
|
}
|
|
1695
1713
|
});
|
|
1696
1714
|
};
|
|
1697
1715
|
ComponentRenderer.prototype.tryFlushIdleActions = function (a) {
|
|
1698
|
-
if (this.
|
|
1699
|
-
if (this.
|
|
1700
|
-
var b = new List$1(Delegate_$type, 1, this.
|
|
1701
|
-
this.
|
|
1716
|
+
if (this.y(a)) {
|
|
1717
|
+
if (this.ay.containsKey(a)) {
|
|
1718
|
+
var b = new List$1(Delegate_$type, 1, this.ay.item(a));
|
|
1719
|
+
this.ay.item(a).clear();
|
|
1702
1720
|
for (var c = 0; c < b.count; c++) {
|
|
1703
1721
|
b._inner[c]();
|
|
1704
1722
|
}
|
|
1705
1723
|
}
|
|
1706
1724
|
}
|
|
1707
1725
|
};
|
|
1708
|
-
ComponentRenderer.prototype.
|
|
1709
|
-
var c = this.
|
|
1710
|
-
this.
|
|
1726
|
+
ComponentRenderer.prototype.ed = function (a, b) {
|
|
1727
|
+
var c = this.a8.item(a);
|
|
1728
|
+
this.du(a, c, b);
|
|
1711
1729
|
};
|
|
1712
|
-
ComponentRenderer.prototype.
|
|
1730
|
+
ComponentRenderer.prototype.ei = function (a, b) {
|
|
1713
1731
|
if (this.isProceedOnErrorEnabled) {
|
|
1714
1732
|
try {
|
|
1715
|
-
this.
|
|
1733
|
+
this.di(a, b, true);
|
|
1716
1734
|
}
|
|
1717
1735
|
catch (c) {
|
|
1718
|
-
this.
|
|
1736
|
+
this.aw.item(a, false);
|
|
1719
1737
|
}
|
|
1720
1738
|
}
|
|
1721
1739
|
else {
|
|
1722
|
-
this.
|
|
1740
|
+
this.di(a, b, true);
|
|
1723
1741
|
}
|
|
1724
1742
|
};
|
|
1725
|
-
ComponentRenderer.prototype.
|
|
1743
|
+
ComponentRenderer.prototype.ep = function (a, b) {
|
|
1726
1744
|
if (this.isProceedOnErrorEnabled) {
|
|
1727
1745
|
try {
|
|
1728
|
-
this.
|
|
1746
|
+
this.di(a, b, false);
|
|
1729
1747
|
}
|
|
1730
1748
|
catch (c) {
|
|
1731
|
-
this.
|
|
1749
|
+
this.aw.item(a, false);
|
|
1732
1750
|
}
|
|
1733
1751
|
}
|
|
1734
1752
|
else {
|
|
1735
|
-
this.
|
|
1753
|
+
this.di(a, b, false);
|
|
1736
1754
|
}
|
|
1737
1755
|
};
|
|
1738
|
-
ComponentRenderer.prototype.
|
|
1756
|
+
ComponentRenderer.prototype.di = function (a, b, c) {
|
|
1739
1757
|
if (!c) {
|
|
1740
|
-
if (this.
|
|
1758
|
+
if (this.aw.containsKey(a) && this.aw.item(a)) {
|
|
1741
1759
|
return;
|
|
1742
1760
|
}
|
|
1743
1761
|
}
|
|
1744
|
-
this.
|
|
1762
|
+
this.aw.item(a, true);
|
|
1745
1763
|
var d = true;
|
|
1746
|
-
while (d && this.
|
|
1747
|
-
while (this.
|
|
1748
|
-
this.
|
|
1764
|
+
while (d && this.a5.item(a).count > 0) {
|
|
1765
|
+
while (this.a5.item(a).count > 0 && this.a5.item(a).c().count < 1) {
|
|
1766
|
+
this.a5.item(a).b();
|
|
1749
1767
|
}
|
|
1750
|
-
if (this.
|
|
1768
|
+
if (this.a5.item(a).count < 1) {
|
|
1751
1769
|
break;
|
|
1752
1770
|
}
|
|
1753
|
-
var e = this.
|
|
1771
|
+
var e = this.a5.item(a).c();
|
|
1754
1772
|
while (e.count > 0) {
|
|
1755
1773
|
var f = e.b();
|
|
1756
|
-
d = this.
|
|
1774
|
+
d = this.ad(a, b, f);
|
|
1757
1775
|
if (!d) {
|
|
1758
1776
|
break;
|
|
1759
1777
|
}
|
|
1760
1778
|
}
|
|
1761
1779
|
}
|
|
1762
1780
|
if (d) {
|
|
1763
|
-
this.
|
|
1781
|
+
this.aw.item(a, false);
|
|
1764
1782
|
}
|
|
1765
|
-
if (this.
|
|
1783
|
+
if (this.y(a)) {
|
|
1766
1784
|
this.tryFlushIdleActions(a);
|
|
1767
1785
|
}
|
|
1768
1786
|
};
|
|
1769
|
-
ComponentRenderer.prototype.
|
|
1787
|
+
ComponentRenderer.prototype.du = function (a, b, c) {
|
|
1770
1788
|
var d = new Queue$1(DescriptionTreeAction.$);
|
|
1771
1789
|
for (var e = 0; e < c.count; e++) {
|
|
1772
1790
|
d.g(c._inner[e]);
|
|
1773
1791
|
}
|
|
1774
|
-
if (!this.
|
|
1775
|
-
this.
|
|
1792
|
+
if (!this.a5.containsKey(a)) {
|
|
1793
|
+
this.a5.addItem(a, new Queue$1(Queue$1.$.specialize(DescriptionTreeAction.$)));
|
|
1776
1794
|
}
|
|
1777
|
-
this.
|
|
1778
|
-
this.
|
|
1795
|
+
this.a5.item(a).g(d);
|
|
1796
|
+
this.ep(a, b);
|
|
1779
1797
|
};
|
|
1780
|
-
ComponentRenderer.prototype.
|
|
1798
|
+
ComponentRenderer.prototype.dv = function (a, b, c) {
|
|
1781
1799
|
for (var d = 0; d < c.count; d++) {
|
|
1782
|
-
this.
|
|
1800
|
+
this.ad(a, b, c._inner[d]);
|
|
1783
1801
|
}
|
|
1784
1802
|
};
|
|
1785
|
-
ComponentRenderer.prototype.
|
|
1803
|
+
ComponentRenderer.prototype.ad = function (a, b, c) {
|
|
1786
1804
|
switch (c.a) {
|
|
1787
|
-
case 5: return this.
|
|
1788
|
-
case 2: return this.
|
|
1789
|
-
case 4: return this.
|
|
1790
|
-
case 3: return this.
|
|
1791
|
-
case 1: return this.
|
|
1792
|
-
case 0: return this.
|
|
1805
|
+
case 5: return this.ae(a, b, c);
|
|
1806
|
+
case 2: return this.af(a, b, c);
|
|
1807
|
+
case 4: return this.ak(a, b, c);
|
|
1808
|
+
case 3: return this.al(a, b, c);
|
|
1809
|
+
case 1: return this.am(a, b, c);
|
|
1810
|
+
case 0: return this.ao(a, b, c);
|
|
1793
1811
|
}
|
|
1794
1812
|
return true;
|
|
1795
1813
|
};
|
|
1796
|
-
ComponentRenderer.prototype.
|
|
1797
|
-
var d = this.
|
|
1798
|
-
this.
|
|
1814
|
+
ComponentRenderer.prototype.ao = function (a, b, c) {
|
|
1815
|
+
var d = this.ce(a, b, c);
|
|
1816
|
+
this.av(a, b, c, d);
|
|
1799
1817
|
return true;
|
|
1800
1818
|
};
|
|
1801
|
-
ComponentRenderer.prototype.
|
|
1802
|
-
var e = this.
|
|
1803
|
-
e = this.
|
|
1819
|
+
ComponentRenderer.prototype.av = function (a, b, c, d) {
|
|
1820
|
+
var e = this.cb(c, a, b);
|
|
1821
|
+
e = this.k.transform(ComponentRenderer.platform, e, c);
|
|
1804
1822
|
var f = false;
|
|
1805
|
-
if (this.
|
|
1806
|
-
for (var g = 0; g < this.
|
|
1807
|
-
var h = this.
|
|
1808
|
-
var i = this.
|
|
1823
|
+
if (this.bi != null && this.bi.count > 0) {
|
|
1824
|
+
for (var g = 0; g < this.bi.count; g++) {
|
|
1825
|
+
var h = this.bi._inner[g];
|
|
1826
|
+
var i = this.cz(a, c);
|
|
1809
1827
|
if (h(i, d, e)) {
|
|
1810
1828
|
f = true;
|
|
1811
1829
|
}
|
|
@@ -1818,18 +1836,18 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1818
1836
|
return true;
|
|
1819
1837
|
}
|
|
1820
1838
|
if (c.d != null && c.d.knownType == 9) {
|
|
1821
|
-
this.
|
|
1839
|
+
this.as(a, b, c.i(ComponentRenderer.platform), c.d, e, d);
|
|
1822
1840
|
}
|
|
1823
1841
|
else {
|
|
1824
|
-
this.
|
|
1842
|
+
this.em(a, b, c.i(ComponentRenderer.platform), c.d, e, c.h, d);
|
|
1825
1843
|
}
|
|
1826
1844
|
return true;
|
|
1827
1845
|
};
|
|
1828
|
-
ComponentRenderer.prototype.
|
|
1846
|
+
ComponentRenderer.prototype.cz = function (a, b) {
|
|
1829
1847
|
var c = b.c;
|
|
1830
1848
|
var d = "";
|
|
1831
|
-
if (c != this.
|
|
1832
|
-
var e = this.
|
|
1849
|
+
if (c != this.ax.item(a)) {
|
|
1850
|
+
var e = this.cx(a, c);
|
|
1833
1851
|
d = e;
|
|
1834
1852
|
}
|
|
1835
1853
|
if (d.length > 0) {
|
|
@@ -1838,17 +1856,17 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1838
1856
|
d += b.j;
|
|
1839
1857
|
return d;
|
|
1840
1858
|
};
|
|
1841
|
-
ComponentRenderer.prototype.
|
|
1859
|
+
ComponentRenderer.prototype.cx = function (a, b) {
|
|
1842
1860
|
if (b == null) {
|
|
1843
1861
|
return "";
|
|
1844
1862
|
}
|
|
1845
|
-
var c = this.
|
|
1863
|
+
var c = this.c4("", this.ax.item(a), b);
|
|
1846
1864
|
if (c.c) {
|
|
1847
1865
|
return c.d;
|
|
1848
1866
|
}
|
|
1849
1867
|
return "";
|
|
1850
1868
|
};
|
|
1851
|
-
ComponentRenderer.prototype.
|
|
1869
|
+
ComponentRenderer.prototype.c4 = function (a, b, c) {
|
|
1852
1870
|
if (b == c) {
|
|
1853
1871
|
return new Tuple$2(Boolean_$type, String_$type, true, a);
|
|
1854
1872
|
}
|
|
@@ -1865,7 +1883,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1865
1883
|
}
|
|
1866
1884
|
else {
|
|
1867
1885
|
var g = a + f.c;
|
|
1868
|
-
var h = this.
|
|
1886
|
+
var h = this.c4(g, f.b, c);
|
|
1869
1887
|
if (h.c) {
|
|
1870
1888
|
return h;
|
|
1871
1889
|
}
|
|
@@ -1882,7 +1900,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1882
1900
|
}
|
|
1883
1901
|
else {
|
|
1884
1902
|
var l = a + f.c + "[" + j + "]";
|
|
1885
|
-
var m = this.
|
|
1903
|
+
var m = this.c4(l, k, c);
|
|
1886
1904
|
if (m.c) {
|
|
1887
1905
|
return m;
|
|
1888
1906
|
}
|
|
@@ -1893,11 +1911,11 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1893
1911
|
}
|
|
1894
1912
|
return new Tuple$2(Boolean_$type, String_$type, false, a);
|
|
1895
1913
|
};
|
|
1896
|
-
ComponentRenderer.prototype.
|
|
1914
|
+
ComponentRenderer.prototype.as = function (a, b, c, d, e, f) {
|
|
1897
1915
|
var e_12, _a;
|
|
1898
|
-
if (this.
|
|
1916
|
+
if (this.ba.containsKey(c)) {
|
|
1899
1917
|
try {
|
|
1900
|
-
for (var _b = __values(fromEnum(this.
|
|
1918
|
+
for (var _b = __values(fromEnum(this.ba.item(c))), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1901
1919
|
var g = _c.value;
|
|
1902
1920
|
g(c, f, e);
|
|
1903
1921
|
}
|
|
@@ -1919,43 +1937,43 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1919
1937
|
this.adapter.setOrUpdateCollectionOnTarget(a, c, d, this.context, f, e);
|
|
1920
1938
|
return true;
|
|
1921
1939
|
};
|
|
1922
|
-
ComponentRenderer.prototype.
|
|
1940
|
+
ComponentRenderer.prototype.cb = function (a, b, c) {
|
|
1923
1941
|
if (a.d == null) {
|
|
1924
1942
|
return a.g;
|
|
1925
1943
|
}
|
|
1926
1944
|
switch (a.d.knownType) {
|
|
1927
|
-
case 10: return this.
|
|
1928
|
-
case 7: return this.
|
|
1929
|
-
case 4: return this.
|
|
1930
|
-
case 6: return this.
|
|
1931
|
-
case 23: return this.
|
|
1932
|
-
case 9: return this.
|
|
1933
|
-
case 5: return this.
|
|
1934
|
-
case 16: return this.
|
|
1935
|
-
case 20: return this.
|
|
1936
|
-
case 22: return this.
|
|
1945
|
+
case 10: return this.bo(a, b, c);
|
|
1946
|
+
case 7: return this.bp(a);
|
|
1947
|
+
case 4: return this.bq(a);
|
|
1948
|
+
case 6: return this.br(a);
|
|
1949
|
+
case 23: return this.bv(a);
|
|
1950
|
+
case 9: return this.bo(a, b, c);
|
|
1951
|
+
case 5: return this.bs(a);
|
|
1952
|
+
case 16: return this.bt(a);
|
|
1953
|
+
case 20: return this.cq(a, c);
|
|
1954
|
+
case 22: return this.ct(a, c);
|
|
1937
1955
|
case 15: return null;
|
|
1938
|
-
case 3: return this.
|
|
1939
|
-
case 19: return this.
|
|
1940
|
-
case 8: return this.
|
|
1956
|
+
case 3: return this.bu(a);
|
|
1957
|
+
case 19: return this.cr(a, c);
|
|
1958
|
+
case 8: return this.bx(a, b, c);
|
|
1941
1959
|
case 13: return null;
|
|
1942
|
-
case 18: return this.
|
|
1943
|
-
case 1: return this.
|
|
1944
|
-
case 11: return this.
|
|
1945
|
-
case 14: return this.
|
|
1946
|
-
case 12: return this.
|
|
1947
|
-
case 2: return this.
|
|
1948
|
-
case 21: return this.
|
|
1949
|
-
case 17: return this.
|
|
1960
|
+
case 18: return this.cs(a, c);
|
|
1961
|
+
case 1: return this.by(a);
|
|
1962
|
+
case 11: return this.bz(a);
|
|
1963
|
+
case 14: return this.b0(a);
|
|
1964
|
+
case 12: return this.b1(a);
|
|
1965
|
+
case 2: return this.b2(a);
|
|
1966
|
+
case 21: return this.b3(a);
|
|
1967
|
+
case 17: return this.b4(a, b, c);
|
|
1950
1968
|
case 0: return null;
|
|
1951
1969
|
}
|
|
1952
1970
|
return null;
|
|
1953
1971
|
};
|
|
1954
|
-
ComponentRenderer.prototype.
|
|
1955
|
-
var d = this.
|
|
1972
|
+
ComponentRenderer.prototype.b4 = function (a, b, c) {
|
|
1973
|
+
var d = this.b5(a.g, a, b, c);
|
|
1956
1974
|
return d;
|
|
1957
1975
|
};
|
|
1958
|
-
ComponentRenderer.prototype.
|
|
1976
|
+
ComponentRenderer.prototype.b5 = function (a, b, c, d) {
|
|
1959
1977
|
if (typeof a === 'string') {
|
|
1960
1978
|
if (stringStartsWith(a, "@d:")) {
|
|
1961
1979
|
var v_ = a.substr(3);
|
|
@@ -1966,7 +1984,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1966
1984
|
var e = a;
|
|
1967
1985
|
var f = new Array(e.length);
|
|
1968
1986
|
for (var g = 0; g < e.length; g++) {
|
|
1969
|
-
var h = this.
|
|
1987
|
+
var h = this.b5(e[g], b, c, d);
|
|
1970
1988
|
f[g] = h;
|
|
1971
1989
|
}
|
|
1972
1990
|
a = f;
|
|
@@ -1974,25 +1992,25 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1974
1992
|
if (typeCast(DescriptionTreeNode.$, a) !== null) {
|
|
1975
1993
|
var i = a;
|
|
1976
1994
|
if (i.i == "EmbeddedRef") {
|
|
1977
|
-
return this.
|
|
1995
|
+
return this.b8(i.i, a, c, d, false, b.c.g, b.d);
|
|
1978
1996
|
}
|
|
1979
1997
|
}
|
|
1980
1998
|
return a;
|
|
1981
1999
|
};
|
|
1982
|
-
ComponentRenderer.prototype.
|
|
2000
|
+
ComponentRenderer.prototype.b3 = function (a) {
|
|
1983
2001
|
return a.g;
|
|
1984
2002
|
};
|
|
1985
|
-
ComponentRenderer.prototype.
|
|
2003
|
+
ComponentRenderer.prototype.b2 = function (a) {
|
|
1986
2004
|
return a.g != null ? a.g.toString() : null;
|
|
1987
2005
|
};
|
|
1988
|
-
ComponentRenderer.prototype.
|
|
2006
|
+
ComponentRenderer.prototype.b1 = function (a) {
|
|
1989
2007
|
var b = a.g;
|
|
1990
2008
|
var width_ = b.width;
|
|
1991
2009
|
var height_ = b.height;
|
|
1992
2010
|
var c = { width: width_, height: height_ };
|
|
1993
2011
|
return c;
|
|
1994
2012
|
};
|
|
1995
|
-
ComponentRenderer.prototype.
|
|
2013
|
+
ComponentRenderer.prototype.b0 = function (a) {
|
|
1996
2014
|
var b = a.g;
|
|
1997
2015
|
var top_ = b.top;
|
|
1998
2016
|
var left_ = b.left;
|
|
@@ -2001,14 +2019,14 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2001
2019
|
var c = { left: left_, top: top_, width: width_, height: height_ };
|
|
2002
2020
|
return c;
|
|
2003
2021
|
};
|
|
2004
|
-
ComponentRenderer.prototype.
|
|
2022
|
+
ComponentRenderer.prototype.bz = function (a) {
|
|
2005
2023
|
var b = a.g;
|
|
2006
2024
|
var x_ = b.x;
|
|
2007
2025
|
var y_ = b.y;
|
|
2008
2026
|
var c = { x: x_, y: y_ };
|
|
2009
2027
|
return c;
|
|
2010
2028
|
};
|
|
2011
|
-
ComponentRenderer.prototype.
|
|
2029
|
+
ComponentRenderer.prototype.by = function (a) {
|
|
2012
2030
|
if (a.g == null) {
|
|
2013
2031
|
if (a.d != null && ((a.d.specificType == "double" || a.d.specificType == "float") || (a.d.specificExternalType == "double" || a.d.specificExternalType == "float"))) {
|
|
2014
2032
|
return NaN;
|
|
@@ -2037,19 +2055,19 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2037
2055
|
}
|
|
2038
2056
|
return b;
|
|
2039
2057
|
};
|
|
2040
|
-
ComponentRenderer.prototype.
|
|
2041
|
-
if (this.
|
|
2042
|
-
var b = this.
|
|
2058
|
+
ComponentRenderer.prototype.f = function (a) {
|
|
2059
|
+
if (this.a7.containsKey(a)) {
|
|
2060
|
+
var b = this.a7.item(a);
|
|
2043
2061
|
return b;
|
|
2044
2062
|
}
|
|
2045
2063
|
var c = new DescriptionRef(a);
|
|
2046
|
-
this.
|
|
2064
|
+
this.a7.addItem(a, c);
|
|
2047
2065
|
return c;
|
|
2048
2066
|
};
|
|
2049
|
-
ComponentRenderer.prototype.
|
|
2050
|
-
return a.g == null ? null : this.
|
|
2067
|
+
ComponentRenderer.prototype.cs = function (a, b) {
|
|
2068
|
+
return a.g == null ? null : this.f(a.g);
|
|
2051
2069
|
};
|
|
2052
|
-
ComponentRenderer.prototype.
|
|
2070
|
+
ComponentRenderer.prototype.bx = function (a, b, c) {
|
|
2053
2071
|
var d = a.d.specificType;
|
|
2054
2072
|
if (d == null) {
|
|
2055
2073
|
d = a.d.specificExternalType;
|
|
@@ -2060,54 +2078,54 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2060
2078
|
d = e.a("Type").b;
|
|
2061
2079
|
}
|
|
2062
2080
|
}
|
|
2063
|
-
var f = this.
|
|
2081
|
+
var f = this.b8(d, a.g, b, c, false, a.c.g, a.d);
|
|
2064
2082
|
return f;
|
|
2065
2083
|
};
|
|
2066
|
-
ComponentRenderer.prototype.
|
|
2067
|
-
return a.g == null ? null : this.
|
|
2084
|
+
ComponentRenderer.prototype.cr = function (a, b) {
|
|
2085
|
+
return a.g == null ? null : this.f(a.g);
|
|
2068
2086
|
};
|
|
2069
|
-
ComponentRenderer.prototype.
|
|
2087
|
+
ComponentRenderer.prototype.bu = function (a) {
|
|
2070
2088
|
if (typeof a.g === 'string') {
|
|
2071
2089
|
var v_ = a.g;
|
|
2072
2090
|
a.g = new Date(v_);
|
|
2073
2091
|
}
|
|
2074
2092
|
return a.g;
|
|
2075
2093
|
};
|
|
2076
|
-
ComponentRenderer.prototype.
|
|
2077
|
-
return a.g == null ? null : this.
|
|
2094
|
+
ComponentRenderer.prototype.cq = function (a, b) {
|
|
2095
|
+
return a.g == null ? null : this.f(a.g);
|
|
2078
2096
|
};
|
|
2079
|
-
ComponentRenderer.prototype.
|
|
2080
|
-
return a.g == null ? null : this.
|
|
2097
|
+
ComponentRenderer.prototype.ct = function (a, b) {
|
|
2098
|
+
return a.g == null ? null : this.f(a.g);
|
|
2081
2099
|
};
|
|
2082
|
-
ComponentRenderer.prototype.
|
|
2100
|
+
ComponentRenderer.prototype.cv = function (a) {
|
|
2083
2101
|
return a;
|
|
2084
2102
|
};
|
|
2085
|
-
ComponentRenderer.prototype.
|
|
2103
|
+
ComponentRenderer.prototype.bt = function (a) {
|
|
2086
2104
|
var b = a.g;
|
|
2087
2105
|
if (b == null) {
|
|
2088
2106
|
return null;
|
|
2089
2107
|
}
|
|
2090
2108
|
var c = new Array(b.length);
|
|
2091
2109
|
for (var d = 0; d < b.length; d++) {
|
|
2092
|
-
c[d] = this.
|
|
2110
|
+
c[d] = this.cv(b[d]);
|
|
2093
2111
|
}
|
|
2094
2112
|
return c;
|
|
2095
2113
|
};
|
|
2096
|
-
ComponentRenderer.prototype.
|
|
2097
|
-
return this.
|
|
2114
|
+
ComponentRenderer.prototype.bs = function (a) {
|
|
2115
|
+
return this.cv(a.g);
|
|
2098
2116
|
};
|
|
2099
|
-
ComponentRenderer.prototype.
|
|
2117
|
+
ComponentRenderer.prototype.br = function (a) {
|
|
2100
2118
|
var b = a.g;
|
|
2101
2119
|
if (b == null) {
|
|
2102
2120
|
return null;
|
|
2103
2121
|
}
|
|
2104
2122
|
var c = new Array(b.length);
|
|
2105
2123
|
for (var d = 0; d < b.length; d++) {
|
|
2106
|
-
c[d] = this.
|
|
2124
|
+
c[d] = this.cu(b[d]);
|
|
2107
2125
|
}
|
|
2108
2126
|
return c;
|
|
2109
2127
|
};
|
|
2110
|
-
ComponentRenderer.prototype.
|
|
2128
|
+
ComponentRenderer.prototype.bv = function (a) {
|
|
2111
2129
|
var b = a.g;
|
|
2112
2130
|
if (b == null) {
|
|
2113
2131
|
return null;
|
|
@@ -2118,59 +2136,59 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2118
2136
|
}
|
|
2119
2137
|
return c;
|
|
2120
2138
|
};
|
|
2121
|
-
ComponentRenderer.prototype.
|
|
2139
|
+
ComponentRenderer.prototype.cu = function (a) {
|
|
2122
2140
|
return a;
|
|
2123
2141
|
};
|
|
2124
|
-
ComponentRenderer.prototype.
|
|
2125
|
-
return this.
|
|
2142
|
+
ComponentRenderer.prototype.bq = function (a) {
|
|
2143
|
+
return this.cu(a.g);
|
|
2126
2144
|
};
|
|
2127
|
-
ComponentRenderer.prototype.
|
|
2145
|
+
ComponentRenderer.prototype.bp = function (a) {
|
|
2128
2146
|
return a.g;
|
|
2129
2147
|
};
|
|
2130
2148
|
ComponentRenderer.prototype.addTargetPropertyUpdatingListener = function (a) {
|
|
2131
|
-
this.
|
|
2149
|
+
this.bi.add(a);
|
|
2132
2150
|
};
|
|
2133
2151
|
ComponentRenderer.prototype.removeTargetPropertyUpdatingListener = function (a) {
|
|
2134
|
-
this.
|
|
2152
|
+
this.bi.remove(a);
|
|
2135
2153
|
};
|
|
2136
2154
|
ComponentRenderer.prototype.addPropertyUpdatingListener = function (a, b) {
|
|
2137
|
-
if (!this.
|
|
2138
|
-
this.
|
|
2155
|
+
if (!this.ba.containsKey(a)) {
|
|
2156
|
+
this.ba.addItem(a, new List$1(Delegate_$type, 0));
|
|
2139
2157
|
}
|
|
2140
|
-
this.
|
|
2158
|
+
this.ba.item(a).add(b);
|
|
2141
2159
|
};
|
|
2142
2160
|
ComponentRenderer.prototype.addReferenceLookupListener = function (a) {
|
|
2143
|
-
this.
|
|
2161
|
+
this.be.add(a);
|
|
2144
2162
|
};
|
|
2145
2163
|
ComponentRenderer.prototype.removeReferenceLookupListener = function (a) {
|
|
2146
|
-
this.
|
|
2164
|
+
this.be.remove(a);
|
|
2147
2165
|
};
|
|
2148
2166
|
ComponentRenderer.prototype.removePropertyUpdatingListener = function (a, b) {
|
|
2149
|
-
if (this.
|
|
2150
|
-
this.
|
|
2151
|
-
if (this.
|
|
2152
|
-
this.
|
|
2167
|
+
if (this.ba.containsKey(a)) {
|
|
2168
|
+
this.ba.item(a).remove(b);
|
|
2169
|
+
if (this.ba.item(a).count == 0) {
|
|
2170
|
+
this.ba.removeItem(a);
|
|
2153
2171
|
}
|
|
2154
2172
|
}
|
|
2155
2173
|
};
|
|
2156
2174
|
ComponentRenderer.prototype.addNamespaceLookupListener = function (a) {
|
|
2157
|
-
this.
|
|
2175
|
+
this.bg.add(a);
|
|
2158
2176
|
};
|
|
2159
2177
|
ComponentRenderer.prototype.removeNamespaceLookupListener = function (a) {
|
|
2160
|
-
this.
|
|
2178
|
+
this.bg.remove(a);
|
|
2161
2179
|
};
|
|
2162
2180
|
ComponentRenderer.prototype.addCleanupListener = function (a) {
|
|
2163
|
-
if (this.
|
|
2164
|
-
this.
|
|
2181
|
+
if (this.bd == null) {
|
|
2182
|
+
this.bd = new List$1(Delegate_$type, 0);
|
|
2165
2183
|
}
|
|
2166
|
-
this.
|
|
2184
|
+
this.bd.add(a);
|
|
2167
2185
|
};
|
|
2168
2186
|
ComponentRenderer.prototype.removeCleanupListener = function (a) {
|
|
2169
|
-
if (this.
|
|
2170
|
-
this.
|
|
2187
|
+
if (this.bd != null) {
|
|
2188
|
+
this.bd.remove(a);
|
|
2171
2189
|
}
|
|
2172
2190
|
};
|
|
2173
|
-
ComponentRenderer.prototype.
|
|
2191
|
+
ComponentRenderer.prototype.bo = function (a, b, c) {
|
|
2174
2192
|
if (a.g == null) {
|
|
2175
2193
|
return null;
|
|
2176
2194
|
}
|
|
@@ -2194,19 +2212,19 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2194
2212
|
h = i.a("Type").b;
|
|
2195
2213
|
}
|
|
2196
2214
|
}
|
|
2197
|
-
var j = this.
|
|
2215
|
+
var j = this.b8(h, d[g], b, c, false, a.c.g, a.d);
|
|
2198
2216
|
e.add1(j);
|
|
2199
2217
|
}
|
|
2200
2218
|
return e.toArray();
|
|
2201
2219
|
};
|
|
2202
|
-
ComponentRenderer.prototype.
|
|
2220
|
+
ComponentRenderer.prototype.em = function (a, b, c, d, e, f, g) {
|
|
2203
2221
|
var _this = this;
|
|
2204
2222
|
if (typeCast(DescriptionRef.$, e) !== null) {
|
|
2205
2223
|
var h = e;
|
|
2206
2224
|
var i = false;
|
|
2207
2225
|
if (f != null && typeof f === 'string') {
|
|
2208
2226
|
if (this.hasRef(f)) {
|
|
2209
|
-
var j = this.
|
|
2227
|
+
var j = this.g(f);
|
|
2210
2228
|
if (Base.equalsStatic(j, e)) {
|
|
2211
2229
|
i = true;
|
|
2212
2230
|
}
|
|
@@ -2215,13 +2233,13 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2215
2233
|
}
|
|
2216
2234
|
}
|
|
2217
2235
|
}
|
|
2218
|
-
if (this.
|
|
2236
|
+
if (this.v(e)) {
|
|
2219
2237
|
var k = e;
|
|
2220
|
-
if (k.e != null && k.e.length > 0 && this.
|
|
2238
|
+
if (k.e != null && k.e.length > 0 && this.a9.containsKey(k.e)) {
|
|
2221
2239
|
k.a = true;
|
|
2222
2240
|
}
|
|
2223
|
-
e = this.
|
|
2224
|
-
this.
|
|
2241
|
+
e = this.cd(e);
|
|
2242
|
+
this.en(g, c, d, e, f, k);
|
|
2225
2243
|
}
|
|
2226
2244
|
else {
|
|
2227
2245
|
this.adapter.onPendingRef(g, c, d, e);
|
|
@@ -2229,21 +2247,33 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2229
2247
|
var l = null;
|
|
2230
2248
|
l = function (m, n) {
|
|
2231
2249
|
var o = m;
|
|
2232
|
-
if (o.e != null && o.e.length > 0 && _this.
|
|
2250
|
+
if (o.e != null && o.e.length > 0 && _this.a9.containsKey(o.e)) {
|
|
2233
2251
|
o.a = true;
|
|
2234
2252
|
}
|
|
2235
|
-
var p = _this.
|
|
2236
|
-
_this.
|
|
2253
|
+
var p = _this.cd(m);
|
|
2254
|
+
_this.en(g, c, d, p, n.b, o);
|
|
2237
2255
|
};
|
|
2238
2256
|
if (!i) {
|
|
2239
2257
|
h.g(a, g, c, l);
|
|
2258
|
+
if (typeCast(DescriptionRef.$, e) !== null) {
|
|
2259
|
+
var m = e;
|
|
2260
|
+
var n = false;
|
|
2261
|
+
if (m.e != null && m.e.length > 0) {
|
|
2262
|
+
var o = this.e(m.e);
|
|
2263
|
+
if (o != null && o.found) {
|
|
2264
|
+
n = true;
|
|
2265
|
+
var p = o.referenceValue;
|
|
2266
|
+
this.provideRefValue(a, m.e, p);
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2240
2270
|
}
|
|
2241
2271
|
return;
|
|
2242
2272
|
}
|
|
2243
|
-
this.
|
|
2273
|
+
this.en(g, c, d, e, f, null);
|
|
2244
2274
|
};
|
|
2245
|
-
ComponentRenderer.prototype.
|
|
2246
|
-
return this.
|
|
2275
|
+
ComponentRenderer.prototype.w = function (a) {
|
|
2276
|
+
return this.bb.containsKey(a);
|
|
2247
2277
|
};
|
|
2248
2278
|
Object.defineProperty(ComponentRenderer.prototype, "shouldNamespaceSystemRefValues", {
|
|
2249
2279
|
get: function () {
|
|
@@ -2255,80 +2285,80 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2255
2285
|
enumerable: false,
|
|
2256
2286
|
configurable: true
|
|
2257
2287
|
});
|
|
2258
|
-
ComponentRenderer.prototype.
|
|
2288
|
+
ComponentRenderer.prototype.dx = function (a, b, c, d) {
|
|
2259
2289
|
var e = null;
|
|
2260
2290
|
if (d) {
|
|
2261
|
-
if (this.
|
|
2262
|
-
e = this.
|
|
2291
|
+
if (this.bb.containsKey(b)) {
|
|
2292
|
+
e = this.bb.item(b);
|
|
2263
2293
|
}
|
|
2264
|
-
this.
|
|
2294
|
+
this.bb.item(b, c);
|
|
2265
2295
|
if (c != null) {
|
|
2266
|
-
this.
|
|
2296
|
+
this.a6.item(c, b);
|
|
2267
2297
|
}
|
|
2268
2298
|
}
|
|
2269
2299
|
else {
|
|
2270
2300
|
if (this.shouldNamespaceSystemRefValues) {
|
|
2271
2301
|
var f = "";
|
|
2272
|
-
if (this.
|
|
2273
|
-
for (var g = 0; g < this.
|
|
2274
|
-
f = this.
|
|
2302
|
+
if (this.bg != null && this.bg.count > 0) {
|
|
2303
|
+
for (var g = 0; g < this.bg.count; g++) {
|
|
2304
|
+
f = this.bg._inner[g](a);
|
|
2275
2305
|
}
|
|
2276
2306
|
}
|
|
2277
2307
|
if (!stringIsNullOrEmpty(f)) {
|
|
2278
2308
|
b = f + "/" + b;
|
|
2279
2309
|
}
|
|
2280
2310
|
}
|
|
2281
|
-
if (this.
|
|
2282
|
-
e = this.
|
|
2311
|
+
if (this.a9.containsKey(b)) {
|
|
2312
|
+
e = this.a9.item(b);
|
|
2283
2313
|
}
|
|
2284
|
-
this.
|
|
2314
|
+
this.a9.item(b, c);
|
|
2285
2315
|
if (c != null) {
|
|
2286
|
-
this.
|
|
2316
|
+
this.a6.item(c, b);
|
|
2287
2317
|
}
|
|
2288
|
-
if (this.
|
|
2289
|
-
this.
|
|
2318
|
+
if (this.a7.containsKey(b)) {
|
|
2319
|
+
this.a7.item(b).a = true;
|
|
2290
2320
|
}
|
|
2291
2321
|
}
|
|
2292
|
-
if (this.
|
|
2293
|
-
this.
|
|
2322
|
+
if (this.a7.containsKey(b)) {
|
|
2323
|
+
this.a7.item(b).f(e, c);
|
|
2294
2324
|
}
|
|
2295
2325
|
};
|
|
2296
2326
|
ComponentRenderer.prototype.removeRefValueCore = function (a, b, c) {
|
|
2297
2327
|
var d = null;
|
|
2298
2328
|
if (c) {
|
|
2299
|
-
if (this.
|
|
2300
|
-
d = this.
|
|
2329
|
+
if (this.bb.containsKey(b)) {
|
|
2330
|
+
d = this.bb.item(b);
|
|
2301
2331
|
}
|
|
2302
|
-
this.
|
|
2303
|
-
if (d != null && this.
|
|
2304
|
-
this.
|
|
2332
|
+
this.bb.removeItem(b);
|
|
2333
|
+
if (d != null && this.a6.containsKey(d)) {
|
|
2334
|
+
this.a6.removeItem(d);
|
|
2305
2335
|
}
|
|
2306
2336
|
}
|
|
2307
2337
|
else {
|
|
2308
2338
|
if (this.shouldNamespaceSystemRefValues) {
|
|
2309
2339
|
var e = "";
|
|
2310
|
-
if (this.
|
|
2311
|
-
for (var f = 0; f < this.
|
|
2312
|
-
e = this.
|
|
2340
|
+
if (this.bg != null && this.bg.count > 0) {
|
|
2341
|
+
for (var f = 0; f < this.bg.count; f++) {
|
|
2342
|
+
e = this.bg._inner[f](a);
|
|
2313
2343
|
}
|
|
2314
2344
|
}
|
|
2315
2345
|
if (!stringIsNullOrEmpty(e)) {
|
|
2316
2346
|
b = e + "/" + b;
|
|
2317
2347
|
}
|
|
2318
2348
|
}
|
|
2319
|
-
if (this.
|
|
2320
|
-
d = this.
|
|
2349
|
+
if (this.a9.containsKey(b)) {
|
|
2350
|
+
d = this.a9.item(b);
|
|
2321
2351
|
}
|
|
2322
|
-
this.
|
|
2323
|
-
if (d != null && this.
|
|
2324
|
-
this.
|
|
2352
|
+
this.a9.removeItem(b);
|
|
2353
|
+
if (d != null && this.a6.containsKey(d)) {
|
|
2354
|
+
this.a6.removeItem(d);
|
|
2325
2355
|
}
|
|
2326
2356
|
}
|
|
2327
|
-
if (this.
|
|
2328
|
-
this.
|
|
2329
|
-
if (this.
|
|
2330
|
-
this.
|
|
2331
|
-
this.
|
|
2357
|
+
if (this.a7.containsKey(b)) {
|
|
2358
|
+
this.a7.item(b).f(d, this.cd(this.a7.item(b)));
|
|
2359
|
+
if (this.a7.item(b).c <= 0) {
|
|
2360
|
+
this.a7.item(b).h();
|
|
2361
|
+
this.a7.removeItem(b);
|
|
2332
2362
|
}
|
|
2333
2363
|
}
|
|
2334
2364
|
};
|
|
@@ -2336,7 +2366,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2336
2366
|
var e_13, _a, e_14, _b;
|
|
2337
2367
|
var a = new List$1(String_$type, 0);
|
|
2338
2368
|
try {
|
|
2339
|
-
for (var _c = __values(fromEnum(this.
|
|
2369
|
+
for (var _c = __values(fromEnum(this.bb.keys)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
2340
2370
|
var b = _d.value;
|
|
2341
2371
|
a.add(b);
|
|
2342
2372
|
}
|
|
@@ -2374,31 +2404,31 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2374
2404
|
}
|
|
2375
2405
|
}
|
|
2376
2406
|
};
|
|
2377
|
-
ComponentRenderer.prototype.
|
|
2378
|
-
return this.
|
|
2407
|
+
ComponentRenderer.prototype.v = function (a) {
|
|
2408
|
+
return this.bb.containsKey(a.e) || this.a9.containsKey(a.e);
|
|
2379
2409
|
};
|
|
2380
|
-
ComponentRenderer.prototype.
|
|
2381
|
-
if (this.
|
|
2382
|
-
return this.
|
|
2410
|
+
ComponentRenderer.prototype.cd = function (a) {
|
|
2411
|
+
if (this.bb.containsKey(a.e)) {
|
|
2412
|
+
return this.bb.item(a.e);
|
|
2383
2413
|
}
|
|
2384
|
-
if (this.
|
|
2385
|
-
return this.
|
|
2414
|
+
if (this.a9.containsKey(a.e)) {
|
|
2415
|
+
return this.a9.item(a.e);
|
|
2386
2416
|
}
|
|
2387
2417
|
return null;
|
|
2388
2418
|
};
|
|
2389
2419
|
ComponentRenderer.prototype.hasRef = function (a) {
|
|
2390
|
-
return this.
|
|
2420
|
+
return this.a7.containsKey(a);
|
|
2391
2421
|
};
|
|
2392
|
-
ComponentRenderer.prototype.
|
|
2393
|
-
return this.
|
|
2422
|
+
ComponentRenderer.prototype.g = function (a) {
|
|
2423
|
+
return this.a7.item(a);
|
|
2394
2424
|
};
|
|
2395
2425
|
ComponentRenderer.prototype.getMissingRefs = function () {
|
|
2396
2426
|
var e_15, _a;
|
|
2397
2427
|
var a = new List$1(String_$type, 0);
|
|
2398
2428
|
try {
|
|
2399
|
-
for (var _b = __values(fromEnum(this.
|
|
2429
|
+
for (var _b = __values(fromEnum(this.a7.keys)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2400
2430
|
var b = _c.value;
|
|
2401
|
-
if (!this.
|
|
2431
|
+
if (!this.v(this.a7.item(b))) {
|
|
2402
2432
|
a.add(b);
|
|
2403
2433
|
}
|
|
2404
2434
|
}
|
|
@@ -2421,7 +2451,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2421
2451
|
ComponentRenderer.prototype.getRefChangeInfos = function (a) {
|
|
2422
2452
|
var e_16, _a;
|
|
2423
2453
|
var b = new List$1(DescriptionRefTargetInfo.$, 0);
|
|
2424
|
-
if (this.
|
|
2454
|
+
if (this.a7.containsKey(a)) {
|
|
2425
2455
|
var _loop_2 = function (c) {
|
|
2426
2456
|
b.add(((function () {
|
|
2427
2457
|
var $ret = new DescriptionRefTargetInfo();
|
|
@@ -2432,7 +2462,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2432
2462
|
})()));
|
|
2433
2463
|
};
|
|
2434
2464
|
try {
|
|
2435
|
-
for (var _b = __values(fromEnum(this.
|
|
2465
|
+
for (var _b = __values(fromEnum(this.a7.item(a).b)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2436
2466
|
var c = _c.value;
|
|
2437
2467
|
_loop_2(c);
|
|
2438
2468
|
}
|
|
@@ -2453,29 +2483,29 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2453
2483
|
}
|
|
2454
2484
|
return b.toArray();
|
|
2455
2485
|
};
|
|
2456
|
-
ComponentRenderer.prototype.
|
|
2486
|
+
ComponentRenderer.prototype.ce = function (a, b, c) {
|
|
2457
2487
|
return b.j(c.c.g);
|
|
2458
2488
|
};
|
|
2459
|
-
ComponentRenderer.prototype.
|
|
2460
|
-
var d = this.
|
|
2461
|
-
this.
|
|
2489
|
+
ComponentRenderer.prototype.am = function (a, b, c) {
|
|
2490
|
+
var d = this.ce(a, b, c);
|
|
2491
|
+
this.ar(a, b, c, d);
|
|
2462
2492
|
return true;
|
|
2463
2493
|
};
|
|
2464
|
-
ComponentRenderer.prototype.
|
|
2494
|
+
ComponentRenderer.prototype.ar = function (a, b, c, d) {
|
|
2465
2495
|
this.adapter.resetPropertyOnTarget(a, c.i(ComponentRenderer.platform), c.d, d);
|
|
2466
2496
|
return true;
|
|
2467
2497
|
};
|
|
2468
|
-
ComponentRenderer.prototype.
|
|
2498
|
+
ComponentRenderer.prototype.al = function (a, b, c) {
|
|
2469
2499
|
if (c.c == null) {
|
|
2470
|
-
return this.
|
|
2500
|
+
return this.aq(a, b, c);
|
|
2471
2501
|
}
|
|
2472
2502
|
else {
|
|
2473
|
-
var d = this.
|
|
2474
|
-
this.
|
|
2503
|
+
var d = this.ce(a, b, c);
|
|
2504
|
+
this.ef(a, b, c, d);
|
|
2475
2505
|
}
|
|
2476
2506
|
return true;
|
|
2477
2507
|
};
|
|
2478
|
-
ComponentRenderer.prototype.
|
|
2508
|
+
ComponentRenderer.prototype.ef = function (a, b, c, d) {
|
|
2479
2509
|
var e = c.i(ComponentRenderer.platform);
|
|
2480
2510
|
var f = c.d.collectionElementType;
|
|
2481
2511
|
if (typeCast(DescriptionTreeNode.$, c.g) !== null) {
|
|
@@ -2487,23 +2517,23 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2487
2517
|
if (f == null) {
|
|
2488
2518
|
f = c.d.specificExternalType;
|
|
2489
2519
|
}
|
|
2490
|
-
var h = this.
|
|
2520
|
+
var h = this.b8(f, c.g, a, b, false, c.c.g, c.d);
|
|
2491
2521
|
this.adapter.replaceItemInCollection(e, c.d, d, c.e, h);
|
|
2492
2522
|
if (c.h != null && typeCast(DescriptionTreeNode.$, c.h) !== null) {
|
|
2493
2523
|
var i = c.h.g;
|
|
2494
2524
|
if (i >= 0) {
|
|
2495
2525
|
var j = b.j(i);
|
|
2496
2526
|
if (j != null) {
|
|
2497
|
-
this.
|
|
2527
|
+
this.dh(a, j, b);
|
|
2498
2528
|
}
|
|
2499
2529
|
}
|
|
2500
2530
|
}
|
|
2501
2531
|
};
|
|
2502
|
-
ComponentRenderer.prototype.
|
|
2532
|
+
ComponentRenderer.prototype.aq = function (a, b, c) {
|
|
2503
2533
|
var _this = this;
|
|
2504
2534
|
var d = this.adapter.getRootObject(a);
|
|
2505
2535
|
if (d != null) {
|
|
2506
|
-
this.
|
|
2536
|
+
this.dh(a, d, b);
|
|
2507
2537
|
}
|
|
2508
2538
|
if (!(typeCast(DescriptionTreeNode.$, c.g) !== null)) {
|
|
2509
2539
|
throw new NotImplementedException(0);
|
|
@@ -2512,21 +2542,21 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2512
2542
|
var f = false;
|
|
2513
2543
|
this.adapter.replaceRootItem(a, e.i, this.context, function (g) {
|
|
2514
2544
|
var h = _this.adapter.getRootObject(a);
|
|
2515
|
-
b.k(a, e.g, h, e, runOn(_this, _this.
|
|
2516
|
-
var i = _this.
|
|
2517
|
-
_this.
|
|
2545
|
+
b.k(a, e.g, h, e, runOn(_this, _this.dx), -1);
|
|
2546
|
+
var i = _this.bj(e);
|
|
2547
|
+
_this.dv(a, b, i);
|
|
2518
2548
|
f = true;
|
|
2519
2549
|
if (g) {
|
|
2520
|
-
_this.
|
|
2550
|
+
_this.ei(a, b);
|
|
2521
2551
|
}
|
|
2522
2552
|
});
|
|
2523
2553
|
return f;
|
|
2524
2554
|
};
|
|
2525
|
-
ComponentRenderer.prototype.
|
|
2555
|
+
ComponentRenderer.prototype.dh = function (a, b, c) {
|
|
2526
2556
|
var e_17, _a;
|
|
2527
|
-
var d = this.
|
|
2557
|
+
var d = this.bm(a, b, c);
|
|
2528
2558
|
try {
|
|
2529
|
-
for (var _b = __values(fromEnum(this.
|
|
2559
|
+
for (var _b = __values(fromEnum(this.a7.values)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2530
2560
|
var e = _c.value;
|
|
2531
2561
|
e.i(b);
|
|
2532
2562
|
}
|
|
@@ -2547,22 +2577,22 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2547
2577
|
if (d != -1) {
|
|
2548
2578
|
c.l(this, a, d, runOn(this, this.removeRefValueCore));
|
|
2549
2579
|
}
|
|
2550
|
-
this.
|
|
2580
|
+
this.l.b(ComponentRenderer.platform, b);
|
|
2551
2581
|
};
|
|
2552
|
-
ComponentRenderer.prototype.
|
|
2582
|
+
ComponentRenderer.prototype.bm = function (a, b, c) {
|
|
2553
2583
|
return c.h(b);
|
|
2554
2584
|
};
|
|
2555
|
-
ComponentRenderer.prototype.
|
|
2585
|
+
ComponentRenderer.prototype.ak = function (a, b, c) {
|
|
2556
2586
|
if (c.c == null) {
|
|
2557
|
-
return this.
|
|
2587
|
+
return this.ap(a, b, c);
|
|
2558
2588
|
}
|
|
2559
2589
|
else {
|
|
2560
|
-
var d = this.
|
|
2561
|
-
this.
|
|
2590
|
+
var d = this.ce(a, b, c);
|
|
2591
|
+
this.d1(a, b, c, d);
|
|
2562
2592
|
}
|
|
2563
2593
|
return true;
|
|
2564
2594
|
};
|
|
2565
|
-
ComponentRenderer.prototype.
|
|
2595
|
+
ComponentRenderer.prototype.d1 = function (a, b, c, d) {
|
|
2566
2596
|
var e = c.i(ComponentRenderer.platform);
|
|
2567
2597
|
this.adapter.removeItemFromCollection(e, c.d, d, c.f);
|
|
2568
2598
|
if (c.h != null && typeCast(DescriptionTreeNode.$, c.h) !== null) {
|
|
@@ -2570,37 +2600,37 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2570
2600
|
if (f >= 0) {
|
|
2571
2601
|
var g = b.j(f);
|
|
2572
2602
|
if (g != null) {
|
|
2573
|
-
this.
|
|
2603
|
+
this.dh(a, g, b);
|
|
2574
2604
|
}
|
|
2575
2605
|
}
|
|
2576
2606
|
}
|
|
2577
2607
|
};
|
|
2578
|
-
ComponentRenderer.prototype.
|
|
2608
|
+
ComponentRenderer.prototype.ap = function (a, b, c) {
|
|
2579
2609
|
var _this = this;
|
|
2580
2610
|
var d = this.adapter.getRootObject(a);
|
|
2581
2611
|
if (d != null) {
|
|
2582
|
-
this.
|
|
2612
|
+
this.dh(a, d, b);
|
|
2583
2613
|
}
|
|
2584
2614
|
var e = false;
|
|
2585
2615
|
this.adapter.removeRootItem(a, this.context, function (f) {
|
|
2586
2616
|
e = true;
|
|
2587
2617
|
if (f) {
|
|
2588
|
-
_this.
|
|
2618
|
+
_this.ei(a, b);
|
|
2589
2619
|
}
|
|
2590
2620
|
});
|
|
2591
2621
|
return e;
|
|
2592
2622
|
};
|
|
2593
|
-
ComponentRenderer.prototype.
|
|
2623
|
+
ComponentRenderer.prototype.af = function (a, b, c) {
|
|
2594
2624
|
if (c.c == null) {
|
|
2595
|
-
return this.
|
|
2625
|
+
return this.o(a, b, c);
|
|
2596
2626
|
}
|
|
2597
2627
|
else {
|
|
2598
|
-
var d = this.
|
|
2599
|
-
this.
|
|
2628
|
+
var d = this.ce(a, b, c);
|
|
2629
|
+
this.c6(a, b, c, d);
|
|
2600
2630
|
}
|
|
2601
2631
|
return true;
|
|
2602
2632
|
};
|
|
2603
|
-
ComponentRenderer.prototype.
|
|
2633
|
+
ComponentRenderer.prototype.o = function (a, b, c) {
|
|
2604
2634
|
var _this = this;
|
|
2605
2635
|
if (!(typeCast(DescriptionTreeNode.$, c.g) !== null)) {
|
|
2606
2636
|
throw new NotImplementedException(0);
|
|
@@ -2609,17 +2639,17 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2609
2639
|
var e = false;
|
|
2610
2640
|
this.adapter.replaceRootItem(a, d.i, this.context, function (f) {
|
|
2611
2641
|
var g = _this.adapter.getRootObject(a);
|
|
2612
|
-
b.k(a, d.g, g, d, runOn(_this, _this.
|
|
2613
|
-
var h = _this.
|
|
2614
|
-
_this.
|
|
2642
|
+
b.k(a, d.g, g, d, runOn(_this, _this.dx), -1);
|
|
2643
|
+
var h = _this.bj(d);
|
|
2644
|
+
_this.dv(a, b, h);
|
|
2615
2645
|
e = true;
|
|
2616
2646
|
if (f) {
|
|
2617
|
-
_this.
|
|
2647
|
+
_this.ei(a, b);
|
|
2618
2648
|
}
|
|
2619
2649
|
});
|
|
2620
2650
|
return e;
|
|
2621
2651
|
};
|
|
2622
|
-
ComponentRenderer.prototype.
|
|
2652
|
+
ComponentRenderer.prototype.c6 = function (a, b, c, d) {
|
|
2623
2653
|
var e = c.i(ComponentRenderer.platform);
|
|
2624
2654
|
var f = c.d.collectionElementType;
|
|
2625
2655
|
if (typeCast(DescriptionTreeNode.$, c.g) !== null) {
|
|
@@ -2631,11 +2661,11 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2631
2661
|
if (f == null) {
|
|
2632
2662
|
f = c.d.specificExternalType;
|
|
2633
2663
|
}
|
|
2634
|
-
var h = this.
|
|
2664
|
+
var h = this.b8(f, c.g, a, b, false, c.c.g, c.d);
|
|
2635
2665
|
this.adapter.addItemToCollection(e, c.d, d, c.e, h);
|
|
2636
2666
|
};
|
|
2637
|
-
ComponentRenderer.prototype.
|
|
2638
|
-
if (this.
|
|
2667
|
+
ComponentRenderer.prototype.b8 = function (a, b, c, d, e, f, g) {
|
|
2668
|
+
if (this.z(a)) {
|
|
2639
2669
|
return b;
|
|
2640
2670
|
}
|
|
2641
2671
|
var h = null;
|
|
@@ -2647,17 +2677,17 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2647
2677
|
if (!stringIsNullOrEmpty(j)) {
|
|
2648
2678
|
if (this.shouldNamespaceSystemRefValues) {
|
|
2649
2679
|
var k = "";
|
|
2650
|
-
if (this.
|
|
2651
|
-
for (var l = 0; l < this.
|
|
2652
|
-
k = this.
|
|
2680
|
+
if (this.bg != null && this.bg.count > 0) {
|
|
2681
|
+
for (var l = 0; l < this.bg.count; l++) {
|
|
2682
|
+
k = this.bg._inner[l](c);
|
|
2653
2683
|
}
|
|
2654
2684
|
}
|
|
2655
2685
|
if (!stringIsNullOrEmpty(k)) {
|
|
2656
2686
|
j = k + "/" + j;
|
|
2657
2687
|
}
|
|
2658
2688
|
}
|
|
2659
|
-
if (this.
|
|
2660
|
-
var m = this.
|
|
2689
|
+
if (this.a9.containsKey(j)) {
|
|
2690
|
+
var m = this.a9.item(j);
|
|
2661
2691
|
h = m;
|
|
2662
2692
|
}
|
|
2663
2693
|
}
|
|
@@ -2686,33 +2716,33 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2686
2716
|
}
|
|
2687
2717
|
}
|
|
2688
2718
|
if (p != null) {
|
|
2689
|
-
for (var r = 0; r < this.
|
|
2690
|
-
var s = this.
|
|
2719
|
+
for (var r = 0; r < this.be.count; r++) {
|
|
2720
|
+
var s = this.be._inner[r](c, o, p);
|
|
2691
2721
|
if (s != null) {
|
|
2692
2722
|
return s;
|
|
2693
2723
|
}
|
|
2694
2724
|
}
|
|
2695
2725
|
if (o == "name") {
|
|
2696
2726
|
var t = p;
|
|
2697
|
-
if (this.
|
|
2698
|
-
return this.
|
|
2727
|
+
if (this.a9.containsKey(t)) {
|
|
2728
|
+
return this.a9.item(t);
|
|
2699
2729
|
}
|
|
2700
2730
|
}
|
|
2701
2731
|
return null;
|
|
2702
2732
|
}
|
|
2703
2733
|
}
|
|
2704
2734
|
else {
|
|
2705
|
-
if (!this.
|
|
2706
|
-
this.
|
|
2735
|
+
if (!this.a8.containsKey(c)) {
|
|
2736
|
+
this.a8.addItem(c, ((function () {
|
|
2707
2737
|
var $ret = new ContainerState();
|
|
2708
2738
|
$ret.i = c;
|
|
2709
2739
|
return $ret;
|
|
2710
2740
|
})()));
|
|
2711
|
-
d = this.
|
|
2741
|
+
d = this.a8.item(c);
|
|
2712
2742
|
}
|
|
2713
|
-
d.k(c, n.g, h, n, runOn(this, this.
|
|
2714
|
-
var u = this.
|
|
2715
|
-
this.
|
|
2743
|
+
d.k(c, n.g, h, n, runOn(this, this.dx), f);
|
|
2744
|
+
var u = this.bj(n);
|
|
2745
|
+
this.dv(c, d, u);
|
|
2716
2746
|
if (e) {
|
|
2717
2747
|
d.l(this, c, n.g, runOn(this, this.removeRefValueCore));
|
|
2718
2748
|
}
|
|
@@ -2726,23 +2756,23 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2726
2756
|
return x;
|
|
2727
2757
|
}
|
|
2728
2758
|
if (!v && typeof b === 'string' && a.toLowerCase() != "string") {
|
|
2729
|
-
return this.
|
|
2759
|
+
return this.bw(a, b, g);
|
|
2730
2760
|
}
|
|
2731
2761
|
if (v) {
|
|
2732
2762
|
return b;
|
|
2733
2763
|
}
|
|
2734
2764
|
return h;
|
|
2735
2765
|
};
|
|
2736
|
-
ComponentRenderer.prototype.
|
|
2766
|
+
ComponentRenderer.prototype.z = function (a) {
|
|
2737
2767
|
return a == "int" || a == "Int32" || a == "short" || a == "Int16" || a == "double" || a == "Double" || a == "float" || a == "Float" || a == "Single" || a == "single" || a == "DateTime" || a == "decimal" || a == "Decimal" || a == "long" || a == "Int64" || a == "byte" || a == "bool" || a == "string" || a == "String";
|
|
2738
2768
|
};
|
|
2739
|
-
ComponentRenderer.prototype.
|
|
2740
|
-
return this.context.t(a, b, c, this.
|
|
2769
|
+
ComponentRenderer.prototype.bw = function (a, b, c) {
|
|
2770
|
+
return this.context.t(a, b, c, this.p());
|
|
2741
2771
|
};
|
|
2742
|
-
ComponentRenderer.prototype.
|
|
2772
|
+
ComponentRenderer.prototype.p = function () {
|
|
2743
2773
|
return true;
|
|
2744
2774
|
};
|
|
2745
|
-
ComponentRenderer.prototype.
|
|
2775
|
+
ComponentRenderer.prototype.bj = function (a) {
|
|
2746
2776
|
var b = a.f();
|
|
2747
2777
|
var c = new List$1(DescriptionTreeAction.$, 0);
|
|
2748
2778
|
for (var d = 0; d < b.count; d++) {
|
|
@@ -2762,17 +2792,17 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2762
2792
|
}
|
|
2763
2793
|
return c;
|
|
2764
2794
|
};
|
|
2765
|
-
ComponentRenderer.prototype.
|
|
2795
|
+
ComponentRenderer.prototype.ae = function (a, b, c) {
|
|
2766
2796
|
if (c.c == null) {
|
|
2767
|
-
return this.
|
|
2797
|
+
return this.t(a, b, c);
|
|
2768
2798
|
}
|
|
2769
2799
|
else {
|
|
2770
|
-
var d = this.
|
|
2771
|
-
this.
|
|
2800
|
+
var d = this.ce(a, b, c);
|
|
2801
|
+
this.de(a, b, c, d);
|
|
2772
2802
|
}
|
|
2773
2803
|
return true;
|
|
2774
2804
|
};
|
|
2775
|
-
ComponentRenderer.prototype.
|
|
2805
|
+
ComponentRenderer.prototype.de = function (a, b, c, d) {
|
|
2776
2806
|
var e = c.i(ComponentRenderer.platform);
|
|
2777
2807
|
this.adapter.clearCollection(d, e, c.d);
|
|
2778
2808
|
if (c.h != null && typeCast(Array_$type, c.h) !== null) {
|
|
@@ -2784,18 +2814,18 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2784
2814
|
if (i >= 0) {
|
|
2785
2815
|
var j = b.j(i);
|
|
2786
2816
|
if (j != null) {
|
|
2787
|
-
this.
|
|
2817
|
+
this.dh(a, j, b);
|
|
2788
2818
|
}
|
|
2789
2819
|
}
|
|
2790
2820
|
}
|
|
2791
2821
|
}
|
|
2792
2822
|
}
|
|
2793
2823
|
};
|
|
2794
|
-
ComponentRenderer.prototype.
|
|
2824
|
+
ComponentRenderer.prototype.en = function (a, b, c, d, e, f) {
|
|
2795
2825
|
var e_18, _a;
|
|
2796
|
-
if (this.
|
|
2826
|
+
if (this.ba.containsKey(b)) {
|
|
2797
2827
|
try {
|
|
2798
|
-
for (var _b = __values(fromEnum(this.
|
|
2828
|
+
for (var _b = __values(fromEnum(this.ba.item(b))), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2799
2829
|
var g = _c.value;
|
|
2800
2830
|
g(b, a, d);
|
|
2801
2831
|
}
|
|
@@ -2816,23 +2846,23 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2816
2846
|
}
|
|
2817
2847
|
this.adapter.setPropertyValue(a, b, c, d, e, f);
|
|
2818
2848
|
};
|
|
2819
|
-
ComponentRenderer.prototype.
|
|
2849
|
+
ComponentRenderer.prototype.cc = function (a, b) {
|
|
2820
2850
|
return this.adapter.getPropertyValue(a, b);
|
|
2821
2851
|
};
|
|
2822
|
-
ComponentRenderer.prototype.
|
|
2823
|
-
return this.
|
|
2852
|
+
ComponentRenderer.prototype.t = function (a, b, c) {
|
|
2853
|
+
return this.s(a, b);
|
|
2824
2854
|
};
|
|
2825
|
-
ComponentRenderer.prototype.
|
|
2855
|
+
ComponentRenderer.prototype.s = function (a, b) {
|
|
2826
2856
|
var _this = this;
|
|
2827
2857
|
var c = this.adapter.getRootObject(a);
|
|
2828
2858
|
if (c != null) {
|
|
2829
|
-
this.
|
|
2859
|
+
this.dh(a, c, b);
|
|
2830
2860
|
}
|
|
2831
2861
|
var d = false;
|
|
2832
2862
|
this.adapter.clearContainer(a, this.context, function (e) {
|
|
2833
2863
|
d = true;
|
|
2834
2864
|
if (e) {
|
|
2835
|
-
_this.
|
|
2865
|
+
_this.ei(a, b);
|
|
2836
2866
|
}
|
|
2837
2867
|
});
|
|
2838
2868
|
return d;
|
|
@@ -2891,7 +2921,7 @@ var ContainerState = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2891
2921
|
for (var f = 0; f < e.count; f++) {
|
|
2892
2922
|
if (!this.g.containsKey(e._inner[f]) || this.g.item(e._inner[f]).count < 1 || (this.g.item(e._inner[f]).count == 1 && this.g.item(e._inner[f]).contains(c))) {
|
|
2893
2923
|
if (this.e.containsKey(e._inner[f])) {
|
|
2894
|
-
a.
|
|
2924
|
+
a.dh(b, this.e.item(e._inner[f]), this);
|
|
2895
2925
|
}
|
|
2896
2926
|
}
|
|
2897
2927
|
}
|