igniteui-angular-core 18.2.0-beta.2 → 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 +1217 -971
- 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 +589 -555
- 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/ToolActionInfo.js +16 -0
- 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 +588 -554
- 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/ToolActionInfo.js +24 -0
- package/esm5/lib/igx-component-renderer-container-component.js +5 -1
- package/esm5/public_api.js +3 -0
- package/fesm2015/igniteui-angular-core.js +1172 -971
- package/fesm5/igniteui-angular-core.js +1215 -972
- 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/lib/ToolActionInfo.d.ts +6 -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,41 +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));
|
|
1581
|
+
return;
|
|
1582
|
+
}
|
|
1583
|
+
if (!_this.y(a)) {
|
|
1584
|
+
_this.queueForIdle(a, function () { return _this.resolveRefValue(a, b, c); });
|
|
1563
1585
|
return;
|
|
1564
1586
|
}
|
|
1565
1587
|
c(null);
|
|
1566
1588
|
return;
|
|
1567
1589
|
}
|
|
1568
|
-
var e = _this.
|
|
1569
|
-
var f = _this.
|
|
1590
|
+
var e = _this.g(b);
|
|
1591
|
+
var f = _this.cd(e);
|
|
1570
1592
|
c(f);
|
|
1571
1593
|
});
|
|
1572
1594
|
};
|
|
1573
1595
|
ComponentRenderer.prototype.resolveRefName = function (a, b, c) {
|
|
1574
1596
|
var _this = this;
|
|
1575
|
-
this.
|
|
1576
|
-
if (!_this.
|
|
1577
|
-
_this.
|
|
1597
|
+
this.dt(a, function () {
|
|
1598
|
+
if (!_this.a8.containsKey(a)) {
|
|
1599
|
+
_this.a8.addItem(a, ((function () {
|
|
1578
1600
|
var $ret = new ContainerState();
|
|
1579
1601
|
$ret.i = a;
|
|
1580
1602
|
return $ret;
|
|
1581
1603
|
})()));
|
|
1582
1604
|
}
|
|
1583
|
-
var d = _this.
|
|
1584
|
-
if (b != null && _this.
|
|
1585
|
-
c(_this.
|
|
1605
|
+
var d = _this.a8.item(a);
|
|
1606
|
+
if (b != null && _this.a6.containsKey(b)) {
|
|
1607
|
+
c(_this.a6.item(b));
|
|
1586
1608
|
return;
|
|
1587
1609
|
}
|
|
1588
1610
|
c(null);
|
|
@@ -1590,40 +1612,40 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1590
1612
|
};
|
|
1591
1613
|
ComponentRenderer.prototype.provideRefValue = function (a, b, c) {
|
|
1592
1614
|
var _this = this;
|
|
1593
|
-
this.
|
|
1594
|
-
if (!_this.
|
|
1595
|
-
_this.
|
|
1615
|
+
this.dt(a, function () {
|
|
1616
|
+
if (!_this.a8.containsKey(a)) {
|
|
1617
|
+
_this.a8.addItem(a, ((function () {
|
|
1596
1618
|
var $ret = new ContainerState();
|
|
1597
1619
|
$ret.i = a;
|
|
1598
1620
|
return $ret;
|
|
1599
1621
|
})()));
|
|
1600
1622
|
}
|
|
1601
|
-
var d = _this.
|
|
1602
|
-
_this.
|
|
1623
|
+
var d = _this.a8.item(a);
|
|
1624
|
+
_this.dx(a, b, c, true);
|
|
1603
1625
|
});
|
|
1604
1626
|
};
|
|
1605
1627
|
ComponentRenderer.prototype.removeRefValue = function (a, b) {
|
|
1606
1628
|
var _this = this;
|
|
1607
|
-
this.
|
|
1608
|
-
if (!_this.
|
|
1609
|
-
_this.
|
|
1629
|
+
this.dt(a, function () {
|
|
1630
|
+
if (!_this.a8.containsKey(a)) {
|
|
1631
|
+
_this.a8.addItem(a, ((function () {
|
|
1610
1632
|
var $ret = new ContainerState();
|
|
1611
1633
|
$ret.i = a;
|
|
1612
1634
|
return $ret;
|
|
1613
1635
|
})()));
|
|
1614
1636
|
}
|
|
1615
|
-
var c = _this.
|
|
1637
|
+
var c = _this.a8.item(a);
|
|
1616
1638
|
_this.removeRefValueCore(a, b, true);
|
|
1617
1639
|
});
|
|
1618
1640
|
};
|
|
1619
|
-
ComponentRenderer.prototype.
|
|
1641
|
+
ComponentRenderer.prototype.ea = function (a) {
|
|
1620
1642
|
var e_11, _a;
|
|
1621
|
-
var b = this.
|
|
1643
|
+
var b = this.a8.item(a);
|
|
1622
1644
|
var c = new List$1(String_$type, 0);
|
|
1623
1645
|
try {
|
|
1624
|
-
for (var _b = __values(fromEnum(this.
|
|
1646
|
+
for (var _b = __values(fromEnum(this.a7.keys)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1625
1647
|
var d = _c.value;
|
|
1626
|
-
if (this.
|
|
1648
|
+
if (this.a7.item(d).c == 0) {
|
|
1627
1649
|
c.add(d);
|
|
1628
1650
|
}
|
|
1629
1651
|
}
|
|
@@ -1644,164 +1666,164 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1644
1666
|
for (var e = 0; e < c.count; e++) {
|
|
1645
1667
|
var f = this.shouldNamespaceSystemRefValues;
|
|
1646
1668
|
this.shouldNamespaceSystemRefValues = false;
|
|
1647
|
-
this.removeRefValueCore(a, c._inner[e], this.
|
|
1669
|
+
this.removeRefValueCore(a, c._inner[e], this.bb.containsKey(c._inner[e]));
|
|
1648
1670
|
this.shouldNamespaceSystemRefValues = f;
|
|
1649
|
-
if (this.
|
|
1650
|
-
for (var g = 0; g < this.
|
|
1651
|
-
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]);
|
|
1652
1674
|
}
|
|
1653
1675
|
}
|
|
1654
1676
|
}
|
|
1655
1677
|
};
|
|
1656
1678
|
ComponentRenderer.prototype.clearRefValues = function (a) {
|
|
1657
1679
|
var _this = this;
|
|
1658
|
-
this.
|
|
1659
|
-
if (!_this.
|
|
1660
|
-
_this.
|
|
1680
|
+
this.dt(a, function () {
|
|
1681
|
+
if (!_this.a8.containsKey(a)) {
|
|
1682
|
+
_this.a8.addItem(a, ((function () {
|
|
1661
1683
|
var $ret = new ContainerState();
|
|
1662
1684
|
$ret.i = a;
|
|
1663
1685
|
return $ret;
|
|
1664
1686
|
})()));
|
|
1665
1687
|
}
|
|
1666
|
-
var b = _this.
|
|
1688
|
+
var b = _this.a8.item(a);
|
|
1667
1689
|
_this.clearUserRefValues();
|
|
1668
1690
|
});
|
|
1669
1691
|
};
|
|
1670
|
-
ComponentRenderer.prototype.
|
|
1671
|
-
if (this.
|
|
1692
|
+
ComponentRenderer.prototype.y = function (a) {
|
|
1693
|
+
if (this.aw.containsKey(a) && this.aw.item(a)) {
|
|
1672
1694
|
return false;
|
|
1673
1695
|
}
|
|
1674
|
-
if (this.
|
|
1696
|
+
if (this.a5.containsKey(a) && this.a5.item(a).count > 0) {
|
|
1675
1697
|
return false;
|
|
1676
1698
|
}
|
|
1677
1699
|
return true;
|
|
1678
1700
|
};
|
|
1679
1701
|
ComponentRenderer.prototype.queueForIdle = function (a, b) {
|
|
1680
1702
|
var _this = this;
|
|
1681
|
-
this.
|
|
1682
|
-
if (_this.
|
|
1703
|
+
this.dt(a, function () {
|
|
1704
|
+
if (_this.y(a)) {
|
|
1683
1705
|
b();
|
|
1684
1706
|
}
|
|
1685
1707
|
else {
|
|
1686
|
-
if (!_this.
|
|
1687
|
-
_this.
|
|
1708
|
+
if (!_this.ay.containsKey(a)) {
|
|
1709
|
+
_this.ay.item(a, new List$1(Delegate_$type, 0));
|
|
1688
1710
|
}
|
|
1689
|
-
_this.
|
|
1711
|
+
_this.ay.item(a).add(b);
|
|
1690
1712
|
}
|
|
1691
1713
|
});
|
|
1692
1714
|
};
|
|
1693
1715
|
ComponentRenderer.prototype.tryFlushIdleActions = function (a) {
|
|
1694
|
-
if (this.
|
|
1695
|
-
if (this.
|
|
1696
|
-
var b = new List$1(Delegate_$type, 1, this.
|
|
1697
|
-
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();
|
|
1698
1720
|
for (var c = 0; c < b.count; c++) {
|
|
1699
1721
|
b._inner[c]();
|
|
1700
1722
|
}
|
|
1701
1723
|
}
|
|
1702
1724
|
}
|
|
1703
1725
|
};
|
|
1704
|
-
ComponentRenderer.prototype.
|
|
1705
|
-
var c = this.
|
|
1706
|
-
this.
|
|
1726
|
+
ComponentRenderer.prototype.ed = function (a, b) {
|
|
1727
|
+
var c = this.a8.item(a);
|
|
1728
|
+
this.du(a, c, b);
|
|
1707
1729
|
};
|
|
1708
|
-
ComponentRenderer.prototype.
|
|
1730
|
+
ComponentRenderer.prototype.ei = function (a, b) {
|
|
1709
1731
|
if (this.isProceedOnErrorEnabled) {
|
|
1710
1732
|
try {
|
|
1711
|
-
this.
|
|
1733
|
+
this.di(a, b, true);
|
|
1712
1734
|
}
|
|
1713
1735
|
catch (c) {
|
|
1714
|
-
this.
|
|
1736
|
+
this.aw.item(a, false);
|
|
1715
1737
|
}
|
|
1716
1738
|
}
|
|
1717
1739
|
else {
|
|
1718
|
-
this.
|
|
1740
|
+
this.di(a, b, true);
|
|
1719
1741
|
}
|
|
1720
1742
|
};
|
|
1721
|
-
ComponentRenderer.prototype.
|
|
1743
|
+
ComponentRenderer.prototype.ep = function (a, b) {
|
|
1722
1744
|
if (this.isProceedOnErrorEnabled) {
|
|
1723
1745
|
try {
|
|
1724
|
-
this.
|
|
1746
|
+
this.di(a, b, false);
|
|
1725
1747
|
}
|
|
1726
1748
|
catch (c) {
|
|
1727
|
-
this.
|
|
1749
|
+
this.aw.item(a, false);
|
|
1728
1750
|
}
|
|
1729
1751
|
}
|
|
1730
1752
|
else {
|
|
1731
|
-
this.
|
|
1753
|
+
this.di(a, b, false);
|
|
1732
1754
|
}
|
|
1733
1755
|
};
|
|
1734
|
-
ComponentRenderer.prototype.
|
|
1756
|
+
ComponentRenderer.prototype.di = function (a, b, c) {
|
|
1735
1757
|
if (!c) {
|
|
1736
|
-
if (this.
|
|
1758
|
+
if (this.aw.containsKey(a) && this.aw.item(a)) {
|
|
1737
1759
|
return;
|
|
1738
1760
|
}
|
|
1739
1761
|
}
|
|
1740
|
-
this.
|
|
1762
|
+
this.aw.item(a, true);
|
|
1741
1763
|
var d = true;
|
|
1742
|
-
while (d && this.
|
|
1743
|
-
while (this.
|
|
1744
|
-
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();
|
|
1745
1767
|
}
|
|
1746
|
-
if (this.
|
|
1768
|
+
if (this.a5.item(a).count < 1) {
|
|
1747
1769
|
break;
|
|
1748
1770
|
}
|
|
1749
|
-
var e = this.
|
|
1771
|
+
var e = this.a5.item(a).c();
|
|
1750
1772
|
while (e.count > 0) {
|
|
1751
1773
|
var f = e.b();
|
|
1752
|
-
d = this.
|
|
1774
|
+
d = this.ad(a, b, f);
|
|
1753
1775
|
if (!d) {
|
|
1754
1776
|
break;
|
|
1755
1777
|
}
|
|
1756
1778
|
}
|
|
1757
1779
|
}
|
|
1758
1780
|
if (d) {
|
|
1759
|
-
this.
|
|
1781
|
+
this.aw.item(a, false);
|
|
1760
1782
|
}
|
|
1761
|
-
if (this.
|
|
1783
|
+
if (this.y(a)) {
|
|
1762
1784
|
this.tryFlushIdleActions(a);
|
|
1763
1785
|
}
|
|
1764
1786
|
};
|
|
1765
|
-
ComponentRenderer.prototype.
|
|
1787
|
+
ComponentRenderer.prototype.du = function (a, b, c) {
|
|
1766
1788
|
var d = new Queue$1(DescriptionTreeAction.$);
|
|
1767
1789
|
for (var e = 0; e < c.count; e++) {
|
|
1768
1790
|
d.g(c._inner[e]);
|
|
1769
1791
|
}
|
|
1770
|
-
if (!this.
|
|
1771
|
-
this.
|
|
1792
|
+
if (!this.a5.containsKey(a)) {
|
|
1793
|
+
this.a5.addItem(a, new Queue$1(Queue$1.$.specialize(DescriptionTreeAction.$)));
|
|
1772
1794
|
}
|
|
1773
|
-
this.
|
|
1774
|
-
this.
|
|
1795
|
+
this.a5.item(a).g(d);
|
|
1796
|
+
this.ep(a, b);
|
|
1775
1797
|
};
|
|
1776
|
-
ComponentRenderer.prototype.
|
|
1798
|
+
ComponentRenderer.prototype.dv = function (a, b, c) {
|
|
1777
1799
|
for (var d = 0; d < c.count; d++) {
|
|
1778
|
-
this.
|
|
1800
|
+
this.ad(a, b, c._inner[d]);
|
|
1779
1801
|
}
|
|
1780
1802
|
};
|
|
1781
|
-
ComponentRenderer.prototype.
|
|
1803
|
+
ComponentRenderer.prototype.ad = function (a, b, c) {
|
|
1782
1804
|
switch (c.a) {
|
|
1783
|
-
case 5: return this.
|
|
1784
|
-
case 2: return this.
|
|
1785
|
-
case 4: return this.
|
|
1786
|
-
case 3: return this.
|
|
1787
|
-
case 1: return this.
|
|
1788
|
-
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);
|
|
1789
1811
|
}
|
|
1790
1812
|
return true;
|
|
1791
1813
|
};
|
|
1792
|
-
ComponentRenderer.prototype.
|
|
1793
|
-
var d = this.
|
|
1794
|
-
this.
|
|
1814
|
+
ComponentRenderer.prototype.ao = function (a, b, c) {
|
|
1815
|
+
var d = this.ce(a, b, c);
|
|
1816
|
+
this.av(a, b, c, d);
|
|
1795
1817
|
return true;
|
|
1796
1818
|
};
|
|
1797
|
-
ComponentRenderer.prototype.
|
|
1798
|
-
var e = this.
|
|
1799
|
-
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);
|
|
1800
1822
|
var f = false;
|
|
1801
|
-
if (this.
|
|
1802
|
-
for (var g = 0; g < this.
|
|
1803
|
-
var h = this.
|
|
1804
|
-
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);
|
|
1805
1827
|
if (h(i, d, e)) {
|
|
1806
1828
|
f = true;
|
|
1807
1829
|
}
|
|
@@ -1814,18 +1836,18 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1814
1836
|
return true;
|
|
1815
1837
|
}
|
|
1816
1838
|
if (c.d != null && c.d.knownType == 9) {
|
|
1817
|
-
this.
|
|
1839
|
+
this.as(a, b, c.i(ComponentRenderer.platform), c.d, e, d);
|
|
1818
1840
|
}
|
|
1819
1841
|
else {
|
|
1820
|
-
this.
|
|
1842
|
+
this.em(a, b, c.i(ComponentRenderer.platform), c.d, e, c.h, d);
|
|
1821
1843
|
}
|
|
1822
1844
|
return true;
|
|
1823
1845
|
};
|
|
1824
|
-
ComponentRenderer.prototype.
|
|
1846
|
+
ComponentRenderer.prototype.cz = function (a, b) {
|
|
1825
1847
|
var c = b.c;
|
|
1826
1848
|
var d = "";
|
|
1827
|
-
if (c != this.
|
|
1828
|
-
var e = this.
|
|
1849
|
+
if (c != this.ax.item(a)) {
|
|
1850
|
+
var e = this.cx(a, c);
|
|
1829
1851
|
d = e;
|
|
1830
1852
|
}
|
|
1831
1853
|
if (d.length > 0) {
|
|
@@ -1834,17 +1856,17 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1834
1856
|
d += b.j;
|
|
1835
1857
|
return d;
|
|
1836
1858
|
};
|
|
1837
|
-
ComponentRenderer.prototype.
|
|
1859
|
+
ComponentRenderer.prototype.cx = function (a, b) {
|
|
1838
1860
|
if (b == null) {
|
|
1839
1861
|
return "";
|
|
1840
1862
|
}
|
|
1841
|
-
var c = this.
|
|
1863
|
+
var c = this.c4("", this.ax.item(a), b);
|
|
1842
1864
|
if (c.c) {
|
|
1843
1865
|
return c.d;
|
|
1844
1866
|
}
|
|
1845
1867
|
return "";
|
|
1846
1868
|
};
|
|
1847
|
-
ComponentRenderer.prototype.
|
|
1869
|
+
ComponentRenderer.prototype.c4 = function (a, b, c) {
|
|
1848
1870
|
if (b == c) {
|
|
1849
1871
|
return new Tuple$2(Boolean_$type, String_$type, true, a);
|
|
1850
1872
|
}
|
|
@@ -1861,7 +1883,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1861
1883
|
}
|
|
1862
1884
|
else {
|
|
1863
1885
|
var g = a + f.c;
|
|
1864
|
-
var h = this.
|
|
1886
|
+
var h = this.c4(g, f.b, c);
|
|
1865
1887
|
if (h.c) {
|
|
1866
1888
|
return h;
|
|
1867
1889
|
}
|
|
@@ -1878,7 +1900,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1878
1900
|
}
|
|
1879
1901
|
else {
|
|
1880
1902
|
var l = a + f.c + "[" + j + "]";
|
|
1881
|
-
var m = this.
|
|
1903
|
+
var m = this.c4(l, k, c);
|
|
1882
1904
|
if (m.c) {
|
|
1883
1905
|
return m;
|
|
1884
1906
|
}
|
|
@@ -1889,11 +1911,11 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1889
1911
|
}
|
|
1890
1912
|
return new Tuple$2(Boolean_$type, String_$type, false, a);
|
|
1891
1913
|
};
|
|
1892
|
-
ComponentRenderer.prototype.
|
|
1914
|
+
ComponentRenderer.prototype.as = function (a, b, c, d, e, f) {
|
|
1893
1915
|
var e_12, _a;
|
|
1894
|
-
if (this.
|
|
1916
|
+
if (this.ba.containsKey(c)) {
|
|
1895
1917
|
try {
|
|
1896
|
-
for (var _b = __values(fromEnum(this.
|
|
1918
|
+
for (var _b = __values(fromEnum(this.ba.item(c))), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1897
1919
|
var g = _c.value;
|
|
1898
1920
|
g(c, f, e);
|
|
1899
1921
|
}
|
|
@@ -1915,43 +1937,43 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1915
1937
|
this.adapter.setOrUpdateCollectionOnTarget(a, c, d, this.context, f, e);
|
|
1916
1938
|
return true;
|
|
1917
1939
|
};
|
|
1918
|
-
ComponentRenderer.prototype.
|
|
1940
|
+
ComponentRenderer.prototype.cb = function (a, b, c) {
|
|
1919
1941
|
if (a.d == null) {
|
|
1920
1942
|
return a.g;
|
|
1921
1943
|
}
|
|
1922
1944
|
switch (a.d.knownType) {
|
|
1923
|
-
case 10: return this.
|
|
1924
|
-
case 7: return this.
|
|
1925
|
-
case 4: return this.
|
|
1926
|
-
case 6: return this.
|
|
1927
|
-
case 23: return this.
|
|
1928
|
-
case 9: return this.
|
|
1929
|
-
case 5: return this.
|
|
1930
|
-
case 16: return this.
|
|
1931
|
-
case 20: return this.
|
|
1932
|
-
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);
|
|
1933
1955
|
case 15: return null;
|
|
1934
|
-
case 3: return this.
|
|
1935
|
-
case 19: return this.
|
|
1936
|
-
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);
|
|
1937
1959
|
case 13: return null;
|
|
1938
|
-
case 18: return this.
|
|
1939
|
-
case 1: return this.
|
|
1940
|
-
case 11: return this.
|
|
1941
|
-
case 14: return this.
|
|
1942
|
-
case 12: return this.
|
|
1943
|
-
case 2: return this.
|
|
1944
|
-
case 21: return this.
|
|
1945
|
-
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);
|
|
1946
1968
|
case 0: return null;
|
|
1947
1969
|
}
|
|
1948
1970
|
return null;
|
|
1949
1971
|
};
|
|
1950
|
-
ComponentRenderer.prototype.
|
|
1951
|
-
var d = this.
|
|
1972
|
+
ComponentRenderer.prototype.b4 = function (a, b, c) {
|
|
1973
|
+
var d = this.b5(a.g, a, b, c);
|
|
1952
1974
|
return d;
|
|
1953
1975
|
};
|
|
1954
|
-
ComponentRenderer.prototype.
|
|
1976
|
+
ComponentRenderer.prototype.b5 = function (a, b, c, d) {
|
|
1955
1977
|
if (typeof a === 'string') {
|
|
1956
1978
|
if (stringStartsWith(a, "@d:")) {
|
|
1957
1979
|
var v_ = a.substr(3);
|
|
@@ -1962,7 +1984,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1962
1984
|
var e = a;
|
|
1963
1985
|
var f = new Array(e.length);
|
|
1964
1986
|
for (var g = 0; g < e.length; g++) {
|
|
1965
|
-
var h = this.
|
|
1987
|
+
var h = this.b5(e[g], b, c, d);
|
|
1966
1988
|
f[g] = h;
|
|
1967
1989
|
}
|
|
1968
1990
|
a = f;
|
|
@@ -1970,25 +1992,25 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1970
1992
|
if (typeCast(DescriptionTreeNode.$, a) !== null) {
|
|
1971
1993
|
var i = a;
|
|
1972
1994
|
if (i.i == "EmbeddedRef") {
|
|
1973
|
-
return this.
|
|
1995
|
+
return this.b8(i.i, a, c, d, false, b.c.g, b.d);
|
|
1974
1996
|
}
|
|
1975
1997
|
}
|
|
1976
1998
|
return a;
|
|
1977
1999
|
};
|
|
1978
|
-
ComponentRenderer.prototype.
|
|
2000
|
+
ComponentRenderer.prototype.b3 = function (a) {
|
|
1979
2001
|
return a.g;
|
|
1980
2002
|
};
|
|
1981
|
-
ComponentRenderer.prototype.
|
|
2003
|
+
ComponentRenderer.prototype.b2 = function (a) {
|
|
1982
2004
|
return a.g != null ? a.g.toString() : null;
|
|
1983
2005
|
};
|
|
1984
|
-
ComponentRenderer.prototype.
|
|
2006
|
+
ComponentRenderer.prototype.b1 = function (a) {
|
|
1985
2007
|
var b = a.g;
|
|
1986
2008
|
var width_ = b.width;
|
|
1987
2009
|
var height_ = b.height;
|
|
1988
2010
|
var c = { width: width_, height: height_ };
|
|
1989
2011
|
return c;
|
|
1990
2012
|
};
|
|
1991
|
-
ComponentRenderer.prototype.
|
|
2013
|
+
ComponentRenderer.prototype.b0 = function (a) {
|
|
1992
2014
|
var b = a.g;
|
|
1993
2015
|
var top_ = b.top;
|
|
1994
2016
|
var left_ = b.left;
|
|
@@ -1997,14 +2019,14 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1997
2019
|
var c = { left: left_, top: top_, width: width_, height: height_ };
|
|
1998
2020
|
return c;
|
|
1999
2021
|
};
|
|
2000
|
-
ComponentRenderer.prototype.
|
|
2022
|
+
ComponentRenderer.prototype.bz = function (a) {
|
|
2001
2023
|
var b = a.g;
|
|
2002
2024
|
var x_ = b.x;
|
|
2003
2025
|
var y_ = b.y;
|
|
2004
2026
|
var c = { x: x_, y: y_ };
|
|
2005
2027
|
return c;
|
|
2006
2028
|
};
|
|
2007
|
-
ComponentRenderer.prototype.
|
|
2029
|
+
ComponentRenderer.prototype.by = function (a) {
|
|
2008
2030
|
if (a.g == null) {
|
|
2009
2031
|
if (a.d != null && ((a.d.specificType == "double" || a.d.specificType == "float") || (a.d.specificExternalType == "double" || a.d.specificExternalType == "float"))) {
|
|
2010
2032
|
return NaN;
|
|
@@ -2033,19 +2055,19 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2033
2055
|
}
|
|
2034
2056
|
return b;
|
|
2035
2057
|
};
|
|
2036
|
-
ComponentRenderer.prototype.
|
|
2037
|
-
if (this.
|
|
2038
|
-
var b = this.
|
|
2058
|
+
ComponentRenderer.prototype.f = function (a) {
|
|
2059
|
+
if (this.a7.containsKey(a)) {
|
|
2060
|
+
var b = this.a7.item(a);
|
|
2039
2061
|
return b;
|
|
2040
2062
|
}
|
|
2041
2063
|
var c = new DescriptionRef(a);
|
|
2042
|
-
this.
|
|
2064
|
+
this.a7.addItem(a, c);
|
|
2043
2065
|
return c;
|
|
2044
2066
|
};
|
|
2045
|
-
ComponentRenderer.prototype.
|
|
2046
|
-
return a.g == null ? null : this.
|
|
2067
|
+
ComponentRenderer.prototype.cs = function (a, b) {
|
|
2068
|
+
return a.g == null ? null : this.f(a.g);
|
|
2047
2069
|
};
|
|
2048
|
-
ComponentRenderer.prototype.
|
|
2070
|
+
ComponentRenderer.prototype.bx = function (a, b, c) {
|
|
2049
2071
|
var d = a.d.specificType;
|
|
2050
2072
|
if (d == null) {
|
|
2051
2073
|
d = a.d.specificExternalType;
|
|
@@ -2056,54 +2078,54 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2056
2078
|
d = e.a("Type").b;
|
|
2057
2079
|
}
|
|
2058
2080
|
}
|
|
2059
|
-
var f = this.
|
|
2081
|
+
var f = this.b8(d, a.g, b, c, false, a.c.g, a.d);
|
|
2060
2082
|
return f;
|
|
2061
2083
|
};
|
|
2062
|
-
ComponentRenderer.prototype.
|
|
2063
|
-
return a.g == null ? null : this.
|
|
2084
|
+
ComponentRenderer.prototype.cr = function (a, b) {
|
|
2085
|
+
return a.g == null ? null : this.f(a.g);
|
|
2064
2086
|
};
|
|
2065
|
-
ComponentRenderer.prototype.
|
|
2087
|
+
ComponentRenderer.prototype.bu = function (a) {
|
|
2066
2088
|
if (typeof a.g === 'string') {
|
|
2067
2089
|
var v_ = a.g;
|
|
2068
2090
|
a.g = new Date(v_);
|
|
2069
2091
|
}
|
|
2070
2092
|
return a.g;
|
|
2071
2093
|
};
|
|
2072
|
-
ComponentRenderer.prototype.
|
|
2073
|
-
return a.g == null ? null : this.
|
|
2094
|
+
ComponentRenderer.prototype.cq = function (a, b) {
|
|
2095
|
+
return a.g == null ? null : this.f(a.g);
|
|
2074
2096
|
};
|
|
2075
|
-
ComponentRenderer.prototype.
|
|
2076
|
-
return a.g == null ? null : this.
|
|
2097
|
+
ComponentRenderer.prototype.ct = function (a, b) {
|
|
2098
|
+
return a.g == null ? null : this.f(a.g);
|
|
2077
2099
|
};
|
|
2078
|
-
ComponentRenderer.prototype.
|
|
2100
|
+
ComponentRenderer.prototype.cv = function (a) {
|
|
2079
2101
|
return a;
|
|
2080
2102
|
};
|
|
2081
|
-
ComponentRenderer.prototype.
|
|
2103
|
+
ComponentRenderer.prototype.bt = function (a) {
|
|
2082
2104
|
var b = a.g;
|
|
2083
2105
|
if (b == null) {
|
|
2084
2106
|
return null;
|
|
2085
2107
|
}
|
|
2086
2108
|
var c = new Array(b.length);
|
|
2087
2109
|
for (var d = 0; d < b.length; d++) {
|
|
2088
|
-
c[d] = this.
|
|
2110
|
+
c[d] = this.cv(b[d]);
|
|
2089
2111
|
}
|
|
2090
2112
|
return c;
|
|
2091
2113
|
};
|
|
2092
|
-
ComponentRenderer.prototype.
|
|
2093
|
-
return this.
|
|
2114
|
+
ComponentRenderer.prototype.bs = function (a) {
|
|
2115
|
+
return this.cv(a.g);
|
|
2094
2116
|
};
|
|
2095
|
-
ComponentRenderer.prototype.
|
|
2117
|
+
ComponentRenderer.prototype.br = function (a) {
|
|
2096
2118
|
var b = a.g;
|
|
2097
2119
|
if (b == null) {
|
|
2098
2120
|
return null;
|
|
2099
2121
|
}
|
|
2100
2122
|
var c = new Array(b.length);
|
|
2101
2123
|
for (var d = 0; d < b.length; d++) {
|
|
2102
|
-
c[d] = this.
|
|
2124
|
+
c[d] = this.cu(b[d]);
|
|
2103
2125
|
}
|
|
2104
2126
|
return c;
|
|
2105
2127
|
};
|
|
2106
|
-
ComponentRenderer.prototype.
|
|
2128
|
+
ComponentRenderer.prototype.bv = function (a) {
|
|
2107
2129
|
var b = a.g;
|
|
2108
2130
|
if (b == null) {
|
|
2109
2131
|
return null;
|
|
@@ -2114,59 +2136,59 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2114
2136
|
}
|
|
2115
2137
|
return c;
|
|
2116
2138
|
};
|
|
2117
|
-
ComponentRenderer.prototype.
|
|
2139
|
+
ComponentRenderer.prototype.cu = function (a) {
|
|
2118
2140
|
return a;
|
|
2119
2141
|
};
|
|
2120
|
-
ComponentRenderer.prototype.
|
|
2121
|
-
return this.
|
|
2142
|
+
ComponentRenderer.prototype.bq = function (a) {
|
|
2143
|
+
return this.cu(a.g);
|
|
2122
2144
|
};
|
|
2123
|
-
ComponentRenderer.prototype.
|
|
2145
|
+
ComponentRenderer.prototype.bp = function (a) {
|
|
2124
2146
|
return a.g;
|
|
2125
2147
|
};
|
|
2126
2148
|
ComponentRenderer.prototype.addTargetPropertyUpdatingListener = function (a) {
|
|
2127
|
-
this.
|
|
2149
|
+
this.bi.add(a);
|
|
2128
2150
|
};
|
|
2129
2151
|
ComponentRenderer.prototype.removeTargetPropertyUpdatingListener = function (a) {
|
|
2130
|
-
this.
|
|
2152
|
+
this.bi.remove(a);
|
|
2131
2153
|
};
|
|
2132
2154
|
ComponentRenderer.prototype.addPropertyUpdatingListener = function (a, b) {
|
|
2133
|
-
if (!this.
|
|
2134
|
-
this.
|
|
2155
|
+
if (!this.ba.containsKey(a)) {
|
|
2156
|
+
this.ba.addItem(a, new List$1(Delegate_$type, 0));
|
|
2135
2157
|
}
|
|
2136
|
-
this.
|
|
2158
|
+
this.ba.item(a).add(b);
|
|
2137
2159
|
};
|
|
2138
2160
|
ComponentRenderer.prototype.addReferenceLookupListener = function (a) {
|
|
2139
|
-
this.
|
|
2161
|
+
this.be.add(a);
|
|
2140
2162
|
};
|
|
2141
2163
|
ComponentRenderer.prototype.removeReferenceLookupListener = function (a) {
|
|
2142
|
-
this.
|
|
2164
|
+
this.be.remove(a);
|
|
2143
2165
|
};
|
|
2144
2166
|
ComponentRenderer.prototype.removePropertyUpdatingListener = function (a, b) {
|
|
2145
|
-
if (this.
|
|
2146
|
-
this.
|
|
2147
|
-
if (this.
|
|
2148
|
-
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);
|
|
2149
2171
|
}
|
|
2150
2172
|
}
|
|
2151
2173
|
};
|
|
2152
2174
|
ComponentRenderer.prototype.addNamespaceLookupListener = function (a) {
|
|
2153
|
-
this.
|
|
2175
|
+
this.bg.add(a);
|
|
2154
2176
|
};
|
|
2155
2177
|
ComponentRenderer.prototype.removeNamespaceLookupListener = function (a) {
|
|
2156
|
-
this.
|
|
2178
|
+
this.bg.remove(a);
|
|
2157
2179
|
};
|
|
2158
2180
|
ComponentRenderer.prototype.addCleanupListener = function (a) {
|
|
2159
|
-
if (this.
|
|
2160
|
-
this.
|
|
2181
|
+
if (this.bd == null) {
|
|
2182
|
+
this.bd = new List$1(Delegate_$type, 0);
|
|
2161
2183
|
}
|
|
2162
|
-
this.
|
|
2184
|
+
this.bd.add(a);
|
|
2163
2185
|
};
|
|
2164
2186
|
ComponentRenderer.prototype.removeCleanupListener = function (a) {
|
|
2165
|
-
if (this.
|
|
2166
|
-
this.
|
|
2187
|
+
if (this.bd != null) {
|
|
2188
|
+
this.bd.remove(a);
|
|
2167
2189
|
}
|
|
2168
2190
|
};
|
|
2169
|
-
ComponentRenderer.prototype.
|
|
2191
|
+
ComponentRenderer.prototype.bo = function (a, b, c) {
|
|
2170
2192
|
if (a.g == null) {
|
|
2171
2193
|
return null;
|
|
2172
2194
|
}
|
|
@@ -2190,19 +2212,19 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2190
2212
|
h = i.a("Type").b;
|
|
2191
2213
|
}
|
|
2192
2214
|
}
|
|
2193
|
-
var j = this.
|
|
2215
|
+
var j = this.b8(h, d[g], b, c, false, a.c.g, a.d);
|
|
2194
2216
|
e.add1(j);
|
|
2195
2217
|
}
|
|
2196
2218
|
return e.toArray();
|
|
2197
2219
|
};
|
|
2198
|
-
ComponentRenderer.prototype.
|
|
2220
|
+
ComponentRenderer.prototype.em = function (a, b, c, d, e, f, g) {
|
|
2199
2221
|
var _this = this;
|
|
2200
2222
|
if (typeCast(DescriptionRef.$, e) !== null) {
|
|
2201
2223
|
var h = e;
|
|
2202
2224
|
var i = false;
|
|
2203
2225
|
if (f != null && typeof f === 'string') {
|
|
2204
2226
|
if (this.hasRef(f)) {
|
|
2205
|
-
var j = this.
|
|
2227
|
+
var j = this.g(f);
|
|
2206
2228
|
if (Base.equalsStatic(j, e)) {
|
|
2207
2229
|
i = true;
|
|
2208
2230
|
}
|
|
@@ -2211,13 +2233,13 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2211
2233
|
}
|
|
2212
2234
|
}
|
|
2213
2235
|
}
|
|
2214
|
-
if (this.
|
|
2236
|
+
if (this.v(e)) {
|
|
2215
2237
|
var k = e;
|
|
2216
|
-
if (k.e != null && k.e.length > 0 && this.
|
|
2238
|
+
if (k.e != null && k.e.length > 0 && this.a9.containsKey(k.e)) {
|
|
2217
2239
|
k.a = true;
|
|
2218
2240
|
}
|
|
2219
|
-
e = this.
|
|
2220
|
-
this.
|
|
2241
|
+
e = this.cd(e);
|
|
2242
|
+
this.en(g, c, d, e, f, k);
|
|
2221
2243
|
}
|
|
2222
2244
|
else {
|
|
2223
2245
|
this.adapter.onPendingRef(g, c, d, e);
|
|
@@ -2225,21 +2247,33 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2225
2247
|
var l = null;
|
|
2226
2248
|
l = function (m, n) {
|
|
2227
2249
|
var o = m;
|
|
2228
|
-
if (o.e != null && o.e.length > 0 && _this.
|
|
2250
|
+
if (o.e != null && o.e.length > 0 && _this.a9.containsKey(o.e)) {
|
|
2229
2251
|
o.a = true;
|
|
2230
2252
|
}
|
|
2231
|
-
var p = _this.
|
|
2232
|
-
_this.
|
|
2253
|
+
var p = _this.cd(m);
|
|
2254
|
+
_this.en(g, c, d, p, n.b, o);
|
|
2233
2255
|
};
|
|
2234
2256
|
if (!i) {
|
|
2235
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
|
+
}
|
|
2236
2270
|
}
|
|
2237
2271
|
return;
|
|
2238
2272
|
}
|
|
2239
|
-
this.
|
|
2273
|
+
this.en(g, c, d, e, f, null);
|
|
2240
2274
|
};
|
|
2241
|
-
ComponentRenderer.prototype.
|
|
2242
|
-
return this.
|
|
2275
|
+
ComponentRenderer.prototype.w = function (a) {
|
|
2276
|
+
return this.bb.containsKey(a);
|
|
2243
2277
|
};
|
|
2244
2278
|
Object.defineProperty(ComponentRenderer.prototype, "shouldNamespaceSystemRefValues", {
|
|
2245
2279
|
get: function () {
|
|
@@ -2251,80 +2285,80 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2251
2285
|
enumerable: false,
|
|
2252
2286
|
configurable: true
|
|
2253
2287
|
});
|
|
2254
|
-
ComponentRenderer.prototype.
|
|
2288
|
+
ComponentRenderer.prototype.dx = function (a, b, c, d) {
|
|
2255
2289
|
var e = null;
|
|
2256
2290
|
if (d) {
|
|
2257
|
-
if (this.
|
|
2258
|
-
e = this.
|
|
2291
|
+
if (this.bb.containsKey(b)) {
|
|
2292
|
+
e = this.bb.item(b);
|
|
2259
2293
|
}
|
|
2260
|
-
this.
|
|
2294
|
+
this.bb.item(b, c);
|
|
2261
2295
|
if (c != null) {
|
|
2262
|
-
this.
|
|
2296
|
+
this.a6.item(c, b);
|
|
2263
2297
|
}
|
|
2264
2298
|
}
|
|
2265
2299
|
else {
|
|
2266
2300
|
if (this.shouldNamespaceSystemRefValues) {
|
|
2267
2301
|
var f = "";
|
|
2268
|
-
if (this.
|
|
2269
|
-
for (var g = 0; g < this.
|
|
2270
|
-
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);
|
|
2271
2305
|
}
|
|
2272
2306
|
}
|
|
2273
2307
|
if (!stringIsNullOrEmpty(f)) {
|
|
2274
2308
|
b = f + "/" + b;
|
|
2275
2309
|
}
|
|
2276
2310
|
}
|
|
2277
|
-
if (this.
|
|
2278
|
-
e = this.
|
|
2311
|
+
if (this.a9.containsKey(b)) {
|
|
2312
|
+
e = this.a9.item(b);
|
|
2279
2313
|
}
|
|
2280
|
-
this.
|
|
2314
|
+
this.a9.item(b, c);
|
|
2281
2315
|
if (c != null) {
|
|
2282
|
-
this.
|
|
2316
|
+
this.a6.item(c, b);
|
|
2283
2317
|
}
|
|
2284
|
-
if (this.
|
|
2285
|
-
this.
|
|
2318
|
+
if (this.a7.containsKey(b)) {
|
|
2319
|
+
this.a7.item(b).a = true;
|
|
2286
2320
|
}
|
|
2287
2321
|
}
|
|
2288
|
-
if (this.
|
|
2289
|
-
this.
|
|
2322
|
+
if (this.a7.containsKey(b)) {
|
|
2323
|
+
this.a7.item(b).f(e, c);
|
|
2290
2324
|
}
|
|
2291
2325
|
};
|
|
2292
2326
|
ComponentRenderer.prototype.removeRefValueCore = function (a, b, c) {
|
|
2293
2327
|
var d = null;
|
|
2294
2328
|
if (c) {
|
|
2295
|
-
if (this.
|
|
2296
|
-
d = this.
|
|
2329
|
+
if (this.bb.containsKey(b)) {
|
|
2330
|
+
d = this.bb.item(b);
|
|
2297
2331
|
}
|
|
2298
|
-
this.
|
|
2299
|
-
if (d != null && this.
|
|
2300
|
-
this.
|
|
2332
|
+
this.bb.removeItem(b);
|
|
2333
|
+
if (d != null && this.a6.containsKey(d)) {
|
|
2334
|
+
this.a6.removeItem(d);
|
|
2301
2335
|
}
|
|
2302
2336
|
}
|
|
2303
2337
|
else {
|
|
2304
2338
|
if (this.shouldNamespaceSystemRefValues) {
|
|
2305
2339
|
var e = "";
|
|
2306
|
-
if (this.
|
|
2307
|
-
for (var f = 0; f < this.
|
|
2308
|
-
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);
|
|
2309
2343
|
}
|
|
2310
2344
|
}
|
|
2311
2345
|
if (!stringIsNullOrEmpty(e)) {
|
|
2312
2346
|
b = e + "/" + b;
|
|
2313
2347
|
}
|
|
2314
2348
|
}
|
|
2315
|
-
if (this.
|
|
2316
|
-
d = this.
|
|
2349
|
+
if (this.a9.containsKey(b)) {
|
|
2350
|
+
d = this.a9.item(b);
|
|
2317
2351
|
}
|
|
2318
|
-
this.
|
|
2319
|
-
if (d != null && this.
|
|
2320
|
-
this.
|
|
2352
|
+
this.a9.removeItem(b);
|
|
2353
|
+
if (d != null && this.a6.containsKey(d)) {
|
|
2354
|
+
this.a6.removeItem(d);
|
|
2321
2355
|
}
|
|
2322
2356
|
}
|
|
2323
|
-
if (this.
|
|
2324
|
-
this.
|
|
2325
|
-
if (this.
|
|
2326
|
-
this.
|
|
2327
|
-
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);
|
|
2328
2362
|
}
|
|
2329
2363
|
}
|
|
2330
2364
|
};
|
|
@@ -2332,7 +2366,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2332
2366
|
var e_13, _a, e_14, _b;
|
|
2333
2367
|
var a = new List$1(String_$type, 0);
|
|
2334
2368
|
try {
|
|
2335
|
-
for (var _c = __values(fromEnum(this.
|
|
2369
|
+
for (var _c = __values(fromEnum(this.bb.keys)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
2336
2370
|
var b = _d.value;
|
|
2337
2371
|
a.add(b);
|
|
2338
2372
|
}
|
|
@@ -2370,31 +2404,31 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2370
2404
|
}
|
|
2371
2405
|
}
|
|
2372
2406
|
};
|
|
2373
|
-
ComponentRenderer.prototype.
|
|
2374
|
-
return this.
|
|
2407
|
+
ComponentRenderer.prototype.v = function (a) {
|
|
2408
|
+
return this.bb.containsKey(a.e) || this.a9.containsKey(a.e);
|
|
2375
2409
|
};
|
|
2376
|
-
ComponentRenderer.prototype.
|
|
2377
|
-
if (this.
|
|
2378
|
-
return this.
|
|
2410
|
+
ComponentRenderer.prototype.cd = function (a) {
|
|
2411
|
+
if (this.bb.containsKey(a.e)) {
|
|
2412
|
+
return this.bb.item(a.e);
|
|
2379
2413
|
}
|
|
2380
|
-
if (this.
|
|
2381
|
-
return this.
|
|
2414
|
+
if (this.a9.containsKey(a.e)) {
|
|
2415
|
+
return this.a9.item(a.e);
|
|
2382
2416
|
}
|
|
2383
2417
|
return null;
|
|
2384
2418
|
};
|
|
2385
2419
|
ComponentRenderer.prototype.hasRef = function (a) {
|
|
2386
|
-
return this.
|
|
2420
|
+
return this.a7.containsKey(a);
|
|
2387
2421
|
};
|
|
2388
|
-
ComponentRenderer.prototype.
|
|
2389
|
-
return this.
|
|
2422
|
+
ComponentRenderer.prototype.g = function (a) {
|
|
2423
|
+
return this.a7.item(a);
|
|
2390
2424
|
};
|
|
2391
2425
|
ComponentRenderer.prototype.getMissingRefs = function () {
|
|
2392
2426
|
var e_15, _a;
|
|
2393
2427
|
var a = new List$1(String_$type, 0);
|
|
2394
2428
|
try {
|
|
2395
|
-
for (var _b = __values(fromEnum(this.
|
|
2429
|
+
for (var _b = __values(fromEnum(this.a7.keys)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2396
2430
|
var b = _c.value;
|
|
2397
|
-
if (!this.
|
|
2431
|
+
if (!this.v(this.a7.item(b))) {
|
|
2398
2432
|
a.add(b);
|
|
2399
2433
|
}
|
|
2400
2434
|
}
|
|
@@ -2417,7 +2451,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2417
2451
|
ComponentRenderer.prototype.getRefChangeInfos = function (a) {
|
|
2418
2452
|
var e_16, _a;
|
|
2419
2453
|
var b = new List$1(DescriptionRefTargetInfo.$, 0);
|
|
2420
|
-
if (this.
|
|
2454
|
+
if (this.a7.containsKey(a)) {
|
|
2421
2455
|
var _loop_2 = function (c) {
|
|
2422
2456
|
b.add(((function () {
|
|
2423
2457
|
var $ret = new DescriptionRefTargetInfo();
|
|
@@ -2428,7 +2462,7 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2428
2462
|
})()));
|
|
2429
2463
|
};
|
|
2430
2464
|
try {
|
|
2431
|
-
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()) {
|
|
2432
2466
|
var c = _c.value;
|
|
2433
2467
|
_loop_2(c);
|
|
2434
2468
|
}
|
|
@@ -2449,29 +2483,29 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2449
2483
|
}
|
|
2450
2484
|
return b.toArray();
|
|
2451
2485
|
};
|
|
2452
|
-
ComponentRenderer.prototype.
|
|
2486
|
+
ComponentRenderer.prototype.ce = function (a, b, c) {
|
|
2453
2487
|
return b.j(c.c.g);
|
|
2454
2488
|
};
|
|
2455
|
-
ComponentRenderer.prototype.
|
|
2456
|
-
var d = this.
|
|
2457
|
-
this.
|
|
2489
|
+
ComponentRenderer.prototype.am = function (a, b, c) {
|
|
2490
|
+
var d = this.ce(a, b, c);
|
|
2491
|
+
this.ar(a, b, c, d);
|
|
2458
2492
|
return true;
|
|
2459
2493
|
};
|
|
2460
|
-
ComponentRenderer.prototype.
|
|
2494
|
+
ComponentRenderer.prototype.ar = function (a, b, c, d) {
|
|
2461
2495
|
this.adapter.resetPropertyOnTarget(a, c.i(ComponentRenderer.platform), c.d, d);
|
|
2462
2496
|
return true;
|
|
2463
2497
|
};
|
|
2464
|
-
ComponentRenderer.prototype.
|
|
2498
|
+
ComponentRenderer.prototype.al = function (a, b, c) {
|
|
2465
2499
|
if (c.c == null) {
|
|
2466
|
-
return this.
|
|
2500
|
+
return this.aq(a, b, c);
|
|
2467
2501
|
}
|
|
2468
2502
|
else {
|
|
2469
|
-
var d = this.
|
|
2470
|
-
this.
|
|
2503
|
+
var d = this.ce(a, b, c);
|
|
2504
|
+
this.ef(a, b, c, d);
|
|
2471
2505
|
}
|
|
2472
2506
|
return true;
|
|
2473
2507
|
};
|
|
2474
|
-
ComponentRenderer.prototype.
|
|
2508
|
+
ComponentRenderer.prototype.ef = function (a, b, c, d) {
|
|
2475
2509
|
var e = c.i(ComponentRenderer.platform);
|
|
2476
2510
|
var f = c.d.collectionElementType;
|
|
2477
2511
|
if (typeCast(DescriptionTreeNode.$, c.g) !== null) {
|
|
@@ -2483,23 +2517,23 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2483
2517
|
if (f == null) {
|
|
2484
2518
|
f = c.d.specificExternalType;
|
|
2485
2519
|
}
|
|
2486
|
-
var h = this.
|
|
2520
|
+
var h = this.b8(f, c.g, a, b, false, c.c.g, c.d);
|
|
2487
2521
|
this.adapter.replaceItemInCollection(e, c.d, d, c.e, h);
|
|
2488
2522
|
if (c.h != null && typeCast(DescriptionTreeNode.$, c.h) !== null) {
|
|
2489
2523
|
var i = c.h.g;
|
|
2490
2524
|
if (i >= 0) {
|
|
2491
2525
|
var j = b.j(i);
|
|
2492
2526
|
if (j != null) {
|
|
2493
|
-
this.
|
|
2527
|
+
this.dh(a, j, b);
|
|
2494
2528
|
}
|
|
2495
2529
|
}
|
|
2496
2530
|
}
|
|
2497
2531
|
};
|
|
2498
|
-
ComponentRenderer.prototype.
|
|
2532
|
+
ComponentRenderer.prototype.aq = function (a, b, c) {
|
|
2499
2533
|
var _this = this;
|
|
2500
2534
|
var d = this.adapter.getRootObject(a);
|
|
2501
2535
|
if (d != null) {
|
|
2502
|
-
this.
|
|
2536
|
+
this.dh(a, d, b);
|
|
2503
2537
|
}
|
|
2504
2538
|
if (!(typeCast(DescriptionTreeNode.$, c.g) !== null)) {
|
|
2505
2539
|
throw new NotImplementedException(0);
|
|
@@ -2508,21 +2542,21 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2508
2542
|
var f = false;
|
|
2509
2543
|
this.adapter.replaceRootItem(a, e.i, this.context, function (g) {
|
|
2510
2544
|
var h = _this.adapter.getRootObject(a);
|
|
2511
|
-
b.k(a, e.g, h, e, runOn(_this, _this.
|
|
2512
|
-
var i = _this.
|
|
2513
|
-
_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);
|
|
2514
2548
|
f = true;
|
|
2515
2549
|
if (g) {
|
|
2516
|
-
_this.
|
|
2550
|
+
_this.ei(a, b);
|
|
2517
2551
|
}
|
|
2518
2552
|
});
|
|
2519
2553
|
return f;
|
|
2520
2554
|
};
|
|
2521
|
-
ComponentRenderer.prototype.
|
|
2555
|
+
ComponentRenderer.prototype.dh = function (a, b, c) {
|
|
2522
2556
|
var e_17, _a;
|
|
2523
|
-
var d = this.
|
|
2557
|
+
var d = this.bm(a, b, c);
|
|
2524
2558
|
try {
|
|
2525
|
-
for (var _b = __values(fromEnum(this.
|
|
2559
|
+
for (var _b = __values(fromEnum(this.a7.values)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2526
2560
|
var e = _c.value;
|
|
2527
2561
|
e.i(b);
|
|
2528
2562
|
}
|
|
@@ -2543,22 +2577,22 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2543
2577
|
if (d != -1) {
|
|
2544
2578
|
c.l(this, a, d, runOn(this, this.removeRefValueCore));
|
|
2545
2579
|
}
|
|
2546
|
-
this.
|
|
2580
|
+
this.l.b(ComponentRenderer.platform, b);
|
|
2547
2581
|
};
|
|
2548
|
-
ComponentRenderer.prototype.
|
|
2582
|
+
ComponentRenderer.prototype.bm = function (a, b, c) {
|
|
2549
2583
|
return c.h(b);
|
|
2550
2584
|
};
|
|
2551
|
-
ComponentRenderer.prototype.
|
|
2585
|
+
ComponentRenderer.prototype.ak = function (a, b, c) {
|
|
2552
2586
|
if (c.c == null) {
|
|
2553
|
-
return this.
|
|
2587
|
+
return this.ap(a, b, c);
|
|
2554
2588
|
}
|
|
2555
2589
|
else {
|
|
2556
|
-
var d = this.
|
|
2557
|
-
this.
|
|
2590
|
+
var d = this.ce(a, b, c);
|
|
2591
|
+
this.d1(a, b, c, d);
|
|
2558
2592
|
}
|
|
2559
2593
|
return true;
|
|
2560
2594
|
};
|
|
2561
|
-
ComponentRenderer.prototype.
|
|
2595
|
+
ComponentRenderer.prototype.d1 = function (a, b, c, d) {
|
|
2562
2596
|
var e = c.i(ComponentRenderer.platform);
|
|
2563
2597
|
this.adapter.removeItemFromCollection(e, c.d, d, c.f);
|
|
2564
2598
|
if (c.h != null && typeCast(DescriptionTreeNode.$, c.h) !== null) {
|
|
@@ -2566,37 +2600,37 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2566
2600
|
if (f >= 0) {
|
|
2567
2601
|
var g = b.j(f);
|
|
2568
2602
|
if (g != null) {
|
|
2569
|
-
this.
|
|
2603
|
+
this.dh(a, g, b);
|
|
2570
2604
|
}
|
|
2571
2605
|
}
|
|
2572
2606
|
}
|
|
2573
2607
|
};
|
|
2574
|
-
ComponentRenderer.prototype.
|
|
2608
|
+
ComponentRenderer.prototype.ap = function (a, b, c) {
|
|
2575
2609
|
var _this = this;
|
|
2576
2610
|
var d = this.adapter.getRootObject(a);
|
|
2577
2611
|
if (d != null) {
|
|
2578
|
-
this.
|
|
2612
|
+
this.dh(a, d, b);
|
|
2579
2613
|
}
|
|
2580
2614
|
var e = false;
|
|
2581
2615
|
this.adapter.removeRootItem(a, this.context, function (f) {
|
|
2582
2616
|
e = true;
|
|
2583
2617
|
if (f) {
|
|
2584
|
-
_this.
|
|
2618
|
+
_this.ei(a, b);
|
|
2585
2619
|
}
|
|
2586
2620
|
});
|
|
2587
2621
|
return e;
|
|
2588
2622
|
};
|
|
2589
|
-
ComponentRenderer.prototype.
|
|
2623
|
+
ComponentRenderer.prototype.af = function (a, b, c) {
|
|
2590
2624
|
if (c.c == null) {
|
|
2591
|
-
return this.
|
|
2625
|
+
return this.o(a, b, c);
|
|
2592
2626
|
}
|
|
2593
2627
|
else {
|
|
2594
|
-
var d = this.
|
|
2595
|
-
this.
|
|
2628
|
+
var d = this.ce(a, b, c);
|
|
2629
|
+
this.c6(a, b, c, d);
|
|
2596
2630
|
}
|
|
2597
2631
|
return true;
|
|
2598
2632
|
};
|
|
2599
|
-
ComponentRenderer.prototype.
|
|
2633
|
+
ComponentRenderer.prototype.o = function (a, b, c) {
|
|
2600
2634
|
var _this = this;
|
|
2601
2635
|
if (!(typeCast(DescriptionTreeNode.$, c.g) !== null)) {
|
|
2602
2636
|
throw new NotImplementedException(0);
|
|
@@ -2605,17 +2639,17 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2605
2639
|
var e = false;
|
|
2606
2640
|
this.adapter.replaceRootItem(a, d.i, this.context, function (f) {
|
|
2607
2641
|
var g = _this.adapter.getRootObject(a);
|
|
2608
|
-
b.k(a, d.g, g, d, runOn(_this, _this.
|
|
2609
|
-
var h = _this.
|
|
2610
|
-
_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);
|
|
2611
2645
|
e = true;
|
|
2612
2646
|
if (f) {
|
|
2613
|
-
_this.
|
|
2647
|
+
_this.ei(a, b);
|
|
2614
2648
|
}
|
|
2615
2649
|
});
|
|
2616
2650
|
return e;
|
|
2617
2651
|
};
|
|
2618
|
-
ComponentRenderer.prototype.
|
|
2652
|
+
ComponentRenderer.prototype.c6 = function (a, b, c, d) {
|
|
2619
2653
|
var e = c.i(ComponentRenderer.platform);
|
|
2620
2654
|
var f = c.d.collectionElementType;
|
|
2621
2655
|
if (typeCast(DescriptionTreeNode.$, c.g) !== null) {
|
|
@@ -2627,11 +2661,11 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2627
2661
|
if (f == null) {
|
|
2628
2662
|
f = c.d.specificExternalType;
|
|
2629
2663
|
}
|
|
2630
|
-
var h = this.
|
|
2664
|
+
var h = this.b8(f, c.g, a, b, false, c.c.g, c.d);
|
|
2631
2665
|
this.adapter.addItemToCollection(e, c.d, d, c.e, h);
|
|
2632
2666
|
};
|
|
2633
|
-
ComponentRenderer.prototype.
|
|
2634
|
-
if (this.
|
|
2667
|
+
ComponentRenderer.prototype.b8 = function (a, b, c, d, e, f, g) {
|
|
2668
|
+
if (this.z(a)) {
|
|
2635
2669
|
return b;
|
|
2636
2670
|
}
|
|
2637
2671
|
var h = null;
|
|
@@ -2643,17 +2677,17 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2643
2677
|
if (!stringIsNullOrEmpty(j)) {
|
|
2644
2678
|
if (this.shouldNamespaceSystemRefValues) {
|
|
2645
2679
|
var k = "";
|
|
2646
|
-
if (this.
|
|
2647
|
-
for (var l = 0; l < this.
|
|
2648
|
-
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);
|
|
2649
2683
|
}
|
|
2650
2684
|
}
|
|
2651
2685
|
if (!stringIsNullOrEmpty(k)) {
|
|
2652
2686
|
j = k + "/" + j;
|
|
2653
2687
|
}
|
|
2654
2688
|
}
|
|
2655
|
-
if (this.
|
|
2656
|
-
var m = this.
|
|
2689
|
+
if (this.a9.containsKey(j)) {
|
|
2690
|
+
var m = this.a9.item(j);
|
|
2657
2691
|
h = m;
|
|
2658
2692
|
}
|
|
2659
2693
|
}
|
|
@@ -2682,33 +2716,33 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2682
2716
|
}
|
|
2683
2717
|
}
|
|
2684
2718
|
if (p != null) {
|
|
2685
|
-
for (var r = 0; r < this.
|
|
2686
|
-
var s = this.
|
|
2719
|
+
for (var r = 0; r < this.be.count; r++) {
|
|
2720
|
+
var s = this.be._inner[r](c, o, p);
|
|
2687
2721
|
if (s != null) {
|
|
2688
2722
|
return s;
|
|
2689
2723
|
}
|
|
2690
2724
|
}
|
|
2691
2725
|
if (o == "name") {
|
|
2692
2726
|
var t = p;
|
|
2693
|
-
if (this.
|
|
2694
|
-
return this.
|
|
2727
|
+
if (this.a9.containsKey(t)) {
|
|
2728
|
+
return this.a9.item(t);
|
|
2695
2729
|
}
|
|
2696
2730
|
}
|
|
2697
2731
|
return null;
|
|
2698
2732
|
}
|
|
2699
2733
|
}
|
|
2700
2734
|
else {
|
|
2701
|
-
if (!this.
|
|
2702
|
-
this.
|
|
2735
|
+
if (!this.a8.containsKey(c)) {
|
|
2736
|
+
this.a8.addItem(c, ((function () {
|
|
2703
2737
|
var $ret = new ContainerState();
|
|
2704
2738
|
$ret.i = c;
|
|
2705
2739
|
return $ret;
|
|
2706
2740
|
})()));
|
|
2707
|
-
d = this.
|
|
2741
|
+
d = this.a8.item(c);
|
|
2708
2742
|
}
|
|
2709
|
-
d.k(c, n.g, h, n, runOn(this, this.
|
|
2710
|
-
var u = this.
|
|
2711
|
-
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);
|
|
2712
2746
|
if (e) {
|
|
2713
2747
|
d.l(this, c, n.g, runOn(this, this.removeRefValueCore));
|
|
2714
2748
|
}
|
|
@@ -2722,23 +2756,23 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2722
2756
|
return x;
|
|
2723
2757
|
}
|
|
2724
2758
|
if (!v && typeof b === 'string' && a.toLowerCase() != "string") {
|
|
2725
|
-
return this.
|
|
2759
|
+
return this.bw(a, b, g);
|
|
2726
2760
|
}
|
|
2727
2761
|
if (v) {
|
|
2728
2762
|
return b;
|
|
2729
2763
|
}
|
|
2730
2764
|
return h;
|
|
2731
2765
|
};
|
|
2732
|
-
ComponentRenderer.prototype.
|
|
2766
|
+
ComponentRenderer.prototype.z = function (a) {
|
|
2733
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";
|
|
2734
2768
|
};
|
|
2735
|
-
ComponentRenderer.prototype.
|
|
2736
|
-
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());
|
|
2737
2771
|
};
|
|
2738
|
-
ComponentRenderer.prototype.
|
|
2772
|
+
ComponentRenderer.prototype.p = function () {
|
|
2739
2773
|
return true;
|
|
2740
2774
|
};
|
|
2741
|
-
ComponentRenderer.prototype.
|
|
2775
|
+
ComponentRenderer.prototype.bj = function (a) {
|
|
2742
2776
|
var b = a.f();
|
|
2743
2777
|
var c = new List$1(DescriptionTreeAction.$, 0);
|
|
2744
2778
|
for (var d = 0; d < b.count; d++) {
|
|
@@ -2758,17 +2792,17 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2758
2792
|
}
|
|
2759
2793
|
return c;
|
|
2760
2794
|
};
|
|
2761
|
-
ComponentRenderer.prototype.
|
|
2795
|
+
ComponentRenderer.prototype.ae = function (a, b, c) {
|
|
2762
2796
|
if (c.c == null) {
|
|
2763
|
-
return this.
|
|
2797
|
+
return this.t(a, b, c);
|
|
2764
2798
|
}
|
|
2765
2799
|
else {
|
|
2766
|
-
var d = this.
|
|
2767
|
-
this.
|
|
2800
|
+
var d = this.ce(a, b, c);
|
|
2801
|
+
this.de(a, b, c, d);
|
|
2768
2802
|
}
|
|
2769
2803
|
return true;
|
|
2770
2804
|
};
|
|
2771
|
-
ComponentRenderer.prototype.
|
|
2805
|
+
ComponentRenderer.prototype.de = function (a, b, c, d) {
|
|
2772
2806
|
var e = c.i(ComponentRenderer.platform);
|
|
2773
2807
|
this.adapter.clearCollection(d, e, c.d);
|
|
2774
2808
|
if (c.h != null && typeCast(Array_$type, c.h) !== null) {
|
|
@@ -2780,18 +2814,18 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2780
2814
|
if (i >= 0) {
|
|
2781
2815
|
var j = b.j(i);
|
|
2782
2816
|
if (j != null) {
|
|
2783
|
-
this.
|
|
2817
|
+
this.dh(a, j, b);
|
|
2784
2818
|
}
|
|
2785
2819
|
}
|
|
2786
2820
|
}
|
|
2787
2821
|
}
|
|
2788
2822
|
}
|
|
2789
2823
|
};
|
|
2790
|
-
ComponentRenderer.prototype.
|
|
2824
|
+
ComponentRenderer.prototype.en = function (a, b, c, d, e, f) {
|
|
2791
2825
|
var e_18, _a;
|
|
2792
|
-
if (this.
|
|
2826
|
+
if (this.ba.containsKey(b)) {
|
|
2793
2827
|
try {
|
|
2794
|
-
for (var _b = __values(fromEnum(this.
|
|
2828
|
+
for (var _b = __values(fromEnum(this.ba.item(b))), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2795
2829
|
var g = _c.value;
|
|
2796
2830
|
g(b, a, d);
|
|
2797
2831
|
}
|
|
@@ -2812,23 +2846,23 @@ var ComponentRenderer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2812
2846
|
}
|
|
2813
2847
|
this.adapter.setPropertyValue(a, b, c, d, e, f);
|
|
2814
2848
|
};
|
|
2815
|
-
ComponentRenderer.prototype.
|
|
2849
|
+
ComponentRenderer.prototype.cc = function (a, b) {
|
|
2816
2850
|
return this.adapter.getPropertyValue(a, b);
|
|
2817
2851
|
};
|
|
2818
|
-
ComponentRenderer.prototype.
|
|
2819
|
-
return this.
|
|
2852
|
+
ComponentRenderer.prototype.t = function (a, b, c) {
|
|
2853
|
+
return this.s(a, b);
|
|
2820
2854
|
};
|
|
2821
|
-
ComponentRenderer.prototype.
|
|
2855
|
+
ComponentRenderer.prototype.s = function (a, b) {
|
|
2822
2856
|
var _this = this;
|
|
2823
2857
|
var c = this.adapter.getRootObject(a);
|
|
2824
2858
|
if (c != null) {
|
|
2825
|
-
this.
|
|
2859
|
+
this.dh(a, c, b);
|
|
2826
2860
|
}
|
|
2827
2861
|
var d = false;
|
|
2828
2862
|
this.adapter.clearContainer(a, this.context, function (e) {
|
|
2829
2863
|
d = true;
|
|
2830
2864
|
if (e) {
|
|
2831
|
-
_this.
|
|
2865
|
+
_this.ei(a, b);
|
|
2832
2866
|
}
|
|
2833
2867
|
});
|
|
2834
2868
|
return d;
|
|
@@ -2887,7 +2921,7 @@ var ContainerState = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2887
2921
|
for (var f = 0; f < e.count; f++) {
|
|
2888
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))) {
|
|
2889
2923
|
if (this.e.containsKey(e._inner[f])) {
|
|
2890
|
-
a.
|
|
2924
|
+
a.dh(b, this.e.item(e._inner[f]), this);
|
|
2891
2925
|
}
|
|
2892
2926
|
}
|
|
2893
2927
|
}
|