igniteui-angular-core 14.1.0 → 14.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-core.umd.js +491 -411
- package/bundles/igniteui-angular-core.umd.min.js +1 -1
- package/esm2015/lib/CanvasViewRenderer.js +1 -1
- package/esm2015/lib/CodeGenerationTransformer.js +19 -19
- package/esm2015/lib/ComponentRenderer_combined.js +177 -168
- package/esm2015/lib/DescriptionSerializer.js +2 -2
- package/esm2015/lib/DescriptionTreeAction.js +10 -9
- package/esm2015/lib/DescriptionTreeBuilder.js +4 -4
- package/esm2015/lib/DescriptionTreeNode.js +64 -36
- package/esm2015/lib/DescriptionTreeReconciler.js +156 -141
- package/esm2015/lib/TypeDescriptionPropretyTransforms.js +49 -25
- package/esm2015/lib/componentUtil.js +4 -1
- package/esm5/lib/CanvasViewRenderer.js +1 -1
- package/esm5/lib/CodeGenerationTransformer.js +19 -19
- package/esm5/lib/ComponentRenderer_combined.js +183 -174
- package/esm5/lib/DescriptionSerializer.js +2 -2
- package/esm5/lib/DescriptionTreeAction.js +10 -9
- package/esm5/lib/DescriptionTreeBuilder.js +4 -4
- package/esm5/lib/DescriptionTreeNode.js +64 -36
- package/esm5/lib/DescriptionTreeReconciler.js +156 -141
- package/esm5/lib/TypeDescriptionPropretyTransforms.js +49 -25
- package/esm5/lib/componentUtil.js +4 -1
- package/fesm2015/igniteui-angular-core.js +485 -405
- package/fesm5/igniteui-angular-core.js +491 -411
- package/lib/DescriptionTreeAction.d.ts +6 -5
- package/lib/DescriptionTreeNode.d.ts +13 -12
- package/package.json +1 -1
|
@@ -307,7 +307,7 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
307
307
|
}
|
|
308
308
|
let h = DescriptionTreeBuilder.createTree(this.context, g.result);
|
|
309
309
|
let i = this.av.item(b);
|
|
310
|
-
if (h.
|
|
310
|
+
if (h.c("Type")) {
|
|
311
311
|
let j = h.a("Type").b;
|
|
312
312
|
return this.bo(j, h, b, i, true, -1);
|
|
313
313
|
}
|
|
@@ -475,21 +475,21 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
475
475
|
}
|
|
476
476
|
ch(a, b, c, d) {
|
|
477
477
|
if (!c.b(b)) {
|
|
478
|
-
c.k(d, this.ao.item(d).
|
|
478
|
+
c.k(d, this.ao.item(d).g, b, this.ao.item(d), runOn(this, this.cr), -1);
|
|
479
479
|
}
|
|
480
|
-
for (let e of fromEnum(a.
|
|
481
|
-
this.ci(this.b0(e.c, ComponentRenderer.platform, e.a), e.b, b, c, d, a.
|
|
480
|
+
for (let e of fromEnum(a.f())) {
|
|
481
|
+
this.ci(this.b0(e.c, ComponentRenderer.platform, e.a), e.b, b, c, d, a.g);
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
ci(a, b, c, d, e, f) {
|
|
485
485
|
if (typeCast(DescriptionTreeNode.$, b) !== null) {
|
|
486
486
|
let g = b;
|
|
487
487
|
let h = this.f.getPropertyValue(c, a);
|
|
488
|
-
if (!d.b(h) && !d.a(g.
|
|
489
|
-
d.k(e, g.
|
|
488
|
+
if (!d.b(h) && !d.a(g.g)) {
|
|
489
|
+
d.k(e, g.g, h, g, runOn(this, this.cr), f);
|
|
490
490
|
}
|
|
491
|
-
for (let i of fromEnum(g.
|
|
492
|
-
this.ci(a + "." + this.b0(i.c, ComponentRenderer.platform, i.a), i.b, c, d, e, g.
|
|
491
|
+
for (let i of fromEnum(g.f())) {
|
|
492
|
+
this.ci(a + "." + this.b0(i.c, ComponentRenderer.platform, i.a), i.b, c, d, e, g.g);
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
if (typeCast(Array_$type, b) !== null) {
|
|
@@ -510,11 +510,11 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
510
510
|
this.f.forPropertyValueItem(c, a, (r) => {
|
|
511
511
|
if (j.containsKey(k)) {
|
|
512
512
|
let s = j.item(k);
|
|
513
|
-
if (!d.b(r) && !d.a(s.
|
|
514
|
-
d.k(e, s.
|
|
513
|
+
if (!d.b(r) && !d.a(s.g)) {
|
|
514
|
+
d.k(e, s.g, r, s, runOn(this, this.cr), f);
|
|
515
515
|
}
|
|
516
|
-
for (let t of fromEnum(s.
|
|
517
|
-
this.ci(a + "." + t.c, t.b, c, d, e, s.
|
|
516
|
+
for (let t of fromEnum(s.f())) {
|
|
517
|
+
this.ci(a + "." + t.c, t.b, c, d, e, s.g);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
k++;
|
|
@@ -524,11 +524,11 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
524
524
|
this.f.forPropertyValueItem(c, r, (s) => {
|
|
525
525
|
if (j.containsKey(k)) {
|
|
526
526
|
let t = j.item(k);
|
|
527
|
-
if (!d.b(s) && !d.a(t.
|
|
528
|
-
d.k(e, t.
|
|
527
|
+
if (!d.b(s) && !d.a(t.g)) {
|
|
528
|
+
d.k(e, t.g, s, t, runOn(this, this.cr), f);
|
|
529
529
|
}
|
|
530
|
-
for (let u of fromEnum(t.
|
|
531
|
-
this.ci(r + "." + u.c, u.b, c, d, e, t.
|
|
530
|
+
for (let u of fromEnum(t.f())) {
|
|
531
|
+
this.ci(r + "." + u.c, u.b, c, d, e, t.g);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
k++;
|
|
@@ -620,8 +620,16 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
620
620
|
f = this.ao.item(a);
|
|
621
621
|
}
|
|
622
622
|
let g = DescriptionTreeReconciler.c(f, e, b);
|
|
623
|
+
if (!c && b) {
|
|
624
|
+
e = f.b();
|
|
625
|
+
DescriptionTreeReconciler.a(f, g);
|
|
626
|
+
let h = f;
|
|
627
|
+
f = e;
|
|
628
|
+
e = h;
|
|
629
|
+
g = DescriptionTreeReconciler.c(f, e, false);
|
|
630
|
+
}
|
|
623
631
|
if (c) {
|
|
624
|
-
let
|
|
632
|
+
let i = DescriptionTreeReconciler.a(f, g);
|
|
625
633
|
if (!this.av.containsKey(a)) {
|
|
626
634
|
this.av.addItem(a, ((() => {
|
|
627
635
|
let $ret = new ContainerState();
|
|
@@ -629,78 +637,78 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
629
637
|
return $ret;
|
|
630
638
|
})()));
|
|
631
639
|
}
|
|
632
|
-
let
|
|
633
|
-
if (
|
|
634
|
-
for (let
|
|
635
|
-
if (
|
|
636
|
-
let
|
|
637
|
-
this.cf(a,
|
|
640
|
+
let j = this.av.item(a);
|
|
641
|
+
if (i.a.count > 0) {
|
|
642
|
+
for (let k of fromEnum(i.a)) {
|
|
643
|
+
if (j.a(k)) {
|
|
644
|
+
let l = j.j(k);
|
|
645
|
+
this.cf(a, l, j);
|
|
638
646
|
}
|
|
639
647
|
}
|
|
640
648
|
}
|
|
641
|
-
if (
|
|
642
|
-
for (let
|
|
643
|
-
let
|
|
644
|
-
let
|
|
645
|
-
if (
|
|
646
|
-
if (!
|
|
647
|
-
let
|
|
648
|
-
if (typeCast(DescriptionTreeNode.$,
|
|
649
|
-
let
|
|
650
|
-
|
|
649
|
+
if (i.c.count > 0) {
|
|
650
|
+
for (let m of fromEnum(i.c)) {
|
|
651
|
+
let n = this.bt(a, j, m);
|
|
652
|
+
let o = this.f.getPropertyValue(n, m.j);
|
|
653
|
+
if (o != null) {
|
|
654
|
+
if (!j.b(o)) {
|
|
655
|
+
let p = m.g;
|
|
656
|
+
if (typeCast(DescriptionTreeNode.$, p) !== null) {
|
|
657
|
+
let q = p.g;
|
|
658
|
+
j.k(a, q, o, p, runOn(this, this.cr), m.c.g);
|
|
651
659
|
}
|
|
652
660
|
}
|
|
653
661
|
}
|
|
654
662
|
}
|
|
655
663
|
}
|
|
656
|
-
if (
|
|
657
|
-
for (let
|
|
658
|
-
let
|
|
659
|
-
if (
|
|
660
|
-
if (!
|
|
661
|
-
let
|
|
662
|
-
if (typeCast(DescriptionTreeNode.$,
|
|
663
|
-
let
|
|
664
|
-
this.ao.item(a,
|
|
664
|
+
if (i.d.count > 0) {
|
|
665
|
+
for (let r of fromEnum(i.d)) {
|
|
666
|
+
let s = r.g;
|
|
667
|
+
if (s != null) {
|
|
668
|
+
if (!j.b(s)) {
|
|
669
|
+
let t = r.g;
|
|
670
|
+
if (typeCast(DescriptionTreeNode.$, t) !== null) {
|
|
671
|
+
let u = t.g;
|
|
672
|
+
this.ao.item(a, t);
|
|
665
673
|
}
|
|
666
674
|
}
|
|
667
675
|
}
|
|
668
676
|
}
|
|
669
677
|
}
|
|
670
|
-
if (
|
|
671
|
-
for (let
|
|
672
|
-
let
|
|
673
|
-
if (
|
|
678
|
+
if (i.b.count > 0) {
|
|
679
|
+
for (let v of fromEnum(i.b)) {
|
|
680
|
+
let w = v.c.a(v.j).b;
|
|
681
|
+
if (w == null) {
|
|
674
682
|
continue;
|
|
675
683
|
}
|
|
676
|
-
let
|
|
677
|
-
for (let
|
|
678
|
-
let
|
|
679
|
-
if (typeCast(DescriptionTreeNode.$,
|
|
680
|
-
let
|
|
681
|
-
if (
|
|
682
|
-
|
|
684
|
+
let x = new Dictionary$2(String_$type, DescriptionTreeNode.$, 0);
|
|
685
|
+
for (let y = 0; y < w.length; y++) {
|
|
686
|
+
let z = w[y];
|
|
687
|
+
if (typeCast(DescriptionTreeNode.$, z) !== null) {
|
|
688
|
+
let aa = z;
|
|
689
|
+
if (aa.c("Name")) {
|
|
690
|
+
x.item(aa.a("Name").b, aa);
|
|
683
691
|
}
|
|
684
692
|
}
|
|
685
693
|
}
|
|
686
|
-
if (
|
|
694
|
+
if (x.count == 0) {
|
|
687
695
|
continue;
|
|
688
696
|
}
|
|
689
|
-
let
|
|
690
|
-
let
|
|
691
|
-
if (
|
|
692
|
-
let
|
|
693
|
-
this.f.forPropertyValueItem(
|
|
694
|
-
if (
|
|
695
|
-
if (!
|
|
696
|
-
let
|
|
697
|
-
if (typeCast(DescriptionTreeNode.$,
|
|
698
|
-
let
|
|
699
|
-
|
|
697
|
+
let ab = this.bt(a, j, v);
|
|
698
|
+
let ac = this.f.getPropertyValue(ab, v.j);
|
|
699
|
+
if (ac != null) {
|
|
700
|
+
let ad = 0;
|
|
701
|
+
this.f.forPropertyValueItem(ab, v.j, (ae) => {
|
|
702
|
+
if (x.containsKey(this.f.getPropertyValue(ae, "Name").toString())) {
|
|
703
|
+
if (!j.b(ae)) {
|
|
704
|
+
let af = x.item(this.f.getPropertyValue(ae, "Name").toString());
|
|
705
|
+
if (typeCast(DescriptionTreeNode.$, af) !== null) {
|
|
706
|
+
let ag = af.g;
|
|
707
|
+
j.k(a, ag, ae, af, runOn(this, this.cr), v.c.g);
|
|
700
708
|
}
|
|
701
709
|
}
|
|
702
710
|
}
|
|
703
|
-
|
|
711
|
+
ad++;
|
|
704
712
|
});
|
|
705
713
|
}
|
|
706
714
|
}
|
|
@@ -877,22 +885,22 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
877
885
|
}
|
|
878
886
|
}
|
|
879
887
|
}
|
|
880
|
-
if (c.
|
|
888
|
+
if (c.j == "Type" || c.j == "type") {
|
|
881
889
|
f = true;
|
|
882
890
|
}
|
|
883
891
|
if (f) {
|
|
884
892
|
return true;
|
|
885
893
|
}
|
|
886
|
-
if (c.
|
|
887
|
-
this.aj(a, b, c.
|
|
894
|
+
if (c.d != null && c.d.knownType == 9) {
|
|
895
|
+
this.aj(a, b, c.i(ComponentRenderer.platform), c.d, e, d);
|
|
888
896
|
}
|
|
889
897
|
else {
|
|
890
|
-
this.da(a, b, c.
|
|
898
|
+
this.da(a, b, c.i(ComponentRenderer.platform), c.d, e, c.h, d);
|
|
891
899
|
}
|
|
892
900
|
return true;
|
|
893
901
|
}
|
|
894
902
|
b1(a, b) {
|
|
895
|
-
let c = b.
|
|
903
|
+
let c = b.c;
|
|
896
904
|
let d = "";
|
|
897
905
|
if (c != this.ao.item(a)) {
|
|
898
906
|
let e = this.bz(a, c);
|
|
@@ -901,7 +909,7 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
901
909
|
if (d.length > 0) {
|
|
902
910
|
d += ".";
|
|
903
911
|
}
|
|
904
|
-
d += b.
|
|
912
|
+
d += b.j;
|
|
905
913
|
return d;
|
|
906
914
|
}
|
|
907
915
|
bz(a, b) {
|
|
@@ -921,11 +929,11 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
921
929
|
if (a.length > 0) {
|
|
922
930
|
a += ".";
|
|
923
931
|
}
|
|
924
|
-
let d = b.
|
|
932
|
+
let d = b.f();
|
|
925
933
|
for (let e = 0; e < d.count; e++) {
|
|
926
934
|
let f = d._inner[e];
|
|
927
935
|
if (typeCast(DescriptionTreeNode.$, f.b) !== null) {
|
|
928
|
-
if (f.b.
|
|
936
|
+
if (f.b.g == c.g) {
|
|
929
937
|
a += f.c;
|
|
930
938
|
return new Tuple$2(Boolean_$type, String_$type, true, a);
|
|
931
939
|
}
|
|
@@ -942,7 +950,7 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
942
950
|
for (let j = 0; j < i.length; j++) {
|
|
943
951
|
if (typeCast(DescriptionTreeNode.$, i[j]) !== null) {
|
|
944
952
|
let k = i[j];
|
|
945
|
-
if (k.
|
|
953
|
+
if (k.g == c.g) {
|
|
946
954
|
a += f.c + "[" + j + "]";
|
|
947
955
|
return new Tuple$2(Boolean_$type, String_$type, true, a);
|
|
948
956
|
}
|
|
@@ -969,10 +977,10 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
969
977
|
return true;
|
|
970
978
|
}
|
|
971
979
|
bq(a, b, c) {
|
|
972
|
-
if (a.
|
|
973
|
-
return a.
|
|
980
|
+
if (a.d == null) {
|
|
981
|
+
return a.g;
|
|
974
982
|
}
|
|
975
|
-
switch (a.
|
|
983
|
+
switch (a.d.knownType) {
|
|
976
984
|
case 10: return this.a6(a, b, c);
|
|
977
985
|
case 7: return this.a7(a);
|
|
978
986
|
case 4: return this.a8(a);
|
|
@@ -999,7 +1007,7 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
999
1007
|
return null;
|
|
1000
1008
|
}
|
|
1001
1009
|
bl(a, b, c) {
|
|
1002
|
-
let d = this.bm(a.
|
|
1010
|
+
let d = this.bm(a.g, a, b, c);
|
|
1003
1011
|
return d;
|
|
1004
1012
|
}
|
|
1005
1013
|
bm(a, b, c, d) {
|
|
@@ -1020,27 +1028,27 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1020
1028
|
}
|
|
1021
1029
|
if (typeCast(DescriptionTreeNode.$, a) !== null) {
|
|
1022
1030
|
let i = a;
|
|
1023
|
-
if (i.
|
|
1024
|
-
return this.bo(i.
|
|
1031
|
+
if (i.i == "EmbeddedRef") {
|
|
1032
|
+
return this.bo(i.i, a, c, d, false, b.c.g);
|
|
1025
1033
|
}
|
|
1026
1034
|
}
|
|
1027
1035
|
return a;
|
|
1028
1036
|
}
|
|
1029
1037
|
bk(a) {
|
|
1030
|
-
return a.
|
|
1038
|
+
return a.g;
|
|
1031
1039
|
}
|
|
1032
1040
|
bj(a) {
|
|
1033
|
-
return a.
|
|
1041
|
+
return a.g != null ? a.g.toString() : null;
|
|
1034
1042
|
}
|
|
1035
1043
|
bi(a) {
|
|
1036
|
-
let b = a.
|
|
1044
|
+
let b = a.g;
|
|
1037
1045
|
let width_ = b.width;
|
|
1038
1046
|
let height_ = b.height;
|
|
1039
1047
|
let c = { width: width_, height: height_ };
|
|
1040
1048
|
return c;
|
|
1041
1049
|
}
|
|
1042
1050
|
bh(a) {
|
|
1043
|
-
let b = a.
|
|
1051
|
+
let b = a.g;
|
|
1044
1052
|
let top_ = b.top;
|
|
1045
1053
|
let left_ = b.left;
|
|
1046
1054
|
let width_ = b.width;
|
|
@@ -1049,20 +1057,20 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1049
1057
|
return c;
|
|
1050
1058
|
}
|
|
1051
1059
|
bg(a) {
|
|
1052
|
-
let b = a.
|
|
1060
|
+
let b = a.g;
|
|
1053
1061
|
let x_ = b.x;
|
|
1054
1062
|
let y_ = b.y;
|
|
1055
1063
|
let c = { x: x_, y: y_ };
|
|
1056
1064
|
return c;
|
|
1057
1065
|
}
|
|
1058
1066
|
bf(a) {
|
|
1059
|
-
if (a.
|
|
1060
|
-
if (a.
|
|
1067
|
+
if (a.g == null) {
|
|
1068
|
+
if (a.d != null && (a.d.specificType == "double" || a.d.specificType == "float")) {
|
|
1061
1069
|
return NaN;
|
|
1062
1070
|
}
|
|
1063
1071
|
return 0;
|
|
1064
1072
|
}
|
|
1065
|
-
return a.
|
|
1073
|
+
return a.g;
|
|
1066
1074
|
}
|
|
1067
1075
|
d(a, b) {
|
|
1068
1076
|
if (this.au.containsKey(a)) {
|
|
@@ -1074,40 +1082,40 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1074
1082
|
return d;
|
|
1075
1083
|
}
|
|
1076
1084
|
bw(a, b) {
|
|
1077
|
-
return a.
|
|
1085
|
+
return a.g == null ? null : this.d(a.g, b);
|
|
1078
1086
|
}
|
|
1079
1087
|
be(a, b, c) {
|
|
1080
|
-
let d = a.
|
|
1088
|
+
let d = a.d.specificType;
|
|
1081
1089
|
if (d == null) {
|
|
1082
|
-
d = a.
|
|
1090
|
+
d = a.d.specificExternalType;
|
|
1083
1091
|
}
|
|
1084
|
-
if (typeCast(DescriptionTreeNode.$, a.
|
|
1085
|
-
let e = a.
|
|
1086
|
-
if (e.
|
|
1092
|
+
if (typeCast(DescriptionTreeNode.$, a.g) !== null) {
|
|
1093
|
+
let e = a.g;
|
|
1094
|
+
if (e.c("Type")) {
|
|
1087
1095
|
d = e.a("Type").b;
|
|
1088
1096
|
}
|
|
1089
1097
|
}
|
|
1090
|
-
let f = this.bo(d, a.
|
|
1098
|
+
let f = this.bo(d, a.g, b, c, false, a.c.g);
|
|
1091
1099
|
return f;
|
|
1092
1100
|
}
|
|
1093
1101
|
bv(a, b) {
|
|
1094
|
-
return a.
|
|
1102
|
+
return a.g == null ? null : this.d(a.g, b);
|
|
1095
1103
|
}
|
|
1096
1104
|
bc(a) {
|
|
1097
|
-
if (typeof a.
|
|
1098
|
-
let v_ = a.
|
|
1099
|
-
a.
|
|
1105
|
+
if (typeof a.g === 'string') {
|
|
1106
|
+
let v_ = a.g;
|
|
1107
|
+
a.g = new Date(v_);
|
|
1100
1108
|
}
|
|
1101
|
-
return a.
|
|
1109
|
+
return a.g;
|
|
1102
1110
|
}
|
|
1103
1111
|
bu(a, b) {
|
|
1104
|
-
return a.
|
|
1112
|
+
return a.g == null ? null : this.d(a.g, b);
|
|
1105
1113
|
}
|
|
1106
1114
|
by(a) {
|
|
1107
1115
|
return a;
|
|
1108
1116
|
}
|
|
1109
1117
|
bb(a) {
|
|
1110
|
-
let b = a.
|
|
1118
|
+
let b = a.g;
|
|
1111
1119
|
if (b == null) {
|
|
1112
1120
|
return null;
|
|
1113
1121
|
}
|
|
@@ -1118,10 +1126,10 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1118
1126
|
return c;
|
|
1119
1127
|
}
|
|
1120
1128
|
ba(a) {
|
|
1121
|
-
return this.by(a.
|
|
1129
|
+
return this.by(a.g);
|
|
1122
1130
|
}
|
|
1123
1131
|
a9(a) {
|
|
1124
|
-
let b = a.
|
|
1132
|
+
let b = a.g;
|
|
1125
1133
|
if (b == null) {
|
|
1126
1134
|
return null;
|
|
1127
1135
|
}
|
|
@@ -1135,10 +1143,10 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1135
1143
|
return a;
|
|
1136
1144
|
}
|
|
1137
1145
|
a8(a) {
|
|
1138
|
-
return this.bx(a.
|
|
1146
|
+
return this.bx(a.g);
|
|
1139
1147
|
}
|
|
1140
1148
|
a7(a) {
|
|
1141
|
-
return a.
|
|
1149
|
+
return a.g;
|
|
1142
1150
|
}
|
|
1143
1151
|
addTargetPropertyUpdatingListener(a) {
|
|
1144
1152
|
this.a2.add(a);
|
|
@@ -1173,30 +1181,30 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1173
1181
|
this.a1.remove(a);
|
|
1174
1182
|
}
|
|
1175
1183
|
a6(a, b, c) {
|
|
1176
|
-
if (a.
|
|
1184
|
+
if (a.g == null) {
|
|
1177
1185
|
return null;
|
|
1178
1186
|
}
|
|
1179
|
-
let d = a.
|
|
1187
|
+
let d = a.g;
|
|
1180
1188
|
let e = new List$1(Base.$, 0);
|
|
1181
|
-
let f = a.
|
|
1189
|
+
let f = a.d.specificType;
|
|
1182
1190
|
if (f == null) {
|
|
1183
|
-
f = a.
|
|
1191
|
+
f = a.d.specificExternalType;
|
|
1184
1192
|
}
|
|
1185
|
-
if (a.
|
|
1186
|
-
f = a.
|
|
1193
|
+
if (a.d.knownType == 9) {
|
|
1194
|
+
f = a.d.collectionElementType;
|
|
1187
1195
|
if (f == null) {
|
|
1188
|
-
f = a.
|
|
1196
|
+
f = a.d.specificExternalType;
|
|
1189
1197
|
}
|
|
1190
1198
|
}
|
|
1191
1199
|
for (let g = 0; g < d.length; g++) {
|
|
1192
1200
|
let h = f;
|
|
1193
1201
|
if (typeCast(DescriptionTreeNode.$, d[g]) !== null) {
|
|
1194
1202
|
let i = d[g];
|
|
1195
|
-
if (i.
|
|
1203
|
+
if (i.c("Type")) {
|
|
1196
1204
|
h = i.a("Type").b;
|
|
1197
1205
|
}
|
|
1198
1206
|
}
|
|
1199
|
-
let j = this.bo(h, d[g], b, c, false, a.
|
|
1207
|
+
let j = this.bo(h, d[g], b, c, false, a.c.g);
|
|
1200
1208
|
e.add1(j);
|
|
1201
1209
|
}
|
|
1202
1210
|
return e.toArray();
|
|
@@ -1354,7 +1362,7 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1354
1362
|
return a.toArray();
|
|
1355
1363
|
}
|
|
1356
1364
|
bt(a, b, c) {
|
|
1357
|
-
return b.j(c.
|
|
1365
|
+
return b.j(c.c.g);
|
|
1358
1366
|
}
|
|
1359
1367
|
ad(a, b, c) {
|
|
1360
1368
|
let d = this.bt(a, b, c);
|
|
@@ -1362,11 +1370,11 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1362
1370
|
return true;
|
|
1363
1371
|
}
|
|
1364
1372
|
ai(a, b, c, d) {
|
|
1365
|
-
this.f.resetPropertyOnTarget(a, c.
|
|
1373
|
+
this.f.resetPropertyOnTarget(a, c.i(ComponentRenderer.platform), c.d, d);
|
|
1366
1374
|
return true;
|
|
1367
1375
|
}
|
|
1368
1376
|
ac(a, b, c) {
|
|
1369
|
-
if (c.
|
|
1377
|
+
if (c.c == null) {
|
|
1370
1378
|
return this.ah(a, b, c);
|
|
1371
1379
|
}
|
|
1372
1380
|
else {
|
|
@@ -1376,15 +1384,15 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1376
1384
|
return true;
|
|
1377
1385
|
}
|
|
1378
1386
|
c5(a, b, c, d) {
|
|
1379
|
-
let e = c.
|
|
1380
|
-
let f = c.
|
|
1387
|
+
let e = c.i(ComponentRenderer.platform);
|
|
1388
|
+
let f = c.d.collectionElementType;
|
|
1381
1389
|
if (f == null) {
|
|
1382
|
-
f = c.
|
|
1390
|
+
f = c.d.specificExternalType;
|
|
1383
1391
|
}
|
|
1384
|
-
let g = this.bo(f, c.
|
|
1385
|
-
this.f.replaceItemInCollection(e, c.
|
|
1386
|
-
if (c.
|
|
1387
|
-
let h = c.g
|
|
1392
|
+
let g = this.bo(f, c.g, a, b, false, c.c.g);
|
|
1393
|
+
this.f.replaceItemInCollection(e, c.d, d, c.e, g);
|
|
1394
|
+
if (c.h != null && typeCast(DescriptionTreeNode.$, c.h) !== null) {
|
|
1395
|
+
let h = c.h.g;
|
|
1388
1396
|
if (h >= 0) {
|
|
1389
1397
|
let i = b.j(h);
|
|
1390
1398
|
if (i != null) {
|
|
@@ -1398,14 +1406,14 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1398
1406
|
if (d != null) {
|
|
1399
1407
|
this.cf(a, d, b);
|
|
1400
1408
|
}
|
|
1401
|
-
if (!(typeCast(DescriptionTreeNode.$, c.
|
|
1409
|
+
if (!(typeCast(DescriptionTreeNode.$, c.g) !== null)) {
|
|
1402
1410
|
throw new NotImplementedException(0);
|
|
1403
1411
|
}
|
|
1404
|
-
let e = c.
|
|
1412
|
+
let e = c.g;
|
|
1405
1413
|
let f = false;
|
|
1406
|
-
this.f.replaceRootItem(a, e.
|
|
1414
|
+
this.f.replaceRootItem(a, e.i, this.context, (g) => {
|
|
1407
1415
|
let h = this.f.getRootObject(a);
|
|
1408
|
-
b.k(a, e.
|
|
1416
|
+
b.k(a, e.g, h, e, runOn(this, this.cr), -1);
|
|
1409
1417
|
let i = this.a3(e);
|
|
1410
1418
|
this.cp(a, b, i);
|
|
1411
1419
|
f = true;
|
|
@@ -1429,7 +1437,7 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1429
1437
|
return c.h(b);
|
|
1430
1438
|
}
|
|
1431
1439
|
ab(a, b, c) {
|
|
1432
|
-
if (c.
|
|
1440
|
+
if (c.c == null) {
|
|
1433
1441
|
return this.ag(a, b, c);
|
|
1434
1442
|
}
|
|
1435
1443
|
else {
|
|
@@ -1439,10 +1447,10 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1439
1447
|
return true;
|
|
1440
1448
|
}
|
|
1441
1449
|
ct(a, b, c, d) {
|
|
1442
|
-
let e = c.
|
|
1443
|
-
this.f.removeItemFromCollection(e, c.
|
|
1444
|
-
if (c.
|
|
1445
|
-
let f = c.g
|
|
1450
|
+
let e = c.i(ComponentRenderer.platform);
|
|
1451
|
+
this.f.removeItemFromCollection(e, c.d, d, c.f);
|
|
1452
|
+
if (c.h != null && typeCast(DescriptionTreeNode.$, c.h) !== null) {
|
|
1453
|
+
let f = c.h.g;
|
|
1446
1454
|
if (f >= 0) {
|
|
1447
1455
|
let g = b.j(f);
|
|
1448
1456
|
if (g != null) {
|
|
@@ -1466,7 +1474,7 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1466
1474
|
return e;
|
|
1467
1475
|
}
|
|
1468
1476
|
y(a, b, c) {
|
|
1469
|
-
if (c.
|
|
1477
|
+
if (c.c == null) {
|
|
1470
1478
|
return this.l(a, b, c);
|
|
1471
1479
|
}
|
|
1472
1480
|
else {
|
|
@@ -1476,14 +1484,14 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1476
1484
|
return true;
|
|
1477
1485
|
}
|
|
1478
1486
|
l(a, b, c) {
|
|
1479
|
-
if (!(typeCast(DescriptionTreeNode.$, c.
|
|
1487
|
+
if (!(typeCast(DescriptionTreeNode.$, c.g) !== null)) {
|
|
1480
1488
|
throw new NotImplementedException(0);
|
|
1481
1489
|
}
|
|
1482
|
-
let d = c.
|
|
1490
|
+
let d = c.g;
|
|
1483
1491
|
let e = false;
|
|
1484
|
-
this.f.replaceRootItem(a, d.
|
|
1492
|
+
this.f.replaceRootItem(a, d.i, this.context, (f) => {
|
|
1485
1493
|
let g = this.f.getRootObject(a);
|
|
1486
|
-
b.k(a, d.
|
|
1494
|
+
b.k(a, d.g, g, d, runOn(this, this.cr), -1);
|
|
1487
1495
|
let h = this.a3(d);
|
|
1488
1496
|
this.cp(a, b, h);
|
|
1489
1497
|
e = true;
|
|
@@ -1494,19 +1502,19 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1494
1502
|
return e;
|
|
1495
1503
|
}
|
|
1496
1504
|
b6(a, b, c, d) {
|
|
1497
|
-
let e = c.
|
|
1498
|
-
let f = c.
|
|
1499
|
-
if (typeCast(DescriptionTreeNode.$, c.
|
|
1500
|
-
let g = c.
|
|
1501
|
-
if (g.
|
|
1505
|
+
let e = c.i(ComponentRenderer.platform);
|
|
1506
|
+
let f = c.d.collectionElementType;
|
|
1507
|
+
if (typeCast(DescriptionTreeNode.$, c.g) !== null) {
|
|
1508
|
+
let g = c.g;
|
|
1509
|
+
if (g.c("Type")) {
|
|
1502
1510
|
f = g.a("Type").b;
|
|
1503
1511
|
}
|
|
1504
1512
|
}
|
|
1505
1513
|
if (f == null) {
|
|
1506
|
-
f = c.
|
|
1514
|
+
f = c.d.specificExternalType;
|
|
1507
1515
|
}
|
|
1508
|
-
let h = this.bo(f, c.
|
|
1509
|
-
this.f.addItemToCollection(e, c.
|
|
1516
|
+
let h = this.bo(f, c.g, a, b, false, c.c.g);
|
|
1517
|
+
this.f.addItemToCollection(e, c.d, d, c.e, h);
|
|
1510
1518
|
}
|
|
1511
1519
|
bo(a, b, c, d, e, f) {
|
|
1512
1520
|
if (this.t(a)) {
|
|
@@ -1515,7 +1523,7 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1515
1523
|
let g = null;
|
|
1516
1524
|
if (b != null && typeCast(DescriptionTreeNode.$, b) !== null) {
|
|
1517
1525
|
let h = b;
|
|
1518
|
-
if (h.
|
|
1526
|
+
if (h.c("Name")) {
|
|
1519
1527
|
let i = h.a("Name").b;
|
|
1520
1528
|
if (!stringIsNullOrEmpty(i)) {
|
|
1521
1529
|
if (this.shouldNamespaceSystemRefValues) {
|
|
@@ -1547,15 +1555,15 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1547
1555
|
}
|
|
1548
1556
|
if (typeCast(DescriptionTreeNode.$, b) !== null) {
|
|
1549
1557
|
let m = b;
|
|
1550
|
-
if (m.
|
|
1558
|
+
if (m.i == "EmbeddedRef") {
|
|
1551
1559
|
let n = "uuid";
|
|
1552
1560
|
let o = null;
|
|
1553
|
-
for (let p = 0; p < m.
|
|
1554
|
-
if (m.
|
|
1555
|
-
n = m.
|
|
1561
|
+
for (let p = 0; p < m.f().count; p++) {
|
|
1562
|
+
if (m.f()._inner[p].c == "RefType") {
|
|
1563
|
+
n = m.f()._inner[p].b;
|
|
1556
1564
|
}
|
|
1557
|
-
if (m.
|
|
1558
|
-
o = m.
|
|
1565
|
+
if (m.f()._inner[p].c == "Value") {
|
|
1566
|
+
o = m.f()._inner[p].b;
|
|
1559
1567
|
}
|
|
1560
1568
|
}
|
|
1561
1569
|
if (o != null) {
|
|
@@ -1569,11 +1577,11 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1569
1577
|
}
|
|
1570
1578
|
}
|
|
1571
1579
|
else {
|
|
1572
|
-
d.k(c, m.
|
|
1580
|
+
d.k(c, m.g, g, m, runOn(this, this.cr), f);
|
|
1573
1581
|
let s = this.a3(m);
|
|
1574
1582
|
this.cp(c, d, s);
|
|
1575
1583
|
if (e) {
|
|
1576
|
-
d.l(this, c, m.
|
|
1584
|
+
d.l(this, c, m.g, runOn(this, this.removeRefValueCore));
|
|
1577
1585
|
}
|
|
1578
1586
|
}
|
|
1579
1587
|
}
|
|
@@ -1593,21 +1601,22 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1593
1601
|
return this.context.l(a, b);
|
|
1594
1602
|
}
|
|
1595
1603
|
a3(a) {
|
|
1596
|
-
let b = a.
|
|
1604
|
+
let b = a.f();
|
|
1597
1605
|
let c = new List$1(DescriptionTreeAction.$, 0);
|
|
1598
1606
|
for (let d = 0; d < b.count; d++) {
|
|
1599
1607
|
let e = new DescriptionTreeAction();
|
|
1600
1608
|
e.a = 0;
|
|
1601
|
-
e.
|
|
1602
|
-
e.
|
|
1609
|
+
e.j = b._inner[d].c;
|
|
1610
|
+
e.d = b._inner[d].a;
|
|
1611
|
+
e.c = a;
|
|
1603
1612
|
e.b = a;
|
|
1604
|
-
e.
|
|
1613
|
+
e.g = b._inner[d].b;
|
|
1605
1614
|
c.add(e);
|
|
1606
1615
|
}
|
|
1607
1616
|
return c;
|
|
1608
1617
|
}
|
|
1609
1618
|
x(a, b, c) {
|
|
1610
|
-
if (c.
|
|
1619
|
+
if (c.c == null) {
|
|
1611
1620
|
return this.o(a, b, c);
|
|
1612
1621
|
}
|
|
1613
1622
|
else {
|
|
@@ -1617,14 +1626,14 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
1617
1626
|
return true;
|
|
1618
1627
|
}
|
|
1619
1628
|
cc(a, b, c, d) {
|
|
1620
|
-
let e = c.
|
|
1621
|
-
this.f.clearCollection(d, e, c.
|
|
1622
|
-
if (c.
|
|
1623
|
-
let f = c.
|
|
1629
|
+
let e = c.i(ComponentRenderer.platform);
|
|
1630
|
+
this.f.clearCollection(d, e, c.d);
|
|
1631
|
+
if (c.h != null && typeCast(Array_$type, c.h) !== null) {
|
|
1632
|
+
let f = c.h;
|
|
1624
1633
|
for (let g = 0; g < f.length; g++) {
|
|
1625
1634
|
let h = f[g];
|
|
1626
1635
|
if (h != null && typeCast(DescriptionTreeNode.$, h) !== null) {
|
|
1627
|
-
let i = h.
|
|
1636
|
+
let i = h.g;
|
|
1628
1637
|
if (i >= 0) {
|
|
1629
1638
|
let j = b.j(i);
|
|
1630
1639
|
if (j != null) {
|
|
@@ -1684,7 +1693,7 @@ export let ContainerState = /*@__PURE__*/ (() => {
|
|
|
1684
1693
|
this.c = new Dictionary$2(Number_$type, List$1.$.specialize(Number_$type), 0);
|
|
1685
1694
|
}
|
|
1686
1695
|
k(a, b, c, d, e, f) {
|
|
1687
|
-
if (d.
|
|
1696
|
+
if (d.c("Name")) {
|
|
1688
1697
|
this.d.item(b, d.a("Name").b);
|
|
1689
1698
|
e(a, this.d.item(b), c, false);
|
|
1690
1699
|
}
|