igniteui-angular-core 16.1.0 → 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
|
@@ -2289,10 +2289,10 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2289
2289
|
__extends(TSCodeGeneratingComponentRendererDataEmitter, _super);
|
|
2290
2290
|
function TSCodeGeneratingComponentRendererDataEmitter(a, b) {
|
|
2291
2291
|
var _this = _super.call(this, a, b) || this;
|
|
2292
|
-
_this.
|
|
2292
|
+
_this.al = new Dictionary$2(CodeGeneratingCodeWriter.$, Number_$type, 0);
|
|
2293
2293
|
return _this;
|
|
2294
2294
|
}
|
|
2295
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2295
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.w = function (a, b) {
|
|
2296
2296
|
if (b === void 0) {
|
|
2297
2297
|
b = false;
|
|
2298
2298
|
}
|
|
@@ -2303,28 +2303,28 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2303
2303
|
}
|
|
2304
2304
|
return a;
|
|
2305
2305
|
};
|
|
2306
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2306
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.v = function (a) {
|
|
2307
2307
|
a = stringReplace(a, "-", "_");
|
|
2308
2308
|
if (this.p.e) {
|
|
2309
2309
|
return a;
|
|
2310
2310
|
}
|
|
2311
2311
|
return CodeGeneratingComponentRenderer.d4(a);
|
|
2312
2312
|
};
|
|
2313
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2313
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ap = function (a) {
|
|
2314
2314
|
a = stringReplace(a, "-", "_");
|
|
2315
2315
|
return "_" + CodeGeneratingComponentRenderer.d4(a);
|
|
2316
2316
|
};
|
|
2317
2317
|
TSCodeGeneratingComponentRendererDataEmitter.prototype.get_s = function () {
|
|
2318
2318
|
return ".ts";
|
|
2319
2319
|
};
|
|
2320
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2320
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ak = function (a, b, c, d, e) {
|
|
2321
2321
|
var e_7, _a;
|
|
2322
|
-
_super.prototype.
|
|
2323
|
-
var f = this.r(this.
|
|
2322
|
+
_super.prototype.ak.call(this, a, b, c, d, e);
|
|
2323
|
+
var f = this.r(this.w(a, true), this.w(a, false), b, c);
|
|
2324
2324
|
try {
|
|
2325
2325
|
for (var _b = __values(fromEnum(f)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2326
2326
|
var g = _c.value;
|
|
2327
|
-
this.
|
|
2327
|
+
this.ac(g, d, e);
|
|
2328
2328
|
}
|
|
2329
2329
|
}
|
|
2330
2330
|
catch (e_7_1) {
|
|
@@ -2342,20 +2342,20 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2342
2342
|
}
|
|
2343
2343
|
var h = 0;
|
|
2344
2344
|
if (e == this.k) {
|
|
2345
|
-
e.addPackageImport("./" + this.
|
|
2345
|
+
e.addPackageImport("./" + this.w(a, false), this.w(a, false));
|
|
2346
2346
|
}
|
|
2347
2347
|
else {
|
|
2348
|
-
e.addPackageImport("./" + this.
|
|
2348
|
+
e.addPackageImport("./" + this.w(a, false), this.w(a, false));
|
|
2349
2349
|
}
|
|
2350
|
-
d.l("export class " + this.
|
|
2350
|
+
d.l("export class " + this.w(a, false) + " extends Array<" + this.w(a, true) + "> {");
|
|
2351
2351
|
d.h();
|
|
2352
2352
|
d.l("public constructor() {");
|
|
2353
2353
|
d.h();
|
|
2354
2354
|
d.l("super();");
|
|
2355
2355
|
};
|
|
2356
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2357
|
-
_super.prototype.
|
|
2358
|
-
var d = this.p.cDNBasePath + this.
|
|
2356
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ag = function (a, b, c) {
|
|
2357
|
+
_super.prototype.ag.call(this, a, b, c);
|
|
2358
|
+
var d = this.p.cDNBasePath + this.w(a, false) + ".json";
|
|
2359
2359
|
var e = "";
|
|
2360
2360
|
if (this.n.platform == 2) {
|
|
2361
2361
|
e = "this.setState({}); ";
|
|
@@ -2366,7 +2366,7 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2366
2366
|
if (this.n.platform == 1) {
|
|
2367
2367
|
e = "this._detector.markForCheck(); ";
|
|
2368
2368
|
}
|
|
2369
|
-
var f = this.
|
|
2369
|
+
var f = this.w(a, false);
|
|
2370
2370
|
var g = "null";
|
|
2371
2371
|
switch (b) {
|
|
2372
2372
|
case 2:
|
|
@@ -2374,85 +2374,85 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2374
2374
|
break;
|
|
2375
2375
|
case 1:
|
|
2376
2376
|
f = "any[]";
|
|
2377
|
-
g = this.
|
|
2377
|
+
g = this.w(a, false);
|
|
2378
2378
|
break;
|
|
2379
2379
|
case 0: break;
|
|
2380
2380
|
}
|
|
2381
|
-
this.g.l("private " + this.
|
|
2381
|
+
this.g.l("private " + this.ap(a) + ": " + f + " = " + g + ";");
|
|
2382
2382
|
if (b == 2 || (c != null && c.isAsync)) {
|
|
2383
|
-
this.g.l("private " + this.
|
|
2383
|
+
this.g.l("private " + this.ap(a) + "Fetching: boolean = false;");
|
|
2384
2384
|
}
|
|
2385
2385
|
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + f + " {");
|
|
2386
2386
|
this.g.h();
|
|
2387
2387
|
if (c != null && c.isAsync) {
|
|
2388
|
-
this.g.l("if (this." + this.
|
|
2388
|
+
this.g.l("if (this." + this.ap(a) + " == null && !this." + this.ap(a) + "Fetching)");
|
|
2389
2389
|
this.g.l("{");
|
|
2390
2390
|
this.g.h();
|
|
2391
|
-
this.g.l("this." + this.
|
|
2392
|
-
this.g.l("( async () => { this." + this.
|
|
2391
|
+
this.g.l("this." + this.ap(a) + "Fetching = true;");
|
|
2392
|
+
this.g.l("( async () => { this." + this.ap(a) + " = await (await " + this.w(a, false) + ".fetch()); " + e + " })();");
|
|
2393
2393
|
this.g.f();
|
|
2394
2394
|
this.g.l("}");
|
|
2395
2395
|
}
|
|
2396
2396
|
else {
|
|
2397
2397
|
if (b == 2) {
|
|
2398
|
-
this.g.l("if (this." + this.
|
|
2398
|
+
this.g.l("if (this." + this.ap(a) + " == null && !this." + this.ap(a) + "Fetching)");
|
|
2399
2399
|
this.g.l("{");
|
|
2400
2400
|
this.g.h();
|
|
2401
|
-
this.g.l(this.
|
|
2402
|
-
this.g.l("( async () => { this." + this.
|
|
2401
|
+
this.g.l(this.ap(a) + "Fetching = true;");
|
|
2402
|
+
this.g.l("( async () => { this." + this.ap(a) + " = await (await fetch('" + d + "')).json(); " + e + " })();");
|
|
2403
2403
|
this.g.f();
|
|
2404
2404
|
this.g.l("}");
|
|
2405
2405
|
}
|
|
2406
2406
|
if (b == 0) {
|
|
2407
|
-
this.g.l("if (this." + this.
|
|
2407
|
+
this.g.l("if (this." + this.ap(a) + " == null)");
|
|
2408
2408
|
this.g.l("{");
|
|
2409
2409
|
this.g.h();
|
|
2410
|
-
this.g.l("this." + this.
|
|
2410
|
+
this.g.l("this." + this.ap(a) + " = new " + this.w(a, false) + "();");
|
|
2411
2411
|
this.g.f();
|
|
2412
2412
|
this.g.l("}");
|
|
2413
2413
|
}
|
|
2414
2414
|
}
|
|
2415
|
-
this.g.l("return this." + this.
|
|
2415
|
+
this.g.l("return this." + this.ap(a) + ";");
|
|
2416
2416
|
this.g.f();
|
|
2417
2417
|
this.g.l("}");
|
|
2418
2418
|
this.g.l("");
|
|
2419
2419
|
};
|
|
2420
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2421
|
-
_super.prototype.
|
|
2422
|
-
this.g.l("private " + this.
|
|
2423
|
-
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + this.
|
|
2420
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ah = function (a, b) {
|
|
2421
|
+
_super.prototype.ah.call(this, a, b);
|
|
2422
|
+
this.g.l("private " + this.ap(a) + ": " + this.am(b.e) + " = " + this.an(b) + ";");
|
|
2423
|
+
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + this.am(b.e) + " {");
|
|
2424
2424
|
this.g.h();
|
|
2425
|
-
this.g.l("return this." + this.
|
|
2425
|
+
this.g.l("return this." + this.ap(a) + ";");
|
|
2426
2426
|
this.g.f();
|
|
2427
2427
|
this.g.l("}");
|
|
2428
2428
|
this.g.l("");
|
|
2429
2429
|
};
|
|
2430
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2431
|
-
_super.prototype.
|
|
2432
|
-
this.g.l("private " + this.
|
|
2433
|
-
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + this.
|
|
2430
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ai = function (a, b, c, d) {
|
|
2431
|
+
_super.prototype.ai.call(this, a, b, c, d);
|
|
2432
|
+
this.g.l("private " + this.ap(a) + ": " + this.w(a, false) + "Item = null;");
|
|
2433
|
+
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + this.w(a, false) + "Item {");
|
|
2434
2434
|
this.g.h();
|
|
2435
|
-
this.g.l("if (this." + this.
|
|
2435
|
+
this.g.l("if (this." + this.ap(a) + " == null)");
|
|
2436
2436
|
this.g.l("{");
|
|
2437
2437
|
this.g.h();
|
|
2438
|
-
this.g.l("this." + this.
|
|
2439
|
-
this.
|
|
2438
|
+
this.g.l("this." + this.ap(a) + " = ");
|
|
2439
|
+
this.aq(this.w(a, true), b, c, d, this.g);
|
|
2440
2440
|
this.g.l("}");
|
|
2441
|
-
this.g.l("return this." + this.
|
|
2441
|
+
this.g.l("return this." + this.ap(a) + ";");
|
|
2442
2442
|
this.g.f();
|
|
2443
2443
|
this.g.l("}");
|
|
2444
2444
|
this.g.l("");
|
|
2445
2445
|
};
|
|
2446
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2446
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.y = function (a, b) {
|
|
2447
2447
|
b.addPackageImport("./" + a, a);
|
|
2448
2448
|
};
|
|
2449
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2450
|
-
|
|
2449
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.z = function (a, b, c) {
|
|
2450
|
+
c.addDefaultImport("./" + b, a);
|
|
2451
2451
|
};
|
|
2452
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2452
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.aa = function (a, b) {
|
|
2453
2453
|
this.l = CodeGeneratingImportManager.merge(this.l, b);
|
|
2454
2454
|
};
|
|
2455
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2455
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ac = function (a, b, c) {
|
|
2456
2456
|
var d = 0;
|
|
2457
2457
|
if (c == this.k) {
|
|
2458
2458
|
c.addPackageImport("./" + a.c, a.d);
|
|
@@ -2471,13 +2471,13 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2471
2471
|
for (var e = 0; e < a.a.length; e++) {
|
|
2472
2472
|
var f = a.a[e];
|
|
2473
2473
|
var g = a.b[e];
|
|
2474
|
-
b.l("public " + this.
|
|
2474
|
+
b.l("public " + this.v(f) + ": " + this.ao(a, f, g) + ";");
|
|
2475
2475
|
}
|
|
2476
2476
|
b.f();
|
|
2477
2477
|
b.l("");
|
|
2478
2478
|
b.l("}");
|
|
2479
2479
|
};
|
|
2480
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2480
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.am = function (a) {
|
|
2481
2481
|
switch (a) {
|
|
2482
2482
|
case 1: return "boolean";
|
|
2483
2483
|
case 0: return "number";
|
|
@@ -2486,12 +2486,12 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2486
2486
|
}
|
|
2487
2487
|
return "any";
|
|
2488
2488
|
};
|
|
2489
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2489
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.ao = function (a, b, c) {
|
|
2490
2490
|
if (c.d) {
|
|
2491
|
-
return a.d + "_" + CodeGeneratingComponentRenderer.d5(this.
|
|
2491
|
+
return a.d + "_" + CodeGeneratingComponentRenderer.d5(this.v(b)) + "Item[]";
|
|
2492
2492
|
}
|
|
2493
2493
|
else if (c.f) {
|
|
2494
|
-
return a.d + "_" + this.
|
|
2494
|
+
return a.d + "_" + this.v(b);
|
|
2495
2495
|
}
|
|
2496
2496
|
else {
|
|
2497
2497
|
switch (c.c) {
|
|
@@ -2503,20 +2503,20 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2503
2503
|
}
|
|
2504
2504
|
return "any";
|
|
2505
2505
|
};
|
|
2506
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2507
|
-
_super.prototype.
|
|
2506
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.aj = function (a, b, c, d) {
|
|
2507
|
+
_super.prototype.aj.call(this, a, b, c, d);
|
|
2508
2508
|
d.f();
|
|
2509
2509
|
d.l("}");
|
|
2510
2510
|
d.f();
|
|
2511
2511
|
d.l("}");
|
|
2512
2512
|
};
|
|
2513
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2514
|
-
_super.prototype.
|
|
2513
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.x = function (a, b, c, d, e, f) {
|
|
2514
|
+
_super.prototype.x.call(this, a, b, c, d, e, f);
|
|
2515
2515
|
f.j("this.push(");
|
|
2516
|
-
this.
|
|
2516
|
+
this.aq(this.w(a, true), b, c, d, f);
|
|
2517
2517
|
f.l(");");
|
|
2518
2518
|
};
|
|
2519
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2519
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.aq = function (a, b, c, d, e) {
|
|
2520
2520
|
if (d == null) {
|
|
2521
2521
|
e.j("null");
|
|
2522
2522
|
return;
|
|
@@ -2530,7 +2530,7 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2530
2530
|
if (g > 0) {
|
|
2531
2531
|
e.l(",");
|
|
2532
2532
|
}
|
|
2533
|
-
this.
|
|
2533
|
+
this.aq(a, b, c, f.items[g], e);
|
|
2534
2534
|
}
|
|
2535
2535
|
}
|
|
2536
2536
|
e.f();
|
|
@@ -2547,14 +2547,14 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2547
2547
|
if (i > 0) {
|
|
2548
2548
|
e.l(",");
|
|
2549
2549
|
}
|
|
2550
|
-
e.j(this.
|
|
2550
|
+
e.j(this.v(j) + ": ");
|
|
2551
2551
|
if (k.d) {
|
|
2552
|
-
var l = a + "_" + CodeGeneratingComponentRenderer.d5(this.
|
|
2553
|
-
this.
|
|
2552
|
+
var l = a + "_" + CodeGeneratingComponentRenderer.d5(this.v(j)) + "Item";
|
|
2553
|
+
this.aq(l, k.a, k.b, h.item(j), e);
|
|
2554
2554
|
}
|
|
2555
2555
|
else if (k.f) {
|
|
2556
|
-
var m = a + "_" + CodeGeneratingComponentRenderer.d5(this.
|
|
2557
|
-
this.
|
|
2556
|
+
var m = a + "_" + CodeGeneratingComponentRenderer.d5(this.v(j));
|
|
2557
|
+
this.aq(m, k.a, k.b, h.item(j), e);
|
|
2558
2558
|
}
|
|
2559
2559
|
else {
|
|
2560
2560
|
var n = h.item(j);
|
|
@@ -2578,7 +2578,7 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
2578
2578
|
}
|
|
2579
2579
|
return "";
|
|
2580
2580
|
};
|
|
2581
|
-
TSCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2581
|
+
TSCodeGeneratingComponentRendererDataEmitter.prototype.an = function (a) {
|
|
2582
2582
|
switch (a.e) {
|
|
2583
2583
|
case 1: return (a.value ? "true" : "false");
|
|
2584
2584
|
case 0: return (a.value.toString());
|
|
@@ -2837,29 +2837,29 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
2837
2837
|
__extends(DotNetCodeGeneratingComponentRendererDataEmitter, _super);
|
|
2838
2838
|
function DotNetCodeGeneratingComponentRendererDataEmitter(a, b) {
|
|
2839
2839
|
var _this = _super.call(this, a, b) || this;
|
|
2840
|
-
_this.
|
|
2840
|
+
_this.al = false;
|
|
2841
2841
|
return _this;
|
|
2842
2842
|
}
|
|
2843
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2844
|
-
_super.prototype.
|
|
2843
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.aa = function (a, b) {
|
|
2844
|
+
_super.prototype.aa.call(this, a, b);
|
|
2845
2845
|
this.f.l("<Compile Include=\"" + a + ".cs\">");
|
|
2846
2846
|
this.f.h();
|
|
2847
2847
|
this.f.l("<SubType>Code</SubType>");
|
|
2848
2848
|
this.f.f();
|
|
2849
2849
|
this.f.l("</Compile>");
|
|
2850
2850
|
};
|
|
2851
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2851
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ae = function (a) {
|
|
2852
2852
|
a.l("using System;");
|
|
2853
2853
|
a.l("using System.Collections.Generic;");
|
|
2854
|
-
if (!this.
|
|
2855
|
-
this.
|
|
2854
|
+
if (!this.al) {
|
|
2855
|
+
this.al = true;
|
|
2856
2856
|
}
|
|
2857
|
-
_super.prototype.
|
|
2857
|
+
_super.prototype.ae.call(this, a);
|
|
2858
2858
|
};
|
|
2859
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2860
|
-
_super.prototype.
|
|
2859
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ad = function (a) {
|
|
2860
|
+
_super.prototype.ad.call(this, a);
|
|
2861
2861
|
};
|
|
2862
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2862
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.w = function (a, b) {
|
|
2863
2863
|
if (b === void 0) {
|
|
2864
2864
|
b = false;
|
|
2865
2865
|
}
|
|
@@ -2870,22 +2870,22 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
2870
2870
|
}
|
|
2871
2871
|
return a;
|
|
2872
2872
|
};
|
|
2873
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2873
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.v = function (a) {
|
|
2874
2874
|
a = stringReplace(a, "-", "_");
|
|
2875
2875
|
return CodeGeneratingComponentRenderer.d5(a);
|
|
2876
2876
|
};
|
|
2877
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2877
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ap = function (a) {
|
|
2878
2878
|
a = stringReplace(a, "-", "_");
|
|
2879
2879
|
return "_" + CodeGeneratingComponentRenderer.d4(a);
|
|
2880
2880
|
};
|
|
2881
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2881
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ak = function (a, b, c, d, e) {
|
|
2882
2882
|
var e_9, _a;
|
|
2883
|
-
_super.prototype.
|
|
2884
|
-
var f = this.r(this.
|
|
2883
|
+
_super.prototype.ak.call(this, a, b, c, d, e);
|
|
2884
|
+
var f = this.r(this.w(a, true), this.w(a, false), b, c);
|
|
2885
2885
|
try {
|
|
2886
2886
|
for (var _b = __values(fromEnum(f)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2887
2887
|
var g = _c.value;
|
|
2888
|
-
this.
|
|
2888
|
+
this.ac(g, d, e);
|
|
2889
2889
|
}
|
|
2890
2890
|
}
|
|
2891
2891
|
catch (e_9_1) {
|
|
@@ -2902,82 +2902,82 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
2902
2902
|
}
|
|
2903
2903
|
}
|
|
2904
2904
|
d.l("");
|
|
2905
|
-
d.l("public class " + this.
|
|
2905
|
+
d.l("public class " + this.w(a, false));
|
|
2906
2906
|
d.h();
|
|
2907
|
-
d.l(": List<" + this.
|
|
2907
|
+
d.l(": List<" + this.w(a, true) + ">");
|
|
2908
2908
|
d.f();
|
|
2909
2909
|
d.l("{");
|
|
2910
2910
|
d.h();
|
|
2911
|
-
d.l("public " + this.
|
|
2911
|
+
d.l("public " + this.w(a, false) + "()");
|
|
2912
2912
|
d.l("{");
|
|
2913
2913
|
d.h();
|
|
2914
2914
|
};
|
|
2915
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2916
|
-
_super.prototype.
|
|
2917
|
-
var d = this.
|
|
2915
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ag = function (a, b, c) {
|
|
2916
|
+
_super.prototype.ag.call(this, a, b, c);
|
|
2917
|
+
var d = this.ap(a) + " = " + "new " + this.w(a, false) + "(); ";
|
|
2918
2918
|
var e = "";
|
|
2919
2919
|
if (this.n.platform == 5) {
|
|
2920
2920
|
e = " StateHasChanged();";
|
|
2921
2921
|
}
|
|
2922
2922
|
else {
|
|
2923
|
-
e = " OnPropertyChanged(\"" + this.
|
|
2923
|
+
e = " OnPropertyChanged(\"" + this.w(a, false) + "\");";
|
|
2924
2924
|
}
|
|
2925
2925
|
if (c != null && c.isAsync) {
|
|
2926
|
-
d = this.
|
|
2926
|
+
d = this.w(a, false) + ".Fetch().ContinueWith((t) => {" + this.ap(a) + " = t.Result; " + e + " });";
|
|
2927
2927
|
}
|
|
2928
|
-
this.g.l("private " + this.
|
|
2929
|
-
this.g.l("public " + this.
|
|
2928
|
+
this.g.l("private " + this.w(a, false) + " " + this.ap(a) + " = null;");
|
|
2929
|
+
this.g.l("public " + this.w(a, false) + " " + this.v(a));
|
|
2930
2930
|
this.g.l("{");
|
|
2931
2931
|
this.g.h();
|
|
2932
2932
|
this.g.l("get");
|
|
2933
2933
|
this.g.l("{");
|
|
2934
2934
|
this.g.h();
|
|
2935
|
-
this.g.l("if (" + this.
|
|
2935
|
+
this.g.l("if (" + this.ap(a) + " == null)");
|
|
2936
2936
|
this.g.l("{");
|
|
2937
2937
|
this.g.h();
|
|
2938
2938
|
this.g.l(d);
|
|
2939
2939
|
this.g.f();
|
|
2940
2940
|
this.g.l("}");
|
|
2941
|
-
this.g.l("return " + this.
|
|
2941
|
+
this.g.l("return " + this.ap(a) + ";");
|
|
2942
2942
|
this.g.f();
|
|
2943
2943
|
this.g.l("}");
|
|
2944
2944
|
this.g.f();
|
|
2945
2945
|
this.g.l("}");
|
|
2946
2946
|
this.g.l("");
|
|
2947
2947
|
};
|
|
2948
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2949
|
-
_super.prototype.
|
|
2950
|
-
this.g.l("private " + this.
|
|
2951
|
-
this.g.l("public " + this.
|
|
2948
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ah = function (a, b) {
|
|
2949
|
+
_super.prototype.ah.call(this, a, b);
|
|
2950
|
+
this.g.l("private " + this.am(b.e) + " " + this.ap(a) + " = " + this.an(b) + ";");
|
|
2951
|
+
this.g.l("public " + this.am(b.e) + " " + this.v(a));
|
|
2952
2952
|
this.g.l("{");
|
|
2953
2953
|
this.g.h();
|
|
2954
2954
|
this.g.l("get");
|
|
2955
2955
|
this.g.l("{");
|
|
2956
2956
|
this.g.h();
|
|
2957
|
-
this.g.l("return " + this.
|
|
2957
|
+
this.g.l("return " + this.ap(a) + ";");
|
|
2958
2958
|
this.g.f();
|
|
2959
2959
|
this.g.l("}");
|
|
2960
2960
|
this.g.f();
|
|
2961
2961
|
this.g.l("}");
|
|
2962
2962
|
this.g.l("");
|
|
2963
2963
|
};
|
|
2964
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2965
|
-
_super.prototype.
|
|
2966
|
-
this.g.l("private " + this.
|
|
2967
|
-
this.g.l("public " + this.
|
|
2964
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ai = function (a, b, c, d) {
|
|
2965
|
+
_super.prototype.ai.call(this, a, b, c, d);
|
|
2966
|
+
this.g.l("private " + this.w(a, false) + "Item " + this.ap(a) + " = null;");
|
|
2967
|
+
this.g.l("public " + this.w(a, false) + "Item " + this.v(a));
|
|
2968
2968
|
this.g.l("{");
|
|
2969
2969
|
this.g.h();
|
|
2970
2970
|
this.g.l("get");
|
|
2971
2971
|
this.g.l("{");
|
|
2972
2972
|
this.g.h();
|
|
2973
|
-
this.g.l("if (" + this.
|
|
2973
|
+
this.g.l("if (" + this.ap(a) + " == null)");
|
|
2974
2974
|
this.g.l("{");
|
|
2975
2975
|
this.g.h();
|
|
2976
2976
|
this.g.l("_" + a + " = ");
|
|
2977
|
-
this.
|
|
2977
|
+
this.aq(this.w(a, true), b, c, d, this.g);
|
|
2978
2978
|
this.g.f();
|
|
2979
2979
|
this.g.l("}");
|
|
2980
|
-
this.g.l("return " + this.
|
|
2980
|
+
this.g.l("return " + this.ap(a) + ";");
|
|
2981
2981
|
this.g.f();
|
|
2982
2982
|
this.g.l("}");
|
|
2983
2983
|
this.g.f();
|
|
@@ -2987,19 +2987,19 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
2987
2987
|
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.get_s = function () {
|
|
2988
2988
|
return ".cs";
|
|
2989
2989
|
};
|
|
2990
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
2990
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ac = function (a, b, c) {
|
|
2991
2991
|
b.l("public class " + a.d);
|
|
2992
2992
|
b.l("{");
|
|
2993
2993
|
b.h();
|
|
2994
2994
|
for (var d = 0; d < a.a.length; d++) {
|
|
2995
2995
|
var e = a.a[d];
|
|
2996
2996
|
var f = a.b[d];
|
|
2997
|
-
b.l("public " + this.
|
|
2997
|
+
b.l("public " + this.ao(a, e, f) + " " + this.v(e) + " { get; set; }");
|
|
2998
2998
|
}
|
|
2999
2999
|
b.f();
|
|
3000
3000
|
b.l("}");
|
|
3001
3001
|
};
|
|
3002
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3002
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.am = function (a) {
|
|
3003
3003
|
switch (a) {
|
|
3004
3004
|
case 1: return "bool";
|
|
3005
3005
|
case 0: return "double";
|
|
@@ -3008,12 +3008,12 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
3008
3008
|
}
|
|
3009
3009
|
return "object";
|
|
3010
3010
|
};
|
|
3011
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3011
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ao = function (a, b, c) {
|
|
3012
3012
|
if (c.d) {
|
|
3013
|
-
return "List<" + a.d + "_" + this.
|
|
3013
|
+
return "List<" + a.d + "_" + this.v(b) + "Item>";
|
|
3014
3014
|
}
|
|
3015
3015
|
else if (c.f) {
|
|
3016
|
-
return a.d + "_" + this.
|
|
3016
|
+
return a.d + "_" + this.v(b);
|
|
3017
3017
|
}
|
|
3018
3018
|
else {
|
|
3019
3019
|
switch (c.c) {
|
|
@@ -3025,20 +3025,20 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
3025
3025
|
}
|
|
3026
3026
|
return "object";
|
|
3027
3027
|
};
|
|
3028
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3029
|
-
_super.prototype.
|
|
3028
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.aj = function (a, b, c, d) {
|
|
3029
|
+
_super.prototype.aj.call(this, a, b, c, d);
|
|
3030
3030
|
d.f();
|
|
3031
3031
|
d.l("}");
|
|
3032
3032
|
d.f();
|
|
3033
3033
|
d.l("}");
|
|
3034
3034
|
};
|
|
3035
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3036
|
-
_super.prototype.
|
|
3035
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.x = function (a, b, c, d, e, f) {
|
|
3036
|
+
_super.prototype.x.call(this, a, b, c, d, e, f);
|
|
3037
3037
|
f.j("this.Add(");
|
|
3038
|
-
this.
|
|
3038
|
+
this.aq(this.w(a, true), b, c, d, f);
|
|
3039
3039
|
f.l(");");
|
|
3040
3040
|
};
|
|
3041
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3041
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.aq = function (a, b, c, d, e) {
|
|
3042
3042
|
if (d == null) {
|
|
3043
3043
|
e.j("null");
|
|
3044
3044
|
return;
|
|
@@ -3053,7 +3053,7 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
3053
3053
|
if (g > 0) {
|
|
3054
3054
|
e.l(",");
|
|
3055
3055
|
}
|
|
3056
|
-
this.
|
|
3056
|
+
this.aq(a, b, c, f.items[g], e);
|
|
3057
3057
|
}
|
|
3058
3058
|
}
|
|
3059
3059
|
e.f();
|
|
@@ -3075,12 +3075,12 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
3075
3075
|
}
|
|
3076
3076
|
e.j(j + " = ");
|
|
3077
3077
|
if (k.d) {
|
|
3078
|
-
var l = a + "_" + this.
|
|
3079
|
-
this.
|
|
3078
|
+
var l = a + "_" + this.v(j) + "Item";
|
|
3079
|
+
this.aq(l, k.a, k.b, h.item(j), e);
|
|
3080
3080
|
}
|
|
3081
3081
|
else if (k.f) {
|
|
3082
|
-
var m = a + "_" + this.
|
|
3083
|
-
this.
|
|
3082
|
+
var m = a + "_" + this.v(j);
|
|
3083
|
+
this.aq(m, k.a, k.b, h.item(j), e);
|
|
3084
3084
|
}
|
|
3085
3085
|
else {
|
|
3086
3086
|
var n = h.item(j);
|
|
@@ -3110,7 +3110,7 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
3110
3110
|
}
|
|
3111
3111
|
return "";
|
|
3112
3112
|
};
|
|
3113
|
-
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.
|
|
3113
|
+
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.an = function (a) {
|
|
3114
3114
|
switch (a.e) {
|
|
3115
3115
|
case 1: return (a.value ? "true" : "false");
|
|
3116
3116
|
case 0: return (a.value.toString());
|
|
@@ -3604,7 +3604,7 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
3604
3604
|
}
|
|
3605
3605
|
{
|
|
3606
3606
|
var n = this.dr(this.dw, b);
|
|
3607
|
-
n.
|
|
3607
|
+
n.ab(this.d1);
|
|
3608
3608
|
}
|
|
3609
3609
|
var o = this.ds(this.dw, b);
|
|
3610
3610
|
var p = new List$1(String_$type, 0);
|