igniteui-angular-core 16.1.0 → 16.1.2-beta.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/License +6 -6
- package/README.md +14 -6
- package/bundles/igniteui-angular-core.umd.js +205 -189
- 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/esm2015/lib/WebComboChangeEventArgsDetailDescription.js +12 -12
- package/esm2015/lib/WebComboChangeEventArgsDetailDescriptionMetadata.js +2 -2
- package/esm2015/lib/WebComboDescriptionMetadata.js +1 -1
- package/esm2015/lib/dateExtended.js +5 -1
- package/esm5/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +122 -122
- package/esm5/lib/CodeGeneratingComponentRendererDataEmitter.js +65 -53
- package/esm5/lib/WebComboChangeEventArgsDetailDescription.js +10 -10
- package/esm5/lib/WebComboChangeEventArgsDetailDescriptionMetadata.js +2 -2
- package/esm5/lib/WebComboDescriptionMetadata.js +1 -1
- package/esm5/lib/dateExtended.js +5 -1
- package/fesm2015/igniteui-angular-core.js +203 -191
- package/fesm5/igniteui-angular-core.js +205 -189
- package/lib/CodeGeneratingComponentRendererCodeEmitter_combined.d.ts +34 -34
- package/lib/CodeGeneratingComponentRendererDataEmitter.d.ts +16 -14
- package/lib/WebComboChangeEventArgsDetailDescription.d.ts +6 -6
- package/lib/WebComboDescription.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2072,9 +2072,9 @@ export let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
2072
2072
|
class TSCodeGeneratingComponentRendererDataEmitter extends CodeGeneratingComponentRendererDataEmitter {
|
|
2073
2073
|
constructor(a, b) {
|
|
2074
2074
|
super(a, b);
|
|
2075
|
-
this.
|
|
2075
|
+
this.al = new Dictionary$2(CodeGeneratingCodeWriter.$, Number_$type, 0);
|
|
2076
2076
|
}
|
|
2077
|
-
|
|
2077
|
+
w(a, b = false) {
|
|
2078
2078
|
a = CodeGeneratingComponentRenderer.d5(a);
|
|
2079
2079
|
a = stringReplace(a, "-", "_");
|
|
2080
2080
|
if (b) {
|
|
@@ -2082,42 +2082,42 @@ export let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
2082
2082
|
}
|
|
2083
2083
|
return a;
|
|
2084
2084
|
}
|
|
2085
|
-
|
|
2085
|
+
v(a) {
|
|
2086
2086
|
a = stringReplace(a, "-", "_");
|
|
2087
2087
|
if (this.p.e) {
|
|
2088
2088
|
return a;
|
|
2089
2089
|
}
|
|
2090
2090
|
return CodeGeneratingComponentRenderer.d4(a);
|
|
2091
2091
|
}
|
|
2092
|
-
|
|
2092
|
+
ap(a) {
|
|
2093
2093
|
a = stringReplace(a, "-", "_");
|
|
2094
2094
|
return "_" + CodeGeneratingComponentRenderer.d4(a);
|
|
2095
2095
|
}
|
|
2096
2096
|
get_s() {
|
|
2097
2097
|
return ".ts";
|
|
2098
2098
|
}
|
|
2099
|
-
|
|
2100
|
-
super.
|
|
2101
|
-
let f = this.r(this.
|
|
2099
|
+
ak(a, b, c, d, e) {
|
|
2100
|
+
super.ak(a, b, c, d, e);
|
|
2101
|
+
let f = this.r(this.w(a, true), this.w(a, false), b, c);
|
|
2102
2102
|
for (let g of fromEnum(f)) {
|
|
2103
|
-
this.
|
|
2103
|
+
this.ac(g, d, e);
|
|
2104
2104
|
}
|
|
2105
2105
|
let h = 0;
|
|
2106
2106
|
if (e == this.k) {
|
|
2107
|
-
e.addPackageImport("./" + this.
|
|
2107
|
+
e.addPackageImport("./" + this.w(a, false), this.w(a, false));
|
|
2108
2108
|
}
|
|
2109
2109
|
else {
|
|
2110
|
-
e.addPackageImport("./" + this.
|
|
2110
|
+
e.addPackageImport("./" + this.w(a, false), this.w(a, false));
|
|
2111
2111
|
}
|
|
2112
|
-
d.l("export class " + this.
|
|
2112
|
+
d.l("export class " + this.w(a, false) + " extends Array<" + this.w(a, true) + "> {");
|
|
2113
2113
|
d.h();
|
|
2114
2114
|
d.l("public constructor() {");
|
|
2115
2115
|
d.h();
|
|
2116
2116
|
d.l("super();");
|
|
2117
2117
|
}
|
|
2118
|
-
|
|
2119
|
-
super.
|
|
2120
|
-
let d = this.p.cDNBasePath + this.
|
|
2118
|
+
ag(a, b, c) {
|
|
2119
|
+
super.ag(a, b, c);
|
|
2120
|
+
let d = this.p.cDNBasePath + this.w(a, false) + ".json";
|
|
2121
2121
|
let e = "";
|
|
2122
2122
|
if (this.n.platform == 2) {
|
|
2123
2123
|
e = "this.setState({}); ";
|
|
@@ -2128,7 +2128,7 @@ export let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
2128
2128
|
if (this.n.platform == 1) {
|
|
2129
2129
|
e = "this._detector.markForCheck(); ";
|
|
2130
2130
|
}
|
|
2131
|
-
let f = this.
|
|
2131
|
+
let f = this.w(a, false);
|
|
2132
2132
|
let g = "null";
|
|
2133
2133
|
switch (b) {
|
|
2134
2134
|
case 2:
|
|
@@ -2136,85 +2136,85 @@ export let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
2136
2136
|
break;
|
|
2137
2137
|
case 1:
|
|
2138
2138
|
f = "any[]";
|
|
2139
|
-
g = this.
|
|
2139
|
+
g = this.w(a, false);
|
|
2140
2140
|
break;
|
|
2141
2141
|
case 0: break;
|
|
2142
2142
|
}
|
|
2143
|
-
this.g.l("private " + this.
|
|
2143
|
+
this.g.l("private " + this.ap(a) + ": " + f + " = " + g + ";");
|
|
2144
2144
|
if (b == 2 || (c != null && c.isAsync)) {
|
|
2145
|
-
this.g.l("private " + this.
|
|
2145
|
+
this.g.l("private " + this.ap(a) + "Fetching: boolean = false;");
|
|
2146
2146
|
}
|
|
2147
2147
|
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + f + " {");
|
|
2148
2148
|
this.g.h();
|
|
2149
2149
|
if (c != null && c.isAsync) {
|
|
2150
|
-
this.g.l("if (this." + this.
|
|
2150
|
+
this.g.l("if (this." + this.ap(a) + " == null && !this." + this.ap(a) + "Fetching)");
|
|
2151
2151
|
this.g.l("{");
|
|
2152
2152
|
this.g.h();
|
|
2153
|
-
this.g.l("this." + this.
|
|
2154
|
-
this.g.l("( async () => { this." + this.
|
|
2153
|
+
this.g.l("this." + this.ap(a) + "Fetching = true;");
|
|
2154
|
+
this.g.l("( async () => { this." + this.ap(a) + " = await (await " + this.w(a, false) + ".fetch()); " + e + " })();");
|
|
2155
2155
|
this.g.f();
|
|
2156
2156
|
this.g.l("}");
|
|
2157
2157
|
}
|
|
2158
2158
|
else {
|
|
2159
2159
|
if (b == 2) {
|
|
2160
|
-
this.g.l("if (this." + this.
|
|
2160
|
+
this.g.l("if (this." + this.ap(a) + " == null && !this." + this.ap(a) + "Fetching)");
|
|
2161
2161
|
this.g.l("{");
|
|
2162
2162
|
this.g.h();
|
|
2163
|
-
this.g.l(this.
|
|
2164
|
-
this.g.l("( async () => { this." + this.
|
|
2163
|
+
this.g.l(this.ap(a) + "Fetching = true;");
|
|
2164
|
+
this.g.l("( async () => { this." + this.ap(a) + " = await (await fetch('" + d + "')).json(); " + e + " })();");
|
|
2165
2165
|
this.g.f();
|
|
2166
2166
|
this.g.l("}");
|
|
2167
2167
|
}
|
|
2168
2168
|
if (b == 0) {
|
|
2169
|
-
this.g.l("if (this." + this.
|
|
2169
|
+
this.g.l("if (this." + this.ap(a) + " == null)");
|
|
2170
2170
|
this.g.l("{");
|
|
2171
2171
|
this.g.h();
|
|
2172
|
-
this.g.l("this." + this.
|
|
2172
|
+
this.g.l("this." + this.ap(a) + " = new " + this.w(a, false) + "();");
|
|
2173
2173
|
this.g.f();
|
|
2174
2174
|
this.g.l("}");
|
|
2175
2175
|
}
|
|
2176
2176
|
}
|
|
2177
|
-
this.g.l("return this." + this.
|
|
2177
|
+
this.g.l("return this." + this.ap(a) + ";");
|
|
2178
2178
|
this.g.f();
|
|
2179
2179
|
this.g.l("}");
|
|
2180
2180
|
this.g.l("");
|
|
2181
2181
|
}
|
|
2182
|
-
|
|
2183
|
-
super.
|
|
2184
|
-
this.g.l("private " + this.
|
|
2185
|
-
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + this.
|
|
2182
|
+
ah(a, b) {
|
|
2183
|
+
super.ah(a, b);
|
|
2184
|
+
this.g.l("private " + this.ap(a) + ": " + this.am(b.e) + " = " + this.an(b) + ";");
|
|
2185
|
+
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + this.am(b.e) + " {");
|
|
2186
2186
|
this.g.h();
|
|
2187
|
-
this.g.l("return this." + this.
|
|
2187
|
+
this.g.l("return this." + this.ap(a) + ";");
|
|
2188
2188
|
this.g.f();
|
|
2189
2189
|
this.g.l("}");
|
|
2190
2190
|
this.g.l("");
|
|
2191
2191
|
}
|
|
2192
|
-
|
|
2193
|
-
super.
|
|
2194
|
-
this.g.l("private " + this.
|
|
2195
|
-
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + this.
|
|
2192
|
+
ai(a, b, c, d) {
|
|
2193
|
+
super.ai(a, b, c, d);
|
|
2194
|
+
this.g.l("private " + this.ap(a) + ": " + this.w(a, false) + "Item = null;");
|
|
2195
|
+
this.g.l("public get " + CodeGeneratingComponentRenderer.d4(a) + "(): " + this.w(a, false) + "Item {");
|
|
2196
2196
|
this.g.h();
|
|
2197
|
-
this.g.l("if (this." + this.
|
|
2197
|
+
this.g.l("if (this." + this.ap(a) + " == null)");
|
|
2198
2198
|
this.g.l("{");
|
|
2199
2199
|
this.g.h();
|
|
2200
|
-
this.g.l("this." + this.
|
|
2201
|
-
this.
|
|
2200
|
+
this.g.l("this." + this.ap(a) + " = ");
|
|
2201
|
+
this.aq(this.w(a, true), b, c, d, this.g);
|
|
2202
2202
|
this.g.l("}");
|
|
2203
|
-
this.g.l("return this." + this.
|
|
2203
|
+
this.g.l("return this." + this.ap(a) + ";");
|
|
2204
2204
|
this.g.f();
|
|
2205
2205
|
this.g.l("}");
|
|
2206
2206
|
this.g.l("");
|
|
2207
2207
|
}
|
|
2208
|
-
|
|
2208
|
+
y(a, b) {
|
|
2209
2209
|
b.addPackageImport("./" + a, a);
|
|
2210
2210
|
}
|
|
2211
|
-
|
|
2212
|
-
|
|
2211
|
+
z(a, b, c) {
|
|
2212
|
+
c.addDefaultImport("./" + b, a);
|
|
2213
2213
|
}
|
|
2214
|
-
|
|
2214
|
+
aa(a, b) {
|
|
2215
2215
|
this.l = CodeGeneratingImportManager.merge(this.l, b);
|
|
2216
2216
|
}
|
|
2217
|
-
|
|
2217
|
+
ac(a, b, c) {
|
|
2218
2218
|
let d = 0;
|
|
2219
2219
|
if (c == this.k) {
|
|
2220
2220
|
c.addPackageImport("./" + a.c, a.d);
|
|
@@ -2233,13 +2233,13 @@ export let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
2233
2233
|
for (let e = 0; e < a.a.length; e++) {
|
|
2234
2234
|
let f = a.a[e];
|
|
2235
2235
|
let g = a.b[e];
|
|
2236
|
-
b.l("public " + this.
|
|
2236
|
+
b.l("public " + this.v(f) + ": " + this.ao(a, f, g) + ";");
|
|
2237
2237
|
}
|
|
2238
2238
|
b.f();
|
|
2239
2239
|
b.l("");
|
|
2240
2240
|
b.l("}");
|
|
2241
2241
|
}
|
|
2242
|
-
|
|
2242
|
+
am(a) {
|
|
2243
2243
|
switch (a) {
|
|
2244
2244
|
case 1: return "boolean";
|
|
2245
2245
|
case 0: return "number";
|
|
@@ -2248,12 +2248,12 @@ export let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
2248
2248
|
}
|
|
2249
2249
|
return "any";
|
|
2250
2250
|
}
|
|
2251
|
-
|
|
2251
|
+
ao(a, b, c) {
|
|
2252
2252
|
if (c.d) {
|
|
2253
|
-
return a.d + "_" + CodeGeneratingComponentRenderer.d5(this.
|
|
2253
|
+
return a.d + "_" + CodeGeneratingComponentRenderer.d5(this.v(b)) + "Item[]";
|
|
2254
2254
|
}
|
|
2255
2255
|
else if (c.f) {
|
|
2256
|
-
return a.d + "_" + this.
|
|
2256
|
+
return a.d + "_" + this.v(b);
|
|
2257
2257
|
}
|
|
2258
2258
|
else {
|
|
2259
2259
|
switch (c.c) {
|
|
@@ -2265,20 +2265,20 @@ export let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
2265
2265
|
}
|
|
2266
2266
|
return "any";
|
|
2267
2267
|
}
|
|
2268
|
-
|
|
2269
|
-
super.
|
|
2268
|
+
aj(a, b, c, d) {
|
|
2269
|
+
super.aj(a, b, c, d);
|
|
2270
2270
|
d.f();
|
|
2271
2271
|
d.l("}");
|
|
2272
2272
|
d.f();
|
|
2273
2273
|
d.l("}");
|
|
2274
2274
|
}
|
|
2275
|
-
|
|
2276
|
-
super.
|
|
2275
|
+
x(a, b, c, d, e, f) {
|
|
2276
|
+
super.x(a, b, c, d, e, f);
|
|
2277
2277
|
f.j("this.push(");
|
|
2278
|
-
this.
|
|
2278
|
+
this.aq(this.w(a, true), b, c, d, f);
|
|
2279
2279
|
f.l(");");
|
|
2280
2280
|
}
|
|
2281
|
-
|
|
2281
|
+
aq(a, b, c, d, e) {
|
|
2282
2282
|
if (d == null) {
|
|
2283
2283
|
e.j("null");
|
|
2284
2284
|
return;
|
|
@@ -2292,7 +2292,7 @@ export let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
2292
2292
|
if (g > 0) {
|
|
2293
2293
|
e.l(",");
|
|
2294
2294
|
}
|
|
2295
|
-
this.
|
|
2295
|
+
this.aq(a, b, c, f.items[g], e);
|
|
2296
2296
|
}
|
|
2297
2297
|
}
|
|
2298
2298
|
e.f();
|
|
@@ -2309,14 +2309,14 @@ export let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
2309
2309
|
if (i > 0) {
|
|
2310
2310
|
e.l(",");
|
|
2311
2311
|
}
|
|
2312
|
-
e.j(this.
|
|
2312
|
+
e.j(this.v(j) + ": ");
|
|
2313
2313
|
if (k.d) {
|
|
2314
|
-
let l = a + "_" + CodeGeneratingComponentRenderer.d5(this.
|
|
2315
|
-
this.
|
|
2314
|
+
let l = a + "_" + CodeGeneratingComponentRenderer.d5(this.v(j)) + "Item";
|
|
2315
|
+
this.aq(l, k.a, k.b, h.item(j), e);
|
|
2316
2316
|
}
|
|
2317
2317
|
else if (k.f) {
|
|
2318
|
-
let m = a + "_" + CodeGeneratingComponentRenderer.d5(this.
|
|
2319
|
-
this.
|
|
2318
|
+
let m = a + "_" + CodeGeneratingComponentRenderer.d5(this.v(j));
|
|
2319
|
+
this.aq(m, k.a, k.b, h.item(j), e);
|
|
2320
2320
|
}
|
|
2321
2321
|
else {
|
|
2322
2322
|
let n = h.item(j);
|
|
@@ -2340,7 +2340,7 @@ export let TSCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
|
|
|
2340
2340
|
}
|
|
2341
2341
|
return "";
|
|
2342
2342
|
}
|
|
2343
|
-
|
|
2343
|
+
an(a) {
|
|
2344
2344
|
switch (a.e) {
|
|
2345
2345
|
case 1: return (a.value ? "true" : "false");
|
|
2346
2346
|
case 0: return (a.value.toString());
|
|
@@ -2577,28 +2577,28 @@ export let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (()
|
|
|
2577
2577
|
class DotNetCodeGeneratingComponentRendererDataEmitter extends CodeGeneratingComponentRendererDataEmitter {
|
|
2578
2578
|
constructor(a, b) {
|
|
2579
2579
|
super(a, b);
|
|
2580
|
-
this.
|
|
2580
|
+
this.al = false;
|
|
2581
2581
|
}
|
|
2582
|
-
|
|
2583
|
-
super.
|
|
2582
|
+
aa(a, b) {
|
|
2583
|
+
super.aa(a, b);
|
|
2584
2584
|
this.f.l("<Compile Include=\"" + a + ".cs\">");
|
|
2585
2585
|
this.f.h();
|
|
2586
2586
|
this.f.l("<SubType>Code</SubType>");
|
|
2587
2587
|
this.f.f();
|
|
2588
2588
|
this.f.l("</Compile>");
|
|
2589
2589
|
}
|
|
2590
|
-
|
|
2590
|
+
ae(a) {
|
|
2591
2591
|
a.l("using System;");
|
|
2592
2592
|
a.l("using System.Collections.Generic;");
|
|
2593
|
-
if (!this.
|
|
2594
|
-
this.
|
|
2593
|
+
if (!this.al) {
|
|
2594
|
+
this.al = true;
|
|
2595
2595
|
}
|
|
2596
|
-
super.
|
|
2596
|
+
super.ae(a);
|
|
2597
2597
|
}
|
|
2598
|
-
|
|
2599
|
-
super.
|
|
2598
|
+
ad(a) {
|
|
2599
|
+
super.ad(a);
|
|
2600
2600
|
}
|
|
2601
|
-
|
|
2601
|
+
w(a, b = false) {
|
|
2602
2602
|
a = CodeGeneratingComponentRenderer.d5(a);
|
|
2603
2603
|
a = stringReplace(a, "-", "_");
|
|
2604
2604
|
if (b) {
|
|
@@ -2606,97 +2606,97 @@ export let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (()
|
|
|
2606
2606
|
}
|
|
2607
2607
|
return a;
|
|
2608
2608
|
}
|
|
2609
|
-
|
|
2609
|
+
v(a) {
|
|
2610
2610
|
a = stringReplace(a, "-", "_");
|
|
2611
2611
|
return CodeGeneratingComponentRenderer.d5(a);
|
|
2612
2612
|
}
|
|
2613
|
-
|
|
2613
|
+
ap(a) {
|
|
2614
2614
|
a = stringReplace(a, "-", "_");
|
|
2615
2615
|
return "_" + CodeGeneratingComponentRenderer.d4(a);
|
|
2616
2616
|
}
|
|
2617
|
-
|
|
2618
|
-
super.
|
|
2619
|
-
let f = this.r(this.
|
|
2617
|
+
ak(a, b, c, d, e) {
|
|
2618
|
+
super.ak(a, b, c, d, e);
|
|
2619
|
+
let f = this.r(this.w(a, true), this.w(a, false), b, c);
|
|
2620
2620
|
for (let g of fromEnum(f)) {
|
|
2621
|
-
this.
|
|
2621
|
+
this.ac(g, d, e);
|
|
2622
2622
|
}
|
|
2623
2623
|
d.l("");
|
|
2624
|
-
d.l("public class " + this.
|
|
2624
|
+
d.l("public class " + this.w(a, false));
|
|
2625
2625
|
d.h();
|
|
2626
|
-
d.l(": List<" + this.
|
|
2626
|
+
d.l(": List<" + this.w(a, true) + ">");
|
|
2627
2627
|
d.f();
|
|
2628
2628
|
d.l("{");
|
|
2629
2629
|
d.h();
|
|
2630
|
-
d.l("public " + this.
|
|
2630
|
+
d.l("public " + this.w(a, false) + "()");
|
|
2631
2631
|
d.l("{");
|
|
2632
2632
|
d.h();
|
|
2633
2633
|
}
|
|
2634
|
-
|
|
2635
|
-
super.
|
|
2636
|
-
let d = this.
|
|
2634
|
+
ag(a, b, c) {
|
|
2635
|
+
super.ag(a, b, c);
|
|
2636
|
+
let d = this.ap(a) + " = " + "new " + this.w(a, false) + "(); ";
|
|
2637
2637
|
let e = "";
|
|
2638
2638
|
if (this.n.platform == 5) {
|
|
2639
2639
|
e = " StateHasChanged();";
|
|
2640
2640
|
}
|
|
2641
2641
|
else {
|
|
2642
|
-
e = " OnPropertyChanged(\"" + this.
|
|
2642
|
+
e = " OnPropertyChanged(\"" + this.w(a, false) + "\");";
|
|
2643
2643
|
}
|
|
2644
2644
|
if (c != null && c.isAsync) {
|
|
2645
|
-
d = this.
|
|
2645
|
+
d = this.w(a, false) + ".Fetch().ContinueWith((t) => {" + this.ap(a) + " = t.Result; " + e + " });";
|
|
2646
2646
|
}
|
|
2647
|
-
this.g.l("private " + this.
|
|
2648
|
-
this.g.l("public " + this.
|
|
2647
|
+
this.g.l("private " + this.w(a, false) + " " + this.ap(a) + " = null;");
|
|
2648
|
+
this.g.l("public " + this.w(a, false) + " " + this.v(a));
|
|
2649
2649
|
this.g.l("{");
|
|
2650
2650
|
this.g.h();
|
|
2651
2651
|
this.g.l("get");
|
|
2652
2652
|
this.g.l("{");
|
|
2653
2653
|
this.g.h();
|
|
2654
|
-
this.g.l("if (" + this.
|
|
2654
|
+
this.g.l("if (" + this.ap(a) + " == null)");
|
|
2655
2655
|
this.g.l("{");
|
|
2656
2656
|
this.g.h();
|
|
2657
2657
|
this.g.l(d);
|
|
2658
2658
|
this.g.f();
|
|
2659
2659
|
this.g.l("}");
|
|
2660
|
-
this.g.l("return " + this.
|
|
2660
|
+
this.g.l("return " + this.ap(a) + ";");
|
|
2661
2661
|
this.g.f();
|
|
2662
2662
|
this.g.l("}");
|
|
2663
2663
|
this.g.f();
|
|
2664
2664
|
this.g.l("}");
|
|
2665
2665
|
this.g.l("");
|
|
2666
2666
|
}
|
|
2667
|
-
|
|
2668
|
-
super.
|
|
2669
|
-
this.g.l("private " + this.
|
|
2670
|
-
this.g.l("public " + this.
|
|
2667
|
+
ah(a, b) {
|
|
2668
|
+
super.ah(a, b);
|
|
2669
|
+
this.g.l("private " + this.am(b.e) + " " + this.ap(a) + " = " + this.an(b) + ";");
|
|
2670
|
+
this.g.l("public " + this.am(b.e) + " " + this.v(a));
|
|
2671
2671
|
this.g.l("{");
|
|
2672
2672
|
this.g.h();
|
|
2673
2673
|
this.g.l("get");
|
|
2674
2674
|
this.g.l("{");
|
|
2675
2675
|
this.g.h();
|
|
2676
|
-
this.g.l("return " + this.
|
|
2676
|
+
this.g.l("return " + this.ap(a) + ";");
|
|
2677
2677
|
this.g.f();
|
|
2678
2678
|
this.g.l("}");
|
|
2679
2679
|
this.g.f();
|
|
2680
2680
|
this.g.l("}");
|
|
2681
2681
|
this.g.l("");
|
|
2682
2682
|
}
|
|
2683
|
-
|
|
2684
|
-
super.
|
|
2685
|
-
this.g.l("private " + this.
|
|
2686
|
-
this.g.l("public " + this.
|
|
2683
|
+
ai(a, b, c, d) {
|
|
2684
|
+
super.ai(a, b, c, d);
|
|
2685
|
+
this.g.l("private " + this.w(a, false) + "Item " + this.ap(a) + " = null;");
|
|
2686
|
+
this.g.l("public " + this.w(a, false) + "Item " + this.v(a));
|
|
2687
2687
|
this.g.l("{");
|
|
2688
2688
|
this.g.h();
|
|
2689
2689
|
this.g.l("get");
|
|
2690
2690
|
this.g.l("{");
|
|
2691
2691
|
this.g.h();
|
|
2692
|
-
this.g.l("if (" + this.
|
|
2692
|
+
this.g.l("if (" + this.ap(a) + " == null)");
|
|
2693
2693
|
this.g.l("{");
|
|
2694
2694
|
this.g.h();
|
|
2695
2695
|
this.g.l("_" + a + " = ");
|
|
2696
|
-
this.
|
|
2696
|
+
this.aq(this.w(a, true), b, c, d, this.g);
|
|
2697
2697
|
this.g.f();
|
|
2698
2698
|
this.g.l("}");
|
|
2699
|
-
this.g.l("return " + this.
|
|
2699
|
+
this.g.l("return " + this.ap(a) + ";");
|
|
2700
2700
|
this.g.f();
|
|
2701
2701
|
this.g.l("}");
|
|
2702
2702
|
this.g.f();
|
|
@@ -2706,19 +2706,19 @@ export let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (()
|
|
|
2706
2706
|
get_s() {
|
|
2707
2707
|
return ".cs";
|
|
2708
2708
|
}
|
|
2709
|
-
|
|
2709
|
+
ac(a, b, c) {
|
|
2710
2710
|
b.l("public class " + a.d);
|
|
2711
2711
|
b.l("{");
|
|
2712
2712
|
b.h();
|
|
2713
2713
|
for (let d = 0; d < a.a.length; d++) {
|
|
2714
2714
|
let e = a.a[d];
|
|
2715
2715
|
let f = a.b[d];
|
|
2716
|
-
b.l("public " + this.
|
|
2716
|
+
b.l("public " + this.ao(a, e, f) + " " + this.v(e) + " { get; set; }");
|
|
2717
2717
|
}
|
|
2718
2718
|
b.f();
|
|
2719
2719
|
b.l("}");
|
|
2720
2720
|
}
|
|
2721
|
-
|
|
2721
|
+
am(a) {
|
|
2722
2722
|
switch (a) {
|
|
2723
2723
|
case 1: return "bool";
|
|
2724
2724
|
case 0: return "double";
|
|
@@ -2727,12 +2727,12 @@ export let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (()
|
|
|
2727
2727
|
}
|
|
2728
2728
|
return "object";
|
|
2729
2729
|
}
|
|
2730
|
-
|
|
2730
|
+
ao(a, b, c) {
|
|
2731
2731
|
if (c.d) {
|
|
2732
|
-
return "List<" + a.d + "_" + this.
|
|
2732
|
+
return "List<" + a.d + "_" + this.v(b) + "Item>";
|
|
2733
2733
|
}
|
|
2734
2734
|
else if (c.f) {
|
|
2735
|
-
return a.d + "_" + this.
|
|
2735
|
+
return a.d + "_" + this.v(b);
|
|
2736
2736
|
}
|
|
2737
2737
|
else {
|
|
2738
2738
|
switch (c.c) {
|
|
@@ -2744,20 +2744,20 @@ export let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (()
|
|
|
2744
2744
|
}
|
|
2745
2745
|
return "object";
|
|
2746
2746
|
}
|
|
2747
|
-
|
|
2748
|
-
super.
|
|
2747
|
+
aj(a, b, c, d) {
|
|
2748
|
+
super.aj(a, b, c, d);
|
|
2749
2749
|
d.f();
|
|
2750
2750
|
d.l("}");
|
|
2751
2751
|
d.f();
|
|
2752
2752
|
d.l("}");
|
|
2753
2753
|
}
|
|
2754
|
-
|
|
2755
|
-
super.
|
|
2754
|
+
x(a, b, c, d, e, f) {
|
|
2755
|
+
super.x(a, b, c, d, e, f);
|
|
2756
2756
|
f.j("this.Add(");
|
|
2757
|
-
this.
|
|
2757
|
+
this.aq(this.w(a, true), b, c, d, f);
|
|
2758
2758
|
f.l(");");
|
|
2759
2759
|
}
|
|
2760
|
-
|
|
2760
|
+
aq(a, b, c, d, e) {
|
|
2761
2761
|
if (d == null) {
|
|
2762
2762
|
e.j("null");
|
|
2763
2763
|
return;
|
|
@@ -2772,7 +2772,7 @@ export let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (()
|
|
|
2772
2772
|
if (g > 0) {
|
|
2773
2773
|
e.l(",");
|
|
2774
2774
|
}
|
|
2775
|
-
this.
|
|
2775
|
+
this.aq(a, b, c, f.items[g], e);
|
|
2776
2776
|
}
|
|
2777
2777
|
}
|
|
2778
2778
|
e.f();
|
|
@@ -2794,12 +2794,12 @@ export let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (()
|
|
|
2794
2794
|
}
|
|
2795
2795
|
e.j(j + " = ");
|
|
2796
2796
|
if (k.d) {
|
|
2797
|
-
let l = a + "_" + this.
|
|
2798
|
-
this.
|
|
2797
|
+
let l = a + "_" + this.v(j) + "Item";
|
|
2798
|
+
this.aq(l, k.a, k.b, h.item(j), e);
|
|
2799
2799
|
}
|
|
2800
2800
|
else if (k.f) {
|
|
2801
|
-
let m = a + "_" + this.
|
|
2802
|
-
this.
|
|
2801
|
+
let m = a + "_" + this.v(j);
|
|
2802
|
+
this.aq(m, k.a, k.b, h.item(j), e);
|
|
2803
2803
|
}
|
|
2804
2804
|
else {
|
|
2805
2805
|
let n = h.item(j);
|
|
@@ -2829,7 +2829,7 @@ export let DotNetCodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (()
|
|
|
2829
2829
|
}
|
|
2830
2830
|
return "";
|
|
2831
2831
|
}
|
|
2832
|
-
|
|
2832
|
+
an(a) {
|
|
2833
2833
|
switch (a.e) {
|
|
2834
2834
|
case 1: return (a.value ? "true" : "false");
|
|
2835
2835
|
case 0: return (a.value.toString());
|
|
@@ -3246,7 +3246,7 @@ export let CodeGeneratingComponentRenderer = /*@__PURE__*/ (() => {
|
|
|
3246
3246
|
}
|
|
3247
3247
|
{
|
|
3248
3248
|
let n = this.dr(this.dw, b);
|
|
3249
|
-
n.
|
|
3249
|
+
n.ab(this.d1);
|
|
3250
3250
|
}
|
|
3251
3251
|
let o = this.ds(this.dw, b);
|
|
3252
3252
|
let p = new List$1(String_$type, 0);
|