igniteui-angular-core 16.1.0-beta.4 → 16.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 +187 -175
- package/bundles/igniteui-angular-core.umd.min.js +1 -1
- package/esm2015/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +122 -122
- package/esm2015/lib/CodeGeneratingComponentRendererDataEmitter.js +61 -53
- package/esm5/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +122 -122
- package/esm5/lib/CodeGeneratingComponentRendererDataEmitter.js +65 -53
- package/fesm2015/igniteui-angular-core.js +183 -175
- package/fesm5/igniteui-angular-core.js +187 -175
- package/lib/CodeGeneratingComponentRendererCodeEmitter_combined.d.ts +34 -34
- package/lib/CodeGeneratingComponentRendererDataEmitter.d.ts +16 -14
- package/package.json +1 -1
|
@@ -60900,10 +60900,10 @@ let CodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
60900
60900
|
get n() {
|
|
60901
60901
|
return this.m;
|
|
60902
60902
|
}
|
|
60903
|
-
|
|
60903
|
+
w(a, b = false) {
|
|
60904
60904
|
return a;
|
|
60905
60905
|
}
|
|
60906
|
-
|
|
60906
|
+
v(a) {
|
|
60907
60907
|
return a;
|
|
60908
60908
|
}
|
|
60909
60909
|
get h() {
|
|
@@ -60936,7 +60936,13 @@ let CodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
60936
60936
|
get s() {
|
|
60937
60937
|
return this.get_s();
|
|
60938
60938
|
}
|
|
60939
|
-
|
|
60939
|
+
get_u() {
|
|
60940
|
+
return ".json";
|
|
60941
|
+
}
|
|
60942
|
+
get u() {
|
|
60943
|
+
return this.get_u();
|
|
60944
|
+
}
|
|
60945
|
+
ab(a) {
|
|
60940
60946
|
if (a != null) {
|
|
60941
60947
|
let b = a;
|
|
60942
60948
|
let c = b.e();
|
|
@@ -60945,22 +60951,22 @@ let CodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
60945
60951
|
let f = b.item(e);
|
|
60946
60952
|
if (typeCast(JsonDictionaryValue.$, f) !== null) {
|
|
60947
60953
|
let g = f;
|
|
60948
|
-
this.
|
|
60954
|
+
this.ah(e, g);
|
|
60949
60955
|
}
|
|
60950
60956
|
else if (typeCast(JsonDictionaryArray.$, f) !== null) {
|
|
60951
60957
|
let h = f;
|
|
60952
|
-
this.
|
|
60953
|
-
this.
|
|
60958
|
+
this.af(e, h, this.h, this.k);
|
|
60959
|
+
this.ag(e, 0, null);
|
|
60954
60960
|
}
|
|
60955
60961
|
else {
|
|
60956
60962
|
let i = f;
|
|
60957
60963
|
let j = this.a(i);
|
|
60958
60964
|
let k = this.b(i);
|
|
60959
|
-
let l = this.r(this.
|
|
60965
|
+
let l = this.r(this.w(e, true), this.w(e), j, k);
|
|
60960
60966
|
for (let m of fromEnum(l)) {
|
|
60961
|
-
this.
|
|
60967
|
+
this.ac(m, this.h, this.k);
|
|
60962
60968
|
}
|
|
60963
|
-
this.
|
|
60969
|
+
this.ai(e, j, k, i);
|
|
60964
60970
|
}
|
|
60965
60971
|
}
|
|
60966
60972
|
}
|
|
@@ -60974,45 +60980,47 @@ let CodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
60974
60980
|
}
|
|
60975
60981
|
n.add_1(p.a.e);
|
|
60976
60982
|
let q = this.o.library.getItem(p.a.e);
|
|
60983
|
+
let r = this.s;
|
|
60977
60984
|
if (q.type == 0) {
|
|
60978
|
-
let
|
|
60979
|
-
let
|
|
60980
|
-
let
|
|
60981
|
-
let
|
|
60982
|
-
if (
|
|
60983
|
-
let
|
|
60984
|
-
let
|
|
60985
|
-
if (
|
|
60986
|
-
|
|
60985
|
+
let s = new CodeGeneratingCodeWriter(this.o);
|
|
60986
|
+
let t = new CodeGeneratingImportManager();
|
|
60987
|
+
let u = q.name;
|
|
60988
|
+
let v = q.getContentForPlatform(this.m.platform);
|
|
60989
|
+
if (v.isJson) {
|
|
60990
|
+
let w = q.getConfigForPlatform(this.m.platform);
|
|
60991
|
+
let x = 0;
|
|
60992
|
+
if (w != null) {
|
|
60993
|
+
x = w.location;
|
|
60987
60994
|
}
|
|
60988
|
-
switch (
|
|
60995
|
+
switch (x) {
|
|
60989
60996
|
case 0:
|
|
60990
|
-
let
|
|
60991
|
-
let
|
|
60992
|
-
this.
|
|
60993
|
-
this.
|
|
60994
|
-
this.
|
|
60995
|
-
this.
|
|
60997
|
+
let y = new JsonDictionaryParser();
|
|
60998
|
+
let z = y.parse(v.content);
|
|
60999
|
+
this.ae(s);
|
|
61000
|
+
this.af(u, z, s, t);
|
|
61001
|
+
this.ad(s);
|
|
61002
|
+
this.ag(u, x, v);
|
|
60996
61003
|
break;
|
|
60997
61004
|
case 2:
|
|
60998
|
-
this.
|
|
61005
|
+
this.ag(u, x, v);
|
|
60999
61006
|
break;
|
|
61000
61007
|
case 1:
|
|
61001
|
-
this.
|
|
61002
|
-
let
|
|
61003
|
-
this.
|
|
61004
|
-
|
|
61008
|
+
this.ag(u, x, v);
|
|
61009
|
+
let aa = v.content;
|
|
61010
|
+
r = this.u;
|
|
61011
|
+
this.z(u, u + r, t);
|
|
61012
|
+
s.j(aa);
|
|
61005
61013
|
break;
|
|
61006
61014
|
}
|
|
61007
61015
|
}
|
|
61008
61016
|
else {
|
|
61009
|
-
let
|
|
61010
|
-
this.
|
|
61011
|
-
|
|
61012
|
-
this.
|
|
61017
|
+
let ab = v.content;
|
|
61018
|
+
this.y(u, t);
|
|
61019
|
+
s.j(ab);
|
|
61020
|
+
this.ag(u, 0, v);
|
|
61013
61021
|
}
|
|
61014
|
-
this.
|
|
61015
|
-
this.m.addContainerNewFileResult(
|
|
61022
|
+
this.aa(u, t);
|
|
61023
|
+
this.m.addContainerNewFileResult(u + r, s.toString());
|
|
61016
61024
|
}
|
|
61017
61025
|
}
|
|
61018
61026
|
}
|
|
@@ -61023,23 +61031,23 @@ let CodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
61023
61031
|
this.m.addContainerResult("vmLibraryProjectFiles", this.f.toString());
|
|
61024
61032
|
this.m.addContainerResult("vmData", this.h.toString());
|
|
61025
61033
|
}
|
|
61026
|
-
ac(a) {
|
|
61027
|
-
}
|
|
61028
61034
|
ad(a) {
|
|
61029
61035
|
}
|
|
61030
|
-
|
|
61036
|
+
ae(a) {
|
|
61031
61037
|
}
|
|
61032
|
-
|
|
61038
|
+
aa(a, b) {
|
|
61033
61039
|
}
|
|
61034
61040
|
y(a, b) {
|
|
61035
61041
|
}
|
|
61036
|
-
|
|
61042
|
+
z(a, b, c) {
|
|
61037
61043
|
}
|
|
61038
|
-
|
|
61044
|
+
ai(a, b, c, d) {
|
|
61039
61045
|
}
|
|
61040
|
-
ag(a, b) {
|
|
61046
|
+
ag(a, b, c) {
|
|
61041
61047
|
}
|
|
61042
|
-
|
|
61048
|
+
ah(a, b) {
|
|
61049
|
+
}
|
|
61050
|
+
af(a, b, c, d) {
|
|
61043
61051
|
if (typeCast(JsonDictionaryArray.$, b) !== null) {
|
|
61044
61052
|
let e = b;
|
|
61045
61053
|
if (e.items != null && e.items.length > 0) {
|
|
@@ -61048,19 +61056,19 @@ let CodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
61048
61056
|
let g = this.a(f);
|
|
61049
61057
|
let h = this.b(f);
|
|
61050
61058
|
if (g != null) {
|
|
61051
|
-
this.
|
|
61059
|
+
this.ak(a, g, h, c, d);
|
|
61052
61060
|
for (let i = 0; i < e.items.length; i++) {
|
|
61053
|
-
this.
|
|
61061
|
+
this.x(a, g, h, e.items[i], i, c);
|
|
61054
61062
|
}
|
|
61055
|
-
this.
|
|
61063
|
+
this.aj(a, g, h, c);
|
|
61056
61064
|
}
|
|
61057
61065
|
}
|
|
61058
61066
|
}
|
|
61059
61067
|
}
|
|
61060
61068
|
}
|
|
61061
|
-
|
|
61069
|
+
aj(a, b, c, d) {
|
|
61062
61070
|
}
|
|
61063
|
-
|
|
61071
|
+
ac(a, b, c) {
|
|
61064
61072
|
}
|
|
61065
61073
|
r(a, b, c, d) {
|
|
61066
61074
|
let e = new List$1(CodeGeneratingComponentRendererDataEmitterItemType.$, 0);
|
|
@@ -61074,19 +61082,19 @@ let CodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
61074
61082
|
let h = c[g];
|
|
61075
61083
|
let i = d[g];
|
|
61076
61084
|
if (i.f) {
|
|
61077
|
-
let j = this.r(this.
|
|
61085
|
+
let j = this.r(this.w(a) + "_" + h, b, i.a, i.b);
|
|
61078
61086
|
e.o(j);
|
|
61079
61087
|
}
|
|
61080
61088
|
else if (i.d) {
|
|
61081
|
-
let k = this.r(this.
|
|
61089
|
+
let k = this.r(this.w(a) + "_" + h + "Item", b, i.a, i.b);
|
|
61082
61090
|
e.o(k);
|
|
61083
61091
|
}
|
|
61084
61092
|
}
|
|
61085
61093
|
return e;
|
|
61086
61094
|
}
|
|
61087
|
-
|
|
61095
|
+
x(a, b, c, d, e, f) {
|
|
61088
61096
|
}
|
|
61089
|
-
|
|
61097
|
+
ak(a, b, c, d, e) {
|
|
61090
61098
|
}
|
|
61091
61099
|
b(a) {
|
|
61092
61100
|
let b = new List$1(CodeGeneratingComponentRendererDataEmitterPropertyType.$, 0);
|
|
@@ -68377,9 +68385,9 @@ let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
68377
68385
|
class TSCodeGeneratingComponentRendererDataEmitter extends CodeGeneratingComponentRendererDataEmitter {
|
|
68378
68386
|
constructor(a, b) {
|
|
68379
68387
|
super(a, b);
|
|
68380
|
-
this.
|
|
68388
|
+
this.al = new Dictionary$2(CodeGeneratingCodeWriter.$, Number_$type, 0);
|
|
68381
68389
|
}
|
|
68382
|
-
|
|
68390
|
+
w(a, b = false) {
|
|
68383
68391
|
a = CodeGeneratingComponentRenderer.d5(a);
|
|
68384
68392
|
a = stringReplace(a, "-", "_");
|
|
68385
68393
|
if (b) {
|
|
@@ -68387,42 +68395,42 @@ let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
68387
68395
|
}
|
|
68388
68396
|
return a;
|
|
68389
68397
|
}
|
|
68390
|
-
|
|
68398
|
+
v(a) {
|
|
68391
68399
|
a = stringReplace(a, "-", "_");
|
|
68392
68400
|
if (this.p.e) {
|
|
68393
68401
|
return a;
|
|
68394
68402
|
}
|
|
68395
68403
|
return CodeGeneratingComponentRenderer.d4(a);
|
|
68396
68404
|
}
|
|
68397
|
-
|
|
68405
|
+
ap(a) {
|
|
68398
68406
|
a = stringReplace(a, "-", "_");
|
|
68399
68407
|
return "_" + CodeGeneratingComponentRenderer.d4(a);
|
|
68400
68408
|
}
|
|
68401
68409
|
get_s() {
|
|
68402
68410
|
return ".ts";
|
|
68403
68411
|
}
|
|
68404
|
-
|
|
68405
|
-
super.
|
|
68406
|
-
let f = this.r(this.
|
|
68412
|
+
ak(a, b, c, d, e) {
|
|
68413
|
+
super.ak(a, b, c, d, e);
|
|
68414
|
+
let f = this.r(this.w(a, true), this.w(a, false), b, c);
|
|
68407
68415
|
for (let g of fromEnum(f)) {
|
|
68408
|
-
this.
|
|
68416
|
+
this.ac(g, d, e);
|
|
68409
68417
|
}
|
|
68410
68418
|
let h = 0;
|
|
68411
68419
|
if (e == this.k) {
|
|
68412
|
-
e.addPackageImport("./" + this.
|
|
68420
|
+
e.addPackageImport("./" + this.w(a, false), this.w(a, false));
|
|
68413
68421
|
}
|
|
68414
68422
|
else {
|
|
68415
|
-
e.addPackageImport("./" + this.
|
|
68423
|
+
e.addPackageImport("./" + this.w(a, false), this.w(a, false));
|
|
68416
68424
|
}
|
|
68417
|
-
d.l("export class " + this.
|
|
68425
|
+
d.l("export class " + this.w(a, false) + " extends Array<" + this.w(a, true) + "> {");
|
|
68418
68426
|
d.h();
|
|
68419
68427
|
d.l("public constructor() {");
|
|
68420
68428
|
d.h();
|
|
68421
68429
|
d.l("super();");
|
|
68422
68430
|
}
|
|
68423
|
-
|
|
68424
|
-
super.
|
|
68425
|
-
let d = this.p.cDNBasePath + this.
|
|
68431
|
+
ag(a, b, c) {
|
|
68432
|
+
super.ag(a, b, c);
|
|
68433
|
+
let d = this.p.cDNBasePath + this.w(a, false) + ".json";
|
|
68426
68434
|
let e = "";
|
|
68427
68435
|
if (this.n.platform == 2) {
|
|
68428
68436
|
e = "this.setState({}); ";
|
|
@@ -68433,7 +68441,7 @@ let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
68433
68441
|
if (this.n.platform == 1) {
|
|
68434
68442
|
e = "this._detector.markForCheck(); ";
|
|
68435
68443
|
}
|
|
68436
|
-
let f = this.
|
|
68444
|
+
let f = this.w(a, false);
|
|
68437
68445
|
let g = "null";
|
|
68438
68446
|
switch (b) {
|
|
68439
68447
|
case 2:
|
|
@@ -68441,85 +68449,85 @@ let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
68441
68449
|
break;
|
|
68442
68450
|
case 1:
|
|
68443
68451
|
f = "any[]";
|
|
68444
|
-
g = this.
|
|
68452
|
+
g = this.w(a, false);
|
|
68445
68453
|
break;
|
|
68446
68454
|
case 0: break;
|
|
68447
68455
|
}
|
|
68448
|
-
this.g.l("private " + this.
|
|
68456
|
+
this.g.l("private " + this.ap(a) + ": " + f + " = " + g + ";");
|
|
68449
68457
|
if (b == 2 || (c != null && c.isAsync)) {
|
|
68450
|
-
this.g.l("private " + this.
|
|
68458
|
+
this.g.l("private " + this.ap(a) + "Fetching: boolean = false;");
|
|
68451
68459
|
}
|
|
68452
68460
|
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + f + " {");
|
|
68453
68461
|
this.g.h();
|
|
68454
68462
|
if (c != null && c.isAsync) {
|
|
68455
|
-
this.g.l("if (this." + this.
|
|
68463
|
+
this.g.l("if (this." + this.ap(a) + " == null && !this." + this.ap(a) + "Fetching)");
|
|
68456
68464
|
this.g.l("{");
|
|
68457
68465
|
this.g.h();
|
|
68458
|
-
this.g.l("this." + this.
|
|
68459
|
-
this.g.l("( async () => { this." + this.
|
|
68466
|
+
this.g.l("this." + this.ap(a) + "Fetching = true;");
|
|
68467
|
+
this.g.l("( async () => { this." + this.ap(a) + " = await (await " + this.w(a, false) + ".fetch()); " + e + " })();");
|
|
68460
68468
|
this.g.f();
|
|
68461
68469
|
this.g.l("}");
|
|
68462
68470
|
}
|
|
68463
68471
|
else {
|
|
68464
68472
|
if (b == 2) {
|
|
68465
|
-
this.g.l("if (this." + this.
|
|
68473
|
+
this.g.l("if (this." + this.ap(a) + " == null && !this." + this.ap(a) + "Fetching)");
|
|
68466
68474
|
this.g.l("{");
|
|
68467
68475
|
this.g.h();
|
|
68468
|
-
this.g.l(this.
|
|
68469
|
-
this.g.l("( async () => { this." + this.
|
|
68476
|
+
this.g.l(this.ap(a) + "Fetching = true;");
|
|
68477
|
+
this.g.l("( async () => { this." + this.ap(a) + " = await (await fetch('" + d + "')).json(); " + e + " })();");
|
|
68470
68478
|
this.g.f();
|
|
68471
68479
|
this.g.l("}");
|
|
68472
68480
|
}
|
|
68473
68481
|
if (b == 0) {
|
|
68474
|
-
this.g.l("if (this." + this.
|
|
68482
|
+
this.g.l("if (this." + this.ap(a) + " == null)");
|
|
68475
68483
|
this.g.l("{");
|
|
68476
68484
|
this.g.h();
|
|
68477
|
-
this.g.l("this." + this.
|
|
68485
|
+
this.g.l("this." + this.ap(a) + " = new " + this.w(a, false) + "();");
|
|
68478
68486
|
this.g.f();
|
|
68479
68487
|
this.g.l("}");
|
|
68480
68488
|
}
|
|
68481
68489
|
}
|
|
68482
|
-
this.g.l("return this." + this.
|
|
68490
|
+
this.g.l("return this." + this.ap(a) + ";");
|
|
68483
68491
|
this.g.f();
|
|
68484
68492
|
this.g.l("}");
|
|
68485
68493
|
this.g.l("");
|
|
68486
68494
|
}
|
|
68487
|
-
|
|
68488
|
-
super.
|
|
68489
|
-
this.g.l("private " + this.
|
|
68490
|
-
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + this.
|
|
68495
|
+
ah(a, b) {
|
|
68496
|
+
super.ah(a, b);
|
|
68497
|
+
this.g.l("private " + this.ap(a) + ": " + this.am(b.e) + " = " + this.an(b) + ";");
|
|
68498
|
+
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + this.am(b.e) + " {");
|
|
68491
68499
|
this.g.h();
|
|
68492
|
-
this.g.l("return this." + this.
|
|
68500
|
+
this.g.l("return this." + this.ap(a) + ";");
|
|
68493
68501
|
this.g.f();
|
|
68494
68502
|
this.g.l("}");
|
|
68495
68503
|
this.g.l("");
|
|
68496
68504
|
}
|
|
68497
|
-
|
|
68498
|
-
super.
|
|
68499
|
-
this.g.l("private " + this.
|
|
68500
|
-
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + this.
|
|
68505
|
+
ai(a, b, c, d) {
|
|
68506
|
+
super.ai(a, b, c, d);
|
|
68507
|
+
this.g.l("private " + this.ap(a) + ": " + this.w(a, false) + "Item = null;");
|
|
68508
|
+
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + this.w(a, false) + "Item {");
|
|
68501
68509
|
this.g.h();
|
|
68502
|
-
this.g.l("if (this." + this.
|
|
68510
|
+
this.g.l("if (this." + this.ap(a) + " == null)");
|
|
68503
68511
|
this.g.l("{");
|
|
68504
68512
|
this.g.h();
|
|
68505
|
-
this.g.l("this." + this.
|
|
68506
|
-
this.
|
|
68513
|
+
this.g.l("this." + this.ap(a) + " = ");
|
|
68514
|
+
this.aq(this.w(a, true), b, c, d, this.g);
|
|
68507
68515
|
this.g.l("}");
|
|
68508
|
-
this.g.l("return this." + this.
|
|
68516
|
+
this.g.l("return this." + this.ap(a) + ";");
|
|
68509
68517
|
this.g.f();
|
|
68510
68518
|
this.g.l("}");
|
|
68511
68519
|
this.g.l("");
|
|
68512
68520
|
}
|
|
68513
|
-
|
|
68521
|
+
y(a, b) {
|
|
68514
68522
|
b.addPackageImport("./" + a, a);
|
|
68515
68523
|
}
|
|
68516
|
-
|
|
68517
|
-
|
|
68524
|
+
z(a, b, c) {
|
|
68525
|
+
c.addDefaultImport("./" + b, a);
|
|
68518
68526
|
}
|
|
68519
|
-
|
|
68527
|
+
aa(a, b) {
|
|
68520
68528
|
this.l = CodeGeneratingImportManager.merge(this.l, b);
|
|
68521
68529
|
}
|
|
68522
|
-
|
|
68530
|
+
ac(a, b, c) {
|
|
68523
68531
|
let d = 0;
|
|
68524
68532
|
if (c == this.k) {
|
|
68525
68533
|
c.addPackageImport("./" + a.c, a.d);
|
|
@@ -68538,13 +68546,13 @@ let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
68538
68546
|
for (let e = 0; e < a.a.length; e++) {
|
|
68539
68547
|
let f = a.a[e];
|
|
68540
68548
|
let g = a.b[e];
|
|
68541
|
-
b.l("public " + this.
|
|
68549
|
+
b.l("public " + this.v(f) + ": " + this.ao(a, f, g) + ";");
|
|
68542
68550
|
}
|
|
68543
68551
|
b.f();
|
|
68544
68552
|
b.l("");
|
|
68545
68553
|
b.l("}");
|
|
68546
68554
|
}
|
|
68547
|
-
|
|
68555
|
+
am(a) {
|
|
68548
68556
|
switch (a) {
|
|
68549
68557
|
case 1: return "boolean";
|
|
68550
68558
|
case 0: return "number";
|
|
@@ -68553,12 +68561,12 @@ let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
68553
68561
|
}
|
|
68554
68562
|
return "any";
|
|
68555
68563
|
}
|
|
68556
|
-
|
|
68564
|
+
ao(a, b, c) {
|
|
68557
68565
|
if (c.d) {
|
|
68558
|
-
return a.d + "_" + CodeGeneratingComponentRenderer.d5(this.
|
|
68566
|
+
return a.d + "_" + CodeGeneratingComponentRenderer.d5(this.v(b)) + "Item[]";
|
|
68559
68567
|
}
|
|
68560
68568
|
else if (c.f) {
|
|
68561
|
-
return a.d + "_" + this.
|
|
68569
|
+
return a.d + "_" + this.v(b);
|
|
68562
68570
|
}
|
|
68563
68571
|
else {
|
|
68564
68572
|
switch (c.c) {
|
|
@@ -68570,20 +68578,20 @@ let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
68570
68578
|
}
|
|
68571
68579
|
return "any";
|
|
68572
68580
|
}
|
|
68573
|
-
|
|
68574
|
-
super.
|
|
68581
|
+
aj(a, b, c, d) {
|
|
68582
|
+
super.aj(a, b, c, d);
|
|
68575
68583
|
d.f();
|
|
68576
68584
|
d.l("}");
|
|
68577
68585
|
d.f();
|
|
68578
68586
|
d.l("}");
|
|
68579
68587
|
}
|
|
68580
|
-
|
|
68581
|
-
super.
|
|
68588
|
+
x(a, b, c, d, e, f) {
|
|
68589
|
+
super.x(a, b, c, d, e, f);
|
|
68582
68590
|
f.j("this.push(");
|
|
68583
|
-
this.
|
|
68591
|
+
this.aq(this.w(a, true), b, c, d, f);
|
|
68584
68592
|
f.l(");");
|
|
68585
68593
|
}
|
|
68586
|
-
|
|
68594
|
+
aq(a, b, c, d, e) {
|
|
68587
68595
|
if (d == null) {
|
|
68588
68596
|
e.j("null");
|
|
68589
68597
|
return;
|
|
@@ -68597,7 +68605,7 @@ let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
68597
68605
|
if (g > 0) {
|
|
68598
68606
|
e.l(",");
|
|
68599
68607
|
}
|
|
68600
|
-
this.
|
|
68608
|
+
this.aq(a, b, c, f.items[g], e);
|
|
68601
68609
|
}
|
|
68602
68610
|
}
|
|
68603
68611
|
e.f();
|
|
@@ -68614,14 +68622,14 @@ let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
68614
68622
|
if (i > 0) {
|
|
68615
68623
|
e.l(",");
|
|
68616
68624
|
}
|
|
68617
|
-
e.j(this.
|
|
68625
|
+
e.j(this.v(j) + ": ");
|
|
68618
68626
|
if (k.d) {
|
|
68619
|
-
let l = a + "_" + CodeGeneratingComponentRenderer.d5(this.
|
|
68620
|
-
this.
|
|
68627
|
+
let l = a + "_" + CodeGeneratingComponentRenderer.d5(this.v(j)) + "Item";
|
|
68628
|
+
this.aq(l, k.a, k.b, h.item(j), e);
|
|
68621
68629
|
}
|
|
68622
68630
|
else if (k.f) {
|
|
68623
|
-
let m = a + "_" + CodeGeneratingComponentRenderer.d5(this.
|
|
68624
|
-
this.
|
|
68631
|
+
let m = a + "_" + CodeGeneratingComponentRenderer.d5(this.v(j));
|
|
68632
|
+
this.aq(m, k.a, k.b, h.item(j), e);
|
|
68625
68633
|
}
|
|
68626
68634
|
else {
|
|
68627
68635
|
let n = h.item(j);
|
|
@@ -68645,7 +68653,7 @@ let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
68645
68653
|
}
|
|
68646
68654
|
return "";
|
|
68647
68655
|
}
|
|
68648
|
-
|
|
68656
|
+
an(a) {
|
|
68649
68657
|
switch (a.e) {
|
|
68650
68658
|
case 1: return (a.value ? "true" : "false");
|
|
68651
68659
|
case 0: return (a.value.toString());
|
|
@@ -68882,28 +68890,28 @@ let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
68882
68890
|
class DotNetCodeGeneratingComponentRendererDataEmitter extends CodeGeneratingComponentRendererDataEmitter {
|
|
68883
68891
|
constructor(a, b) {
|
|
68884
68892
|
super(a, b);
|
|
68885
|
-
this.
|
|
68893
|
+
this.al = false;
|
|
68886
68894
|
}
|
|
68887
|
-
|
|
68888
|
-
super.
|
|
68895
|
+
aa(a, b) {
|
|
68896
|
+
super.aa(a, b);
|
|
68889
68897
|
this.f.l("<Compile Include=\"" + a + ".cs\">");
|
|
68890
68898
|
this.f.h();
|
|
68891
68899
|
this.f.l("<SubType>Code</SubType>");
|
|
68892
68900
|
this.f.f();
|
|
68893
68901
|
this.f.l("</Compile>");
|
|
68894
68902
|
}
|
|
68895
|
-
|
|
68903
|
+
ae(a) {
|
|
68896
68904
|
a.l("using System;");
|
|
68897
68905
|
a.l("using System.Collections.Generic;");
|
|
68898
|
-
if (!this.
|
|
68899
|
-
this.
|
|
68906
|
+
if (!this.al) {
|
|
68907
|
+
this.al = true;
|
|
68900
68908
|
}
|
|
68901
|
-
super.
|
|
68909
|
+
super.ae(a);
|
|
68902
68910
|
}
|
|
68903
|
-
|
|
68904
|
-
super.
|
|
68911
|
+
ad(a) {
|
|
68912
|
+
super.ad(a);
|
|
68905
68913
|
}
|
|
68906
|
-
|
|
68914
|
+
w(a, b = false) {
|
|
68907
68915
|
a = CodeGeneratingComponentRenderer.d5(a);
|
|
68908
68916
|
a = stringReplace(a, "-", "_");
|
|
68909
68917
|
if (b) {
|
|
@@ -68911,97 +68919,97 @@ let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
68911
68919
|
}
|
|
68912
68920
|
return a;
|
|
68913
68921
|
}
|
|
68914
|
-
|
|
68922
|
+
v(a) {
|
|
68915
68923
|
a = stringReplace(a, "-", "_");
|
|
68916
68924
|
return CodeGeneratingComponentRenderer.d5(a);
|
|
68917
68925
|
}
|
|
68918
|
-
|
|
68926
|
+
ap(a) {
|
|
68919
68927
|
a = stringReplace(a, "-", "_");
|
|
68920
68928
|
return "_" + CodeGeneratingComponentRenderer.d4(a);
|
|
68921
68929
|
}
|
|
68922
|
-
|
|
68923
|
-
super.
|
|
68924
|
-
let f = this.r(this.
|
|
68930
|
+
ak(a, b, c, d, e) {
|
|
68931
|
+
super.ak(a, b, c, d, e);
|
|
68932
|
+
let f = this.r(this.w(a, true), this.w(a, false), b, c);
|
|
68925
68933
|
for (let g of fromEnum(f)) {
|
|
68926
|
-
this.
|
|
68934
|
+
this.ac(g, d, e);
|
|
68927
68935
|
}
|
|
68928
68936
|
d.l("");
|
|
68929
|
-
d.l("public class " + this.
|
|
68937
|
+
d.l("public class " + this.w(a, false));
|
|
68930
68938
|
d.h();
|
|
68931
|
-
d.l(": List<" + this.
|
|
68939
|
+
d.l(": List<" + this.w(a, true) + ">");
|
|
68932
68940
|
d.f();
|
|
68933
68941
|
d.l("{");
|
|
68934
68942
|
d.h();
|
|
68935
|
-
d.l("public " + this.
|
|
68943
|
+
d.l("public " + this.w(a, false) + "()");
|
|
68936
68944
|
d.l("{");
|
|
68937
68945
|
d.h();
|
|
68938
68946
|
}
|
|
68939
|
-
|
|
68940
|
-
super.
|
|
68941
|
-
let d = this.
|
|
68947
|
+
ag(a, b, c) {
|
|
68948
|
+
super.ag(a, b, c);
|
|
68949
|
+
let d = this.ap(a) + " = " + "new " + this.w(a, false) + "(); ";
|
|
68942
68950
|
let e = "";
|
|
68943
68951
|
if (this.n.platform == 5) {
|
|
68944
68952
|
e = " StateHasChanged();";
|
|
68945
68953
|
}
|
|
68946
68954
|
else {
|
|
68947
|
-
e = " OnPropertyChanged(\"" + this.
|
|
68955
|
+
e = " OnPropertyChanged(\"" + this.w(a, false) + "\");";
|
|
68948
68956
|
}
|
|
68949
68957
|
if (c != null && c.isAsync) {
|
|
68950
|
-
d = this.
|
|
68958
|
+
d = this.w(a, false) + ".Fetch().ContinueWith((t) => {" + this.ap(a) + " = t.Result; " + e + " });";
|
|
68951
68959
|
}
|
|
68952
|
-
this.g.l("private " + this.
|
|
68953
|
-
this.g.l("public " + this.
|
|
68960
|
+
this.g.l("private " + this.w(a, false) + " " + this.ap(a) + " = null;");
|
|
68961
|
+
this.g.l("public " + this.w(a, false) + " " + this.v(a));
|
|
68954
68962
|
this.g.l("{");
|
|
68955
68963
|
this.g.h();
|
|
68956
68964
|
this.g.l("get");
|
|
68957
68965
|
this.g.l("{");
|
|
68958
68966
|
this.g.h();
|
|
68959
|
-
this.g.l("if (" + this.
|
|
68967
|
+
this.g.l("if (" + this.ap(a) + " == null)");
|
|
68960
68968
|
this.g.l("{");
|
|
68961
68969
|
this.g.h();
|
|
68962
68970
|
this.g.l(d);
|
|
68963
68971
|
this.g.f();
|
|
68964
68972
|
this.g.l("}");
|
|
68965
|
-
this.g.l("return " + this.
|
|
68973
|
+
this.g.l("return " + this.ap(a) + ";");
|
|
68966
68974
|
this.g.f();
|
|
68967
68975
|
this.g.l("}");
|
|
68968
68976
|
this.g.f();
|
|
68969
68977
|
this.g.l("}");
|
|
68970
68978
|
this.g.l("");
|
|
68971
68979
|
}
|
|
68972
|
-
|
|
68973
|
-
super.
|
|
68974
|
-
this.g.l("private " + this.
|
|
68975
|
-
this.g.l("public " + this.
|
|
68980
|
+
ah(a, b) {
|
|
68981
|
+
super.ah(a, b);
|
|
68982
|
+
this.g.l("private " + this.am(b.e) + " " + this.ap(a) + " = " + this.an(b) + ";");
|
|
68983
|
+
this.g.l("public " + this.am(b.e) + " " + this.v(a));
|
|
68976
68984
|
this.g.l("{");
|
|
68977
68985
|
this.g.h();
|
|
68978
68986
|
this.g.l("get");
|
|
68979
68987
|
this.g.l("{");
|
|
68980
68988
|
this.g.h();
|
|
68981
|
-
this.g.l("return " + this.
|
|
68989
|
+
this.g.l("return " + this.ap(a) + ";");
|
|
68982
68990
|
this.g.f();
|
|
68983
68991
|
this.g.l("}");
|
|
68984
68992
|
this.g.f();
|
|
68985
68993
|
this.g.l("}");
|
|
68986
68994
|
this.g.l("");
|
|
68987
68995
|
}
|
|
68988
|
-
|
|
68989
|
-
super.
|
|
68990
|
-
this.g.l("private " + this.
|
|
68991
|
-
this.g.l("public " + this.
|
|
68996
|
+
ai(a, b, c, d) {
|
|
68997
|
+
super.ai(a, b, c, d);
|
|
68998
|
+
this.g.l("private " + this.w(a, false) + "Item " + this.ap(a) + " = null;");
|
|
68999
|
+
this.g.l("public " + this.w(a, false) + "Item " + this.v(a));
|
|
68992
69000
|
this.g.l("{");
|
|
68993
69001
|
this.g.h();
|
|
68994
69002
|
this.g.l("get");
|
|
68995
69003
|
this.g.l("{");
|
|
68996
69004
|
this.g.h();
|
|
68997
|
-
this.g.l("if (" + this.
|
|
69005
|
+
this.g.l("if (" + this.ap(a) + " == null)");
|
|
68998
69006
|
this.g.l("{");
|
|
68999
69007
|
this.g.h();
|
|
69000
69008
|
this.g.l("_" + a + " = ");
|
|
69001
|
-
this.
|
|
69009
|
+
this.aq(this.w(a, true), b, c, d, this.g);
|
|
69002
69010
|
this.g.f();
|
|
69003
69011
|
this.g.l("}");
|
|
69004
|
-
this.g.l("return " + this.
|
|
69012
|
+
this.g.l("return " + this.ap(a) + ";");
|
|
69005
69013
|
this.g.f();
|
|
69006
69014
|
this.g.l("}");
|
|
69007
69015
|
this.g.f();
|
|
@@ -69011,19 +69019,19 @@ let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
69011
69019
|
get_s() {
|
|
69012
69020
|
return ".cs";
|
|
69013
69021
|
}
|
|
69014
|
-
|
|
69022
|
+
ac(a, b, c) {
|
|
69015
69023
|
b.l("public class " + a.d);
|
|
69016
69024
|
b.l("{");
|
|
69017
69025
|
b.h();
|
|
69018
69026
|
for (let d = 0; d < a.a.length; d++) {
|
|
69019
69027
|
let e = a.a[d];
|
|
69020
69028
|
let f = a.b[d];
|
|
69021
|
-
b.l("public " + this.
|
|
69029
|
+
b.l("public " + this.ao(a, e, f) + " " + this.v(e) + " { get; set; }");
|
|
69022
69030
|
}
|
|
69023
69031
|
b.f();
|
|
69024
69032
|
b.l("}");
|
|
69025
69033
|
}
|
|
69026
|
-
|
|
69034
|
+
am(a) {
|
|
69027
69035
|
switch (a) {
|
|
69028
69036
|
case 1: return "bool";
|
|
69029
69037
|
case 0: return "double";
|
|
@@ -69032,12 +69040,12 @@ let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
69032
69040
|
}
|
|
69033
69041
|
return "object";
|
|
69034
69042
|
}
|
|
69035
|
-
|
|
69043
|
+
ao(a, b, c) {
|
|
69036
69044
|
if (c.d) {
|
|
69037
|
-
return "List<" + a.d + "_" + this.
|
|
69045
|
+
return "List<" + a.d + "_" + this.v(b) + "Item>";
|
|
69038
69046
|
}
|
|
69039
69047
|
else if (c.f) {
|
|
69040
|
-
return a.d + "_" + this.
|
|
69048
|
+
return a.d + "_" + this.v(b);
|
|
69041
69049
|
}
|
|
69042
69050
|
else {
|
|
69043
69051
|
switch (c.c) {
|
|
@@ -69049,20 +69057,20 @@ let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
69049
69057
|
}
|
|
69050
69058
|
return "object";
|
|
69051
69059
|
}
|
|
69052
|
-
|
|
69053
|
-
super.
|
|
69060
|
+
aj(a, b, c, d) {
|
|
69061
|
+
super.aj(a, b, c, d);
|
|
69054
69062
|
d.f();
|
|
69055
69063
|
d.l("}");
|
|
69056
69064
|
d.f();
|
|
69057
69065
|
d.l("}");
|
|
69058
69066
|
}
|
|
69059
|
-
|
|
69060
|
-
super.
|
|
69067
|
+
x(a, b, c, d, e, f) {
|
|
69068
|
+
super.x(a, b, c, d, e, f);
|
|
69061
69069
|
f.j("this.Add(");
|
|
69062
|
-
this.
|
|
69070
|
+
this.aq(this.w(a, true), b, c, d, f);
|
|
69063
69071
|
f.l(");");
|
|
69064
69072
|
}
|
|
69065
|
-
|
|
69073
|
+
aq(a, b, c, d, e) {
|
|
69066
69074
|
if (d == null) {
|
|
69067
69075
|
e.j("null");
|
|
69068
69076
|
return;
|
|
@@ -69077,7 +69085,7 @@ let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
69077
69085
|
if (g > 0) {
|
|
69078
69086
|
e.l(",");
|
|
69079
69087
|
}
|
|
69080
|
-
this.
|
|
69088
|
+
this.aq(a, b, c, f.items[g], e);
|
|
69081
69089
|
}
|
|
69082
69090
|
}
|
|
69083
69091
|
e.f();
|
|
@@ -69099,12 +69107,12 @@ let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
69099
69107
|
}
|
|
69100
69108
|
e.j(j + " = ");
|
|
69101
69109
|
if (k.d) {
|
|
69102
|
-
let l = a + "_" + this.
|
|
69103
|
-
this.
|
|
69110
|
+
let l = a + "_" + this.v(j) + "Item";
|
|
69111
|
+
this.aq(l, k.a, k.b, h.item(j), e);
|
|
69104
69112
|
}
|
|
69105
69113
|
else if (k.f) {
|
|
69106
|
-
let m = a + "_" + this.
|
|
69107
|
-
this.
|
|
69114
|
+
let m = a + "_" + this.v(j);
|
|
69115
|
+
this.aq(m, k.a, k.b, h.item(j), e);
|
|
69108
69116
|
}
|
|
69109
69117
|
else {
|
|
69110
69118
|
let n = h.item(j);
|
|
@@ -69134,7 +69142,7 @@ let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
69134
69142
|
}
|
|
69135
69143
|
return "";
|
|
69136
69144
|
}
|
|
69137
|
-
|
|
69145
|
+
an(a) {
|
|
69138
69146
|
switch (a.e) {
|
|
69139
69147
|
case 1: return (a.value ? "true" : "false");
|
|
69140
69148
|
case 0: return (a.value.toString());
|
|
@@ -69551,7 +69559,7 @@ let CodeGeneratingComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
69551
69559
|
}
|
|
69552
69560
|
{
|
|
69553
69561
|
let n = this.dr(this.dw, b);
|
|
69554
|
-
n.
|
|
69562
|
+
n.ab(this.d1);
|
|
69555
69563
|
}
|
|
69556
69564
|
let o = this.ds(this.dw, b);
|
|
69557
69565
|
let p = new List$1(String_$type, 0);
|