igniteui-angular-core 14.0.0 → 14.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-core.umd.js +960 -730
- package/bundles/igniteui-angular-core.umd.min.js +1 -1
- package/esm2015/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
- package/esm2015/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +382 -314
- package/esm2015/lib/CodeGeneratingComponentRendererDataEmitter.js +2 -2
- package/esm2015/lib/CodeGeneratingComponentRendererHandlerEmitter.js +2 -2
- package/esm2015/lib/CodeGeneratingComponentRendererModuleEmitter.js +14 -11
- package/esm2015/lib/CodeGeneratingRendererResult.js +56 -44
- package/esm2015/lib/CodeGenerationFolderTemplate.js +41 -37
- package/esm2015/lib/ComponentRendererAdapter.js +3 -0
- package/esm2015/lib/ComponentRenderer_combined.js +1 -1
- package/esm2015/lib/DescriptionSerializer.js +70 -56
- package/esm2015/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
- package/esm2015/lib/StackedFragmentSeriesDescription.js +121 -121
- package/esm2015/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
- package/esm2015/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
- package/esm2015/lib/WebTreeSelectionOptionsEventArgsDescription.js +3 -3
- package/esm2015/lib/WebTreeSelectionOptionsEventArgsDescriptionMetadata.js +3 -1
- package/esm2015/lib/WebTreeSelectionOptionsEventDetailDescription.js +36 -0
- package/esm2015/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.js +38 -0
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
- package/esm5/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +449 -363
- package/esm5/lib/CodeGeneratingComponentRendererDataEmitter.js +2 -2
- package/esm5/lib/CodeGeneratingComponentRendererHandlerEmitter.js +2 -2
- package/esm5/lib/CodeGeneratingComponentRendererModuleEmitter.js +18 -11
- package/esm5/lib/CodeGeneratingRendererResult.js +95 -66
- package/esm5/lib/CodeGenerationFolderTemplate.js +40 -36
- package/esm5/lib/ComponentRendererAdapter.js +3 -0
- package/esm5/lib/ComponentRenderer_combined.js +1 -1
- package/esm5/lib/DescriptionSerializer.js +70 -56
- package/esm5/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
- package/esm5/lib/StackedFragmentSeriesDescription.js +120 -120
- package/esm5/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
- package/esm5/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
- package/esm5/lib/WebTreeSelectionOptionsEventArgsDescription.js +2 -2
- package/esm5/lib/WebTreeSelectionOptionsEventArgsDescriptionMetadata.js +3 -1
- package/esm5/lib/WebTreeSelectionOptionsEventDetailDescription.js +46 -0
- package/esm5/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.js +42 -0
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-angular-core.js +837 -658
- package/fesm5/igniteui-angular-core.js +959 -731
- package/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.d.ts +3 -3
- package/lib/CodeGeneratingComponentRendererCodeEmitter_combined.d.ts +120 -114
- package/lib/CodeGeneratingComponentRendererModuleEmitter.d.ts +6 -5
- package/lib/CodeGeneratingRendererResult.d.ts +15 -12
- package/lib/DescriptionSerializer.d.ts +7 -6
- package/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
- package/lib/StackedFragmentSeriesDescription.d.ts +46 -46
- package/lib/TSCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
- package/lib/WebTreeSelectionOptionsEventArgsDescription.d.ts +3 -3
- package/lib/WebTreeSelectionOptionsEventDetailDescription.d.ts +17 -0
- package/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.d.ts +13 -0
- package/package.json +1 -1
- package/public_api.d.ts +2 -0
|
@@ -40,16 +40,16 @@ var CodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE__*/ (fu
|
|
|
40
40
|
var _this = _super.call(this) || this;
|
|
41
41
|
_this.k = null;
|
|
42
42
|
_this.i = null;
|
|
43
|
-
_this.
|
|
43
|
+
_this.t = new List$1(CodeGenerationItemBuilderPropertyInfo.$, 0);
|
|
44
44
|
_this.d = null;
|
|
45
45
|
_this.a = null;
|
|
46
46
|
_this.c = null;
|
|
47
47
|
_this.b = null;
|
|
48
|
-
_this.
|
|
49
|
-
_this.
|
|
50
|
-
_this.
|
|
51
|
-
_this.
|
|
52
|
-
_this.
|
|
48
|
+
_this.u = new List$1(String_$type, 0);
|
|
49
|
+
_this.x = new Stack$1(String_$type);
|
|
50
|
+
_this.v = new Stack$1(String_$type);
|
|
51
|
+
_this.w = new Stack$1(Boolean_$type);
|
|
52
|
+
_this.aq = null;
|
|
53
53
|
_this.k = a;
|
|
54
54
|
_this.i = b;
|
|
55
55
|
_this.d = new CodeGeneratingCodeWriter(_this.k);
|
|
@@ -58,8 +58,8 @@ var CodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE__*/ (fu
|
|
|
58
58
|
_this.b = new CodeGeneratingCodeWriter(_this.k);
|
|
59
59
|
return _this;
|
|
60
60
|
}
|
|
61
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
62
|
-
this.i.
|
|
61
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.a8 = function (a) {
|
|
62
|
+
this.i.ae(a);
|
|
63
63
|
};
|
|
64
64
|
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "j", {
|
|
65
65
|
get: function () {
|
|
@@ -96,8 +96,8 @@ var CodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE__*/ (fu
|
|
|
96
96
|
enumerable: false,
|
|
97
97
|
configurable: true
|
|
98
98
|
});
|
|
99
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
100
|
-
this.
|
|
99
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.at = function (a) {
|
|
100
|
+
this.u.add(a);
|
|
101
101
|
};
|
|
102
102
|
CodeGeneratingComponentRendererCodeEmitter.prototype.n = function (a) {
|
|
103
103
|
if (a.b != null && (a.b.knownType == 20 || a.b.knownType == 19 || a.b.knownType == 18)) {
|
|
@@ -107,43 +107,51 @@ var CodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE__*/ (fu
|
|
|
107
107
|
}
|
|
108
108
|
return false;
|
|
109
109
|
};
|
|
110
|
-
|
|
110
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.p = function (a) {
|
|
111
|
+
if (a.b != null && (a.b.knownType == 19)) {
|
|
112
|
+
if (a.a != null) {
|
|
113
|
+
return true;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return false;
|
|
117
|
+
};
|
|
118
|
+
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "ae", {
|
|
111
119
|
get: function () {
|
|
112
|
-
return this.
|
|
120
|
+
return this.x.d();
|
|
113
121
|
},
|
|
114
122
|
enumerable: false,
|
|
115
123
|
configurable: true
|
|
116
124
|
});
|
|
117
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
118
|
-
this.
|
|
119
|
-
};
|
|
120
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.a6 = function () {
|
|
125
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.au = function (a) {
|
|
126
|
+
this.x.h(a);
|
|
121
127
|
};
|
|
122
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
123
|
-
this.w.e();
|
|
128
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.a7 = function () {
|
|
124
129
|
};
|
|
125
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
130
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.a2 = function (a) {
|
|
131
|
+
this.x.e();
|
|
126
132
|
};
|
|
127
133
|
CodeGeneratingComponentRendererCodeEmitter.prototype.a0 = function (a, b, c, d) {
|
|
128
|
-
|
|
134
|
+
};
|
|
135
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.a1 = function (a, b, c, d) {
|
|
136
|
+
this.a0(a, b, c, d);
|
|
129
137
|
};
|
|
130
138
|
CodeGeneratingComponentRendererCodeEmitter.prototype.toString = function () {
|
|
131
139
|
return this.d.toString();
|
|
132
140
|
};
|
|
133
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
141
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.am = function () {
|
|
134
142
|
return "null";
|
|
135
143
|
};
|
|
136
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
144
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.ap = function (a, b) {
|
|
137
145
|
if (a.b == null) {
|
|
138
146
|
return a.c;
|
|
139
147
|
}
|
|
140
148
|
if (typeCast(CodeGenerationSpecialValue.$, a.c) !== null) {
|
|
141
|
-
a.c = this.
|
|
149
|
+
a.c = this.y(a);
|
|
142
150
|
}
|
|
143
151
|
switch (a.b.knownType) {
|
|
144
|
-
case 10: return this.
|
|
152
|
+
case 10: return this.af(a);
|
|
145
153
|
case 7: return a.c ? "true" : "false";
|
|
146
|
-
case 4: return this.
|
|
154
|
+
case 4: return this.aa(a);
|
|
147
155
|
case 6:
|
|
148
156
|
{
|
|
149
157
|
var c = "";
|
|
@@ -152,13 +160,13 @@ var CodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE__*/ (fu
|
|
|
152
160
|
if (e >= 1) {
|
|
153
161
|
c += " ";
|
|
154
162
|
}
|
|
155
|
-
c += this.
|
|
163
|
+
c += this.z(d.item(e));
|
|
156
164
|
}
|
|
157
165
|
return c;
|
|
158
166
|
}
|
|
159
167
|
break;
|
|
160
168
|
case 9: throw new NotSupportedException(1, "shouldn't get here");
|
|
161
|
-
case 5: return this.
|
|
169
|
+
case 5: return this.ac(a);
|
|
162
170
|
case 16:
|
|
163
171
|
{
|
|
164
172
|
var f = "";
|
|
@@ -167,44 +175,44 @@ var CodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE__*/ (fu
|
|
|
167
175
|
if (h >= 1) {
|
|
168
176
|
f += " ";
|
|
169
177
|
}
|
|
170
|
-
f += this.
|
|
178
|
+
f += this.ab(g.item(h));
|
|
171
179
|
}
|
|
172
180
|
return f;
|
|
173
181
|
}
|
|
174
182
|
break;
|
|
175
183
|
case 20:
|
|
176
184
|
if (a.a != null) {
|
|
177
|
-
return this.
|
|
185
|
+
return this.ao(a);
|
|
178
186
|
}
|
|
179
187
|
if (a.c == null) {
|
|
180
|
-
return this.
|
|
188
|
+
return this.am();
|
|
181
189
|
}
|
|
182
190
|
break;
|
|
183
191
|
case 15: throw new NotSupportedException(1, "need to figure this out");
|
|
184
192
|
case 3: throw new NotSupportedException(1, "need to figure this out");
|
|
185
193
|
case 19:
|
|
186
194
|
if (a.a != null) {
|
|
187
|
-
return this.
|
|
195
|
+
return this.aj(a);
|
|
188
196
|
}
|
|
189
197
|
else {
|
|
190
|
-
return this.
|
|
198
|
+
return this.am();
|
|
191
199
|
}
|
|
192
200
|
break;
|
|
193
201
|
case 8:
|
|
194
202
|
if (a.b.specificExternalType == "string") {
|
|
195
|
-
return this.
|
|
203
|
+
return this.ai(a);
|
|
196
204
|
}
|
|
197
205
|
if (a.a != null) {
|
|
198
|
-
return this.
|
|
206
|
+
return this.ak(a);
|
|
199
207
|
}
|
|
200
208
|
throw new NotSupportedException(1, "shouldn't get here");
|
|
201
209
|
case 13: throw new NotSupportedException(1, "shouldn't get here");
|
|
202
210
|
case 18:
|
|
203
211
|
if (a.a != null) {
|
|
204
|
-
return this.
|
|
212
|
+
return this.al(a);
|
|
205
213
|
}
|
|
206
214
|
else {
|
|
207
|
-
return this.
|
|
215
|
+
return this.am();
|
|
208
216
|
}
|
|
209
217
|
break;
|
|
210
218
|
case 1: return a.c.toString();
|
|
@@ -223,7 +231,7 @@ var CodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE__*/ (fu
|
|
|
223
231
|
var k = a.c;
|
|
224
232
|
return k.width + ", " + k.height;
|
|
225
233
|
}
|
|
226
|
-
case 2: return a.c != null ? a.c.toString() : this.
|
|
234
|
+
case 2: return a.c != null ? a.c.toString() : this.am();
|
|
227
235
|
case 21: return a.c.toString();
|
|
228
236
|
case 17:
|
|
229
237
|
if (a.c == null) {
|
|
@@ -237,22 +245,22 @@ var CodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE__*/ (fu
|
|
|
237
245
|
}
|
|
238
246
|
return "";
|
|
239
247
|
};
|
|
240
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
248
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.af = function (a) {
|
|
241
249
|
return "";
|
|
242
250
|
};
|
|
243
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
251
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.y = function (a) {
|
|
244
252
|
return a.c;
|
|
245
253
|
};
|
|
246
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
254
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.ao = function (a) {
|
|
247
255
|
if (!stringIsNullOrEmpty(a.a.e)) {
|
|
248
256
|
if (a.a.a) {
|
|
249
|
-
return this.
|
|
257
|
+
return this.ah(a);
|
|
250
258
|
}
|
|
251
259
|
else {
|
|
252
|
-
return this.
|
|
260
|
+
return this.an(a);
|
|
253
261
|
}
|
|
254
262
|
}
|
|
255
|
-
return this.
|
|
263
|
+
return this.am();
|
|
256
264
|
};
|
|
257
265
|
CodeGeneratingComponentRendererCodeEmitter.prototype.o = function (a) {
|
|
258
266
|
if (a.a != null && !stringIsNullOrEmpty(a.a.e)) {
|
|
@@ -262,122 +270,122 @@ var CodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE__*/ (fu
|
|
|
262
270
|
}
|
|
263
271
|
return false;
|
|
264
272
|
};
|
|
265
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
273
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.an = function (a) {
|
|
266
274
|
return "";
|
|
267
275
|
};
|
|
268
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
276
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.ah = function (a) {
|
|
269
277
|
return "";
|
|
270
278
|
};
|
|
271
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
279
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.ak = function (a) {
|
|
272
280
|
if (!stringIsNullOrEmpty(a.a.e)) {
|
|
273
281
|
return a.a.e;
|
|
274
282
|
}
|
|
275
|
-
return this.
|
|
283
|
+
return this.am();
|
|
276
284
|
};
|
|
277
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
285
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.ai = function (a) {
|
|
278
286
|
return a.c != null ? a.c.toString() : "";
|
|
279
287
|
};
|
|
280
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
281
|
-
return this.
|
|
288
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.al = function (a) {
|
|
289
|
+
return this.aj(a);
|
|
282
290
|
};
|
|
283
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
291
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.aj = function (a) {
|
|
284
292
|
if (!stringIsNullOrEmpty(a.a.e)) {
|
|
285
|
-
this.
|
|
293
|
+
this.a8(a);
|
|
286
294
|
return a.a.e;
|
|
287
295
|
}
|
|
288
|
-
return this.
|
|
296
|
+
return this.am();
|
|
289
297
|
};
|
|
290
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
298
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.get_r = function () {
|
|
291
299
|
return false;
|
|
292
300
|
};
|
|
293
|
-
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "
|
|
301
|
+
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "r", {
|
|
294
302
|
get: function () {
|
|
295
|
-
return this.
|
|
303
|
+
return this.get_r();
|
|
296
304
|
},
|
|
297
305
|
enumerable: false,
|
|
298
306
|
configurable: true
|
|
299
307
|
});
|
|
300
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
308
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.ac = function (a) {
|
|
301
309
|
var b = a.c;
|
|
302
|
-
return ColorUtil.i(b, this.
|
|
310
|
+
return ColorUtil.i(b, this.r);
|
|
303
311
|
};
|
|
304
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
312
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.ab = function (a) {
|
|
305
313
|
var b = a;
|
|
306
|
-
return ColorUtil.i(b, this.
|
|
314
|
+
return ColorUtil.i(b, this.r);
|
|
307
315
|
};
|
|
308
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
316
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.aa = function (a) {
|
|
309
317
|
if (a.c == null) {
|
|
310
318
|
return "";
|
|
311
319
|
}
|
|
312
320
|
var b = a.c;
|
|
313
|
-
return ColorUtil.i(b.color, this.
|
|
321
|
+
return ColorUtil.i(b.color, this.r);
|
|
314
322
|
};
|
|
315
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
323
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.z = function (a) {
|
|
316
324
|
if (a == null) {
|
|
317
325
|
return "";
|
|
318
326
|
}
|
|
319
327
|
var b = a;
|
|
320
|
-
return ColorUtil.i(b.color, this.
|
|
328
|
+
return ColorUtil.i(b.color, this.r);
|
|
321
329
|
};
|
|
322
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
323
|
-
this.
|
|
324
|
-
this.
|
|
330
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.a6 = function (a) {
|
|
331
|
+
this.v.h(a);
|
|
332
|
+
this.w.h(false);
|
|
325
333
|
};
|
|
326
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
327
|
-
var b = this.
|
|
328
|
-
this.
|
|
329
|
-
this.
|
|
334
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.a5 = function (a) {
|
|
335
|
+
var b = this.ag(a);
|
|
336
|
+
this.v.h(b);
|
|
337
|
+
this.w.h(true);
|
|
330
338
|
};
|
|
331
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
332
|
-
var b = stringReplace(stringReplace(a, this.
|
|
339
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.ag = function (a) {
|
|
340
|
+
var b = stringReplace(stringReplace(a, this.ar, ""), "Component", "");
|
|
333
341
|
b = CodeGeneratingComponentRenderer.dp(b);
|
|
334
|
-
return this.i.
|
|
342
|
+
return this.i.u(b);
|
|
335
343
|
};
|
|
336
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
337
|
-
this.u.e();
|
|
344
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.a3 = function () {
|
|
338
345
|
this.v.e();
|
|
346
|
+
this.w.e();
|
|
339
347
|
};
|
|
340
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
348
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.get_ar = function () {
|
|
341
349
|
return "";
|
|
342
350
|
};
|
|
343
|
-
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "
|
|
351
|
+
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "ar", {
|
|
344
352
|
get: function () {
|
|
345
|
-
return this.
|
|
353
|
+
return this.get_ar();
|
|
346
354
|
},
|
|
347
355
|
enumerable: false,
|
|
348
356
|
configurable: true
|
|
349
357
|
});
|
|
350
|
-
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "
|
|
358
|
+
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "ad", {
|
|
351
359
|
get: function () {
|
|
352
|
-
if (this.
|
|
353
|
-
return this.
|
|
360
|
+
if (this.v.f > 0) {
|
|
361
|
+
return this.v.d();
|
|
354
362
|
}
|
|
355
|
-
var a = stringReplace(stringReplace(this.
|
|
363
|
+
var a = stringReplace(stringReplace(this.ae, this.ar, ""), "Component", "");
|
|
356
364
|
return CodeGeneratingComponentRenderer.dp(a);
|
|
357
365
|
},
|
|
358
366
|
enumerable: false,
|
|
359
367
|
configurable: true
|
|
360
368
|
});
|
|
361
|
-
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "
|
|
369
|
+
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "q", {
|
|
362
370
|
get: function () {
|
|
363
|
-
return this.
|
|
371
|
+
return this.x.f == 1;
|
|
364
372
|
},
|
|
365
373
|
enumerable: false,
|
|
366
374
|
configurable: true
|
|
367
375
|
});
|
|
368
376
|
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "l", {
|
|
369
377
|
get: function () {
|
|
370
|
-
if (this.
|
|
378
|
+
if (this.w.f == 0) {
|
|
371
379
|
return false;
|
|
372
380
|
}
|
|
373
|
-
return this.
|
|
381
|
+
return this.w.d();
|
|
374
382
|
},
|
|
375
383
|
enumerable: false,
|
|
376
384
|
configurable: true
|
|
377
385
|
});
|
|
378
386
|
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "m", {
|
|
379
387
|
get: function () {
|
|
380
|
-
if (this.
|
|
388
|
+
if (this.v.f > 0) {
|
|
381
389
|
return true;
|
|
382
390
|
}
|
|
383
391
|
return false;
|
|
@@ -385,43 +393,43 @@ var CodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE__*/ (fu
|
|
|
385
393
|
enumerable: false,
|
|
386
394
|
configurable: true
|
|
387
395
|
});
|
|
388
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
396
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.get_s = function () {
|
|
389
397
|
return true;
|
|
390
398
|
};
|
|
391
|
-
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "
|
|
399
|
+
Object.defineProperty(CodeGeneratingComponentRendererCodeEmitter.prototype, "s", {
|
|
392
400
|
get: function () {
|
|
393
|
-
return this.
|
|
401
|
+
return this.get_s();
|
|
394
402
|
},
|
|
395
403
|
enumerable: false,
|
|
396
404
|
configurable: true
|
|
397
405
|
});
|
|
398
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
399
|
-
this.
|
|
406
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.a4 = function () {
|
|
407
|
+
this.v.e();
|
|
400
408
|
};
|
|
401
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
409
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.aw = function (a) {
|
|
402
410
|
var b = this.f.toString();
|
|
403
411
|
if (b.length > 0) {
|
|
404
412
|
a.l(b);
|
|
405
413
|
}
|
|
406
414
|
};
|
|
407
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
415
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.az = function (a) {
|
|
408
416
|
var b = this.g.toString();
|
|
409
417
|
if (b.length > 0) {
|
|
410
418
|
a.l(b);
|
|
411
419
|
}
|
|
412
420
|
};
|
|
413
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
421
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.av = function (a) {
|
|
414
422
|
var b = this.e.toString();
|
|
415
423
|
if (b.length > 0) {
|
|
416
424
|
a.l(b);
|
|
417
425
|
}
|
|
418
426
|
};
|
|
419
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
420
|
-
if (this.
|
|
421
|
-
this.
|
|
427
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.ax = function (a) {
|
|
428
|
+
if (this.u.count > 0) {
|
|
429
|
+
this.ay(this.u, a);
|
|
422
430
|
}
|
|
423
431
|
};
|
|
424
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
432
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.ay = function (a, b) {
|
|
425
433
|
};
|
|
426
434
|
CodeGeneratingComponentRendererCodeEmitter.$t = markType(CodeGeneratingComponentRendererCodeEmitter, 'CodeGeneratingComponentRendererCodeEmitter');
|
|
427
435
|
return CodeGeneratingComponentRendererCodeEmitter;
|
|
@@ -434,15 +442,15 @@ var BlazorRazorCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
434
442
|
__extends(BlazorRazorCodeGeneratingComponentRendererCodeEmitter, _super);
|
|
435
443
|
function BlazorRazorCodeGeneratingComponentRendererCodeEmitter(a, b) {
|
|
436
444
|
var _this = _super.call(this, a, b) || this;
|
|
437
|
-
_this.
|
|
438
|
-
_this.a8 = new HashSet$1(String_$type, 0);
|
|
445
|
+
_this.bb = 0;
|
|
439
446
|
_this.a9 = new HashSet$1(String_$type, 0);
|
|
447
|
+
_this.ba = new HashSet$1(String_$type, 0);
|
|
440
448
|
return _this;
|
|
441
449
|
}
|
|
442
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
450
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.get_s = function () {
|
|
443
451
|
return false;
|
|
444
452
|
};
|
|
445
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
453
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.bc = function (a, b) {
|
|
446
454
|
if (b.c == null) {
|
|
447
455
|
return "null";
|
|
448
456
|
}
|
|
@@ -457,9 +465,9 @@ var BlazorRazorCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
457
465
|
d += " })";
|
|
458
466
|
return d;
|
|
459
467
|
};
|
|
460
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
468
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.af = function (a) {
|
|
461
469
|
if (a.b.specificExternalType == "string") {
|
|
462
|
-
return this.
|
|
470
|
+
return this.bc(a.b.specificExternalType, a);
|
|
463
471
|
}
|
|
464
472
|
if (a.c == null) {
|
|
465
473
|
return "null";
|
|
@@ -474,38 +482,38 @@ var BlazorRazorCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
474
482
|
}
|
|
475
483
|
return c;
|
|
476
484
|
};
|
|
477
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
478
|
-
_super.prototype.
|
|
485
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.au = function (a) {
|
|
486
|
+
_super.prototype.au.call(this, a);
|
|
479
487
|
this.h.k("<" + a + "");
|
|
480
|
-
if (!this.
|
|
481
|
-
this.
|
|
482
|
-
if (!this.
|
|
483
|
-
this.
|
|
484
|
-
this.
|
|
488
|
+
if (!this.a9.contains(this.ad)) {
|
|
489
|
+
this.a9.add_1(this.ad);
|
|
490
|
+
if (!this.ba.contains(this.ae)) {
|
|
491
|
+
this.ba.add_1(this.ae);
|
|
492
|
+
this.at(this.ae);
|
|
485
493
|
}
|
|
486
|
-
this.f.k("private " + this.
|
|
494
|
+
this.f.k("private " + this.ae + " " + CodeGeneratingComponentRenderer.dp(this.ad) + ";");
|
|
487
495
|
if (!this.m) {
|
|
488
|
-
if (this.
|
|
489
|
-
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.
|
|
496
|
+
if (this.q) {
|
|
497
|
+
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.ad) + " = this." + CodeGeneratingComponentRenderer.dp(this.ad) + ";");
|
|
490
498
|
}
|
|
491
499
|
}
|
|
492
500
|
else {
|
|
493
|
-
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.
|
|
501
|
+
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.ad) + " = this." + CodeGeneratingComponentRenderer.dp(this.ad) + ";");
|
|
494
502
|
}
|
|
495
503
|
}
|
|
496
504
|
};
|
|
497
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
505
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.a7 = function () {
|
|
498
506
|
this.h.k(">");
|
|
499
507
|
this.h.h();
|
|
500
508
|
};
|
|
501
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
509
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.a2 = function (a) {
|
|
502
510
|
this.h.f();
|
|
503
511
|
this.h.k("</" + a + ">");
|
|
504
|
-
_super.prototype.
|
|
512
|
+
_super.prototype.a2.call(this, a);
|
|
505
513
|
};
|
|
506
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
514
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.a0 = function (a, b, c, d) {
|
|
507
515
|
if (c.b != null && d.h(c.b.owningType, CodeGeneratingComponentRenderer.dq(c.b.propertyName)) && this.n(c)) {
|
|
508
|
-
this.
|
|
516
|
+
this.a8(c);
|
|
509
517
|
if (a > 0) {
|
|
510
518
|
this.h.k("");
|
|
511
519
|
}
|
|
@@ -518,29 +526,29 @@ var BlazorRazorCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
518
526
|
return;
|
|
519
527
|
}
|
|
520
528
|
if (this.o(c)) {
|
|
521
|
-
this.
|
|
522
|
-
if (!this.
|
|
523
|
-
this.
|
|
524
|
-
if (!this.
|
|
525
|
-
this.
|
|
526
|
-
this.
|
|
527
|
-
}
|
|
528
|
-
this.f.k("private " + this.
|
|
529
|
+
this.a8(c);
|
|
530
|
+
if (!this.a9.contains(this.ad)) {
|
|
531
|
+
this.a9.add_1(this.ad);
|
|
532
|
+
if (!this.ba.contains(this.ae)) {
|
|
533
|
+
this.ba.add_1(this.ae);
|
|
534
|
+
this.at(this.ae);
|
|
535
|
+
}
|
|
536
|
+
this.f.k("private " + this.ae + " " + CodeGeneratingComponentRenderer.dp(this.ad) + ";");
|
|
529
537
|
if (!this.m) {
|
|
530
|
-
if (this.
|
|
531
|
-
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.
|
|
538
|
+
if (this.q) {
|
|
539
|
+
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.ad) + " = this." + CodeGeneratingComponentRenderer.dp(this.ad) + ";");
|
|
532
540
|
}
|
|
533
541
|
}
|
|
534
542
|
else {
|
|
535
|
-
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.
|
|
543
|
+
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.ad) + " = this." + CodeGeneratingComponentRenderer.dp(this.ad) + ";");
|
|
536
544
|
}
|
|
537
545
|
}
|
|
538
|
-
var e = CodeGeneratingComponentRenderer.dp(this.
|
|
546
|
+
var e = CodeGeneratingComponentRenderer.dp(this.ap(c, true));
|
|
539
547
|
var f = e;
|
|
540
548
|
if (f != "null" && !stringStartsWith(f, "this.")) {
|
|
541
549
|
f = "this." + f;
|
|
542
550
|
}
|
|
543
|
-
this.e.k(CodeGeneratingComponentRenderer.dp(this.
|
|
551
|
+
this.e.k(CodeGeneratingComponentRenderer.dp(this.ad) + "." + b + " = " + f + ";");
|
|
544
552
|
return;
|
|
545
553
|
}
|
|
546
554
|
if (a > 0) {
|
|
@@ -554,19 +562,56 @@ var BlazorRazorCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
554
562
|
this.h.j(b);
|
|
555
563
|
this.h.j("=");
|
|
556
564
|
this.h.j("\"");
|
|
557
|
-
this.h.j(this.
|
|
565
|
+
this.h.j(this.ap(c, true));
|
|
558
566
|
this.h.j("\"");
|
|
559
567
|
}
|
|
560
568
|
if (b == "Name") {
|
|
561
569
|
this.h.k("");
|
|
562
|
-
this.h.j("@ref=\"" + CodeGeneratingComponentRenderer.dp(this.
|
|
570
|
+
this.h.j("@ref=\"" + CodeGeneratingComponentRenderer.dp(this.ap(c, true)) + "\"");
|
|
563
571
|
}
|
|
564
572
|
};
|
|
565
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
573
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.ai = function (a) {
|
|
566
574
|
var b = a.b != null ? a.b.specificType + "." : "";
|
|
567
575
|
return b + (a.c != null ? a.c.toString() : "");
|
|
568
576
|
};
|
|
569
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
577
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.ap = function (a, b) {
|
|
578
|
+
if (a.b == null) {
|
|
579
|
+
return a.c;
|
|
580
|
+
}
|
|
581
|
+
if (typeCast(CodeGenerationSpecialValue.$, a.c) !== null) {
|
|
582
|
+
a.c = this.y(a);
|
|
583
|
+
}
|
|
584
|
+
switch (a.b.knownType) {
|
|
585
|
+
case 11:
|
|
586
|
+
{
|
|
587
|
+
var c = a.c;
|
|
588
|
+
return "@(new Point(" + c.x + ", " + c.y + "))";
|
|
589
|
+
}
|
|
590
|
+
case 14:
|
|
591
|
+
{
|
|
592
|
+
var d = a.c;
|
|
593
|
+
return "@(new Rect(" + d.left + ", " + d.top + ", " + d.width + ", " + d.height + "))";
|
|
594
|
+
}
|
|
595
|
+
case 12:
|
|
596
|
+
{
|
|
597
|
+
var e = a.c;
|
|
598
|
+
return "@(new Size(" + e.width + ", " + e.height + "))";
|
|
599
|
+
}
|
|
600
|
+
case 17:
|
|
601
|
+
if (a.c == null) {
|
|
602
|
+
return "null";
|
|
603
|
+
}
|
|
604
|
+
if (typeof a.c === 'string') {
|
|
605
|
+
return "@(\"" + a.c.toString() + "\")";
|
|
606
|
+
}
|
|
607
|
+
if (typeCast(Boolean_$type, a.c) !== null) {
|
|
608
|
+
return a.c ? "true" : "false";
|
|
609
|
+
}
|
|
610
|
+
return a.c.toString();
|
|
611
|
+
}
|
|
612
|
+
return _super.prototype.ap.call(this, a, b);
|
|
613
|
+
};
|
|
614
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.y = function (a) {
|
|
570
615
|
var b = a.c;
|
|
571
616
|
switch (b.a) {
|
|
572
617
|
case 3: return b.b;
|
|
@@ -576,21 +621,21 @@ var BlazorRazorCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
576
621
|
}
|
|
577
622
|
return b.b;
|
|
578
623
|
};
|
|
579
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
624
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.am = function () {
|
|
580
625
|
return "@null";
|
|
581
626
|
};
|
|
582
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
627
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.ah = function (a) {
|
|
583
628
|
return CodeGeneratingComponentRenderer.dp(CodeGeneratingComponentRenderer.dp(a.a.e));
|
|
584
629
|
};
|
|
585
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
630
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.bd = function (a) {
|
|
586
631
|
a = stringReplace(a, "-", "_");
|
|
587
632
|
return CodeGeneratingComponentRenderer.dq(a);
|
|
588
633
|
};
|
|
589
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
590
|
-
this.
|
|
634
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.an = function (a) {
|
|
635
|
+
this.a8(a);
|
|
591
636
|
return CodeGeneratingComponentRenderer.dq(a.a.e);
|
|
592
637
|
};
|
|
593
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
638
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.a1 = function (a, b, c, d) {
|
|
594
639
|
var e_1, _a;
|
|
595
640
|
if (c.b.knownType == 9) {
|
|
596
641
|
var e = typeCast(IList_$type, c.c);
|
|
@@ -626,7 +671,7 @@ var BlazorRazorCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
626
671
|
}
|
|
627
672
|
}
|
|
628
673
|
};
|
|
629
|
-
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
674
|
+
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.prototype.get_ar = function () {
|
|
630
675
|
return "Igb";
|
|
631
676
|
};
|
|
632
677
|
BlazorRazorCodeGeneratingComponentRendererCodeEmitter.$t = markType(BlazorRazorCodeGeneratingComponentRendererCodeEmitter, 'BlazorRazorCodeGeneratingComponentRendererCodeEmitter', CodeGeneratingComponentRendererCodeEmitter.$);
|
|
@@ -641,7 +686,7 @@ var BlazorCodeBehindCodeGeneratingComponentRendererCodeEmitter = /** @class */ /
|
|
|
641
686
|
function BlazorCodeBehindCodeGeneratingComponentRendererCodeEmitter(a, b) {
|
|
642
687
|
return _super.call(this, a, b) || this;
|
|
643
688
|
}
|
|
644
|
-
BlazorCodeBehindCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
689
|
+
BlazorCodeBehindCodeGeneratingComponentRendererCodeEmitter.prototype.get_s = function () {
|
|
645
690
|
return false;
|
|
646
691
|
};
|
|
647
692
|
BlazorCodeBehindCodeGeneratingComponentRendererCodeEmitter.$t = markType(BlazorCodeBehindCodeGeneratingComponentRendererCodeEmitter, 'BlazorCodeBehindCodeGeneratingComponentRendererCodeEmitter', CodeGeneratingComponentRendererCodeEmitter.$);
|
|
@@ -655,11 +700,11 @@ var ReactMarkupCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
655
700
|
__extends(ReactMarkupCodeGeneratingComponentRendererCodeEmitter, _super);
|
|
656
701
|
function ReactMarkupCodeGeneratingComponentRendererCodeEmitter(a, b) {
|
|
657
702
|
var _this = _super.call(this, a, b) || this;
|
|
658
|
-
_this.a8 = new HashSet$1(String_$type, 0);
|
|
659
703
|
_this.a9 = new HashSet$1(String_$type, 0);
|
|
704
|
+
_this.ba = new HashSet$1(String_$type, 0);
|
|
660
705
|
return _this;
|
|
661
706
|
}
|
|
662
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
707
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.af = function (a) {
|
|
663
708
|
if (a.c == null) {
|
|
664
709
|
return "{null}";
|
|
665
710
|
}
|
|
@@ -674,43 +719,43 @@ var ReactMarkupCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
674
719
|
c += "]";
|
|
675
720
|
return c;
|
|
676
721
|
};
|
|
677
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
722
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.get_r = function () {
|
|
678
723
|
return true;
|
|
679
724
|
};
|
|
680
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
725
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.get_ar = function () {
|
|
681
726
|
return "Igr";
|
|
682
727
|
};
|
|
683
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
684
|
-
_super.prototype.
|
|
685
|
-
this.h.k("<" + this.
|
|
728
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.au = function (a) {
|
|
729
|
+
_super.prototype.au.call(this, a);
|
|
730
|
+
this.h.k("<" + this.bc(a) + "");
|
|
686
731
|
this.h.h();
|
|
687
|
-
if (!this.
|
|
688
|
-
this.
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
this.f.k("private " + CodeGeneratingComponentRenderer.dp(this.
|
|
694
|
-
if (this.
|
|
695
|
-
this.f.k("private " + CodeGeneratingComponentRenderer.dp(this.
|
|
732
|
+
if (!this.ba.contains(this.ae)) {
|
|
733
|
+
this.ba.add_1(this.ae);
|
|
734
|
+
this.at(this.ae);
|
|
735
|
+
}
|
|
736
|
+
if (!this.a9.contains(this.ad)) {
|
|
737
|
+
this.a9.add_1(this.ad);
|
|
738
|
+
this.f.k("private " + CodeGeneratingComponentRenderer.dp(this.ad) + ": " + this.ae);
|
|
739
|
+
if (this.q) {
|
|
740
|
+
this.f.k("private " + CodeGeneratingComponentRenderer.dp(this.ad) + "Ref(r: " + this.ae + ") {");
|
|
696
741
|
this.f.h();
|
|
697
|
-
this.f.k("this." + CodeGeneratingComponentRenderer.dp(this.
|
|
742
|
+
this.f.k("this." + CodeGeneratingComponentRenderer.dp(this.ad) + " = r;");
|
|
698
743
|
this.f.k("this.setState({});");
|
|
699
744
|
this.f.f();
|
|
700
745
|
this.f.k("}");
|
|
701
|
-
this.g.k("this." + CodeGeneratingComponentRenderer.dp(this.
|
|
746
|
+
this.g.k("this." + CodeGeneratingComponentRenderer.dp(this.ad) + "Ref = " + "this." + CodeGeneratingComponentRenderer.dp(this.ad) + "Ref.bind(this);");
|
|
702
747
|
}
|
|
703
748
|
}
|
|
704
749
|
};
|
|
705
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
750
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.bc = function (a) {
|
|
706
751
|
if (stringEndsWith(a, "Component")) {
|
|
707
752
|
a = a.substr(0, a.length - ("Component").length);
|
|
708
753
|
}
|
|
709
754
|
return CodeGeneratingComponentRenderer.dq(a);
|
|
710
755
|
};
|
|
711
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
712
|
-
if (!this.
|
|
713
|
-
var a = this.
|
|
756
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.a7 = function () {
|
|
757
|
+
if (!this.q && !this.m) {
|
|
758
|
+
var a = this.bb();
|
|
714
759
|
this.h.k("");
|
|
715
760
|
this.h.k("name=\"" + a + "\"");
|
|
716
761
|
}
|
|
@@ -718,31 +763,31 @@ var ReactMarkupCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
718
763
|
this.h.k(">");
|
|
719
764
|
this.h.h();
|
|
720
765
|
};
|
|
721
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
722
|
-
var a = CodeGeneratingComponentRenderer.dp(stringReplace(stringReplace(this.
|
|
723
|
-
a = this.j.
|
|
766
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.bb = function () {
|
|
767
|
+
var a = CodeGeneratingComponentRenderer.dp(stringReplace(stringReplace(this.ae, this.ar, ""), "Component", ""));
|
|
768
|
+
a = this.j.t(a);
|
|
724
769
|
return a;
|
|
725
770
|
};
|
|
726
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
771
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.aj = function (a) {
|
|
727
772
|
if (!stringIsNullOrEmpty(a.a.e)) {
|
|
728
|
-
this.
|
|
729
|
-
if (!this.
|
|
773
|
+
this.a8(a);
|
|
774
|
+
if (!this.a9.contains(a.a.e)) {
|
|
730
775
|
this.g.k("this." + CodeGeneratingComponentRenderer.dp(a.a.e) + " = " + "this." + CodeGeneratingComponentRenderer.dp(a.a.e) + ".bind(this);");
|
|
731
776
|
}
|
|
732
777
|
return "this." + CodeGeneratingComponentRenderer.dp(a.a.e);
|
|
733
778
|
}
|
|
734
|
-
return this.
|
|
779
|
+
return this.am();
|
|
735
780
|
};
|
|
736
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
781
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.a2 = function (a) {
|
|
737
782
|
this.h.f();
|
|
738
|
-
this.h.k("</" + this.
|
|
739
|
-
_super.prototype.
|
|
783
|
+
this.h.k("</" + this.bc(a) + ">");
|
|
784
|
+
_super.prototype.a2.call(this, a);
|
|
740
785
|
};
|
|
741
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
786
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.a0 = function (a, b, c, d) {
|
|
742
787
|
var e = CodeGeneratingComponentRenderer.dp(b);
|
|
743
|
-
var f = this.
|
|
788
|
+
var f = this.ap(c, true);
|
|
744
789
|
if (c.b != null && d.h(c.b.owningType, CodeGeneratingComponentRenderer.dq(c.b.propertyName)) && this.n(c)) {
|
|
745
|
-
this.
|
|
790
|
+
this.a8(c);
|
|
746
791
|
if (a > 0) {
|
|
747
792
|
this.h.k("");
|
|
748
793
|
}
|
|
@@ -754,10 +799,10 @@ var ReactMarkupCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
754
799
|
}
|
|
755
800
|
return;
|
|
756
801
|
}
|
|
757
|
-
if (!(e == "name") || !this.
|
|
802
|
+
if (!(e == "name") || !this.q) {
|
|
758
803
|
var g = (c.b != null && c.b.knownType == 10);
|
|
759
804
|
if (this.n(c) || g) {
|
|
760
|
-
this.
|
|
805
|
+
this.a8(c);
|
|
761
806
|
f = "{" + f + "}";
|
|
762
807
|
}
|
|
763
808
|
if (a > 0) {
|
|
@@ -775,15 +820,15 @@ var ReactMarkupCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
775
820
|
a++;
|
|
776
821
|
}
|
|
777
822
|
if (e == "name") {
|
|
778
|
-
if (this.
|
|
823
|
+
if (this.q) {
|
|
779
824
|
if (a > 0) {
|
|
780
825
|
this.h.k("");
|
|
781
826
|
}
|
|
782
|
-
this.h.j("ref={this." + CodeGeneratingComponentRenderer.dp(this.
|
|
827
|
+
this.h.j("ref={this." + CodeGeneratingComponentRenderer.dp(this.ap(c, true)) + "Ref}");
|
|
783
828
|
}
|
|
784
829
|
}
|
|
785
830
|
};
|
|
786
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
831
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.y = function (a) {
|
|
787
832
|
var b = a.c;
|
|
788
833
|
switch (b.a) {
|
|
789
834
|
case 3: return b.b;
|
|
@@ -793,16 +838,16 @@ var ReactMarkupCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
793
838
|
}
|
|
794
839
|
return b.b;
|
|
795
840
|
};
|
|
796
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
841
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.am = function () {
|
|
797
842
|
return "null";
|
|
798
843
|
};
|
|
799
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
844
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.ah = function (a) {
|
|
800
845
|
return "this." + CodeGeneratingComponentRenderer.dp(a.a.e);
|
|
801
846
|
};
|
|
802
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
847
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.an = function (a) {
|
|
803
848
|
return "this." + CodeGeneratingComponentRenderer.dp(a.a.e);
|
|
804
849
|
};
|
|
805
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
850
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.a1 = function (a, b, c, d) {
|
|
806
851
|
var e_2, _a;
|
|
807
852
|
if (c.b.knownType == 9) {
|
|
808
853
|
var e = typeCast(IList_$type, c.c);
|
|
@@ -838,13 +883,13 @@ var ReactMarkupCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__P
|
|
|
838
883
|
}
|
|
839
884
|
}
|
|
840
885
|
};
|
|
841
|
-
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
886
|
+
ReactMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.ay = function (a, b) {
|
|
842
887
|
var e_3, _a;
|
|
843
|
-
_super.prototype.
|
|
888
|
+
_super.prototype.ay.call(this, a, b);
|
|
844
889
|
try {
|
|
845
890
|
for (var _b = __values(fromEnum(a)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
846
891
|
var c = _c.value;
|
|
847
|
-
b.addPackageImport("igniteui-react-" + this.
|
|
892
|
+
b.addPackageImport("igniteui-react-" + this.aq, c);
|
|
848
893
|
}
|
|
849
894
|
}
|
|
850
895
|
catch (e_3_1) {
|
|
@@ -884,12 +929,12 @@ var WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter = /** @class *
|
|
|
884
929
|
__extends(WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter, _super);
|
|
885
930
|
function WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter(a, b) {
|
|
886
931
|
var _this = _super.call(this, a, b) || this;
|
|
887
|
-
_this.
|
|
888
|
-
_this.a8 = new HashSet$1(String_$type, 0);
|
|
932
|
+
_this.bb = 0;
|
|
889
933
|
_this.a9 = new HashSet$1(String_$type, 0);
|
|
934
|
+
_this.ba = new HashSet$1(String_$type, 0);
|
|
890
935
|
return _this;
|
|
891
936
|
}
|
|
892
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
937
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.af = function (a) {
|
|
893
938
|
if (a.c == null) {
|
|
894
939
|
return "null";
|
|
895
940
|
}
|
|
@@ -903,54 +948,54 @@ var WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter = /** @class *
|
|
|
903
948
|
}
|
|
904
949
|
return c;
|
|
905
950
|
};
|
|
906
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
951
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.get_r = function () {
|
|
907
952
|
return true;
|
|
908
953
|
};
|
|
909
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
910
|
-
_super.prototype.
|
|
911
|
-
this.h.k("<" + this.
|
|
912
|
-
if (!this.
|
|
913
|
-
this.
|
|
914
|
-
if (!this.
|
|
915
|
-
this.
|
|
916
|
-
this.
|
|
954
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.au = function (a) {
|
|
955
|
+
_super.prototype.au.call(this, a);
|
|
956
|
+
this.h.k("<" + this.bc(a) + "");
|
|
957
|
+
if (!this.a9.contains(this.ad)) {
|
|
958
|
+
this.a9.add_1(this.ad);
|
|
959
|
+
if (!this.ba.contains(this.ae)) {
|
|
960
|
+
this.ba.add_1(this.ae);
|
|
961
|
+
this.at(this.ae);
|
|
917
962
|
}
|
|
918
|
-
this.f.k("private " + CodeGeneratingComponentRenderer.dp(this.
|
|
963
|
+
this.f.k("private " + CodeGeneratingComponentRenderer.dp(this.ad) + ": " + this.ae);
|
|
919
964
|
if (!this.m) {
|
|
920
|
-
if (this.
|
|
921
|
-
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.
|
|
965
|
+
if (this.q) {
|
|
966
|
+
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.ad) + " = this." + CodeGeneratingComponentRenderer.dp(this.ad) + " = document.querySelector('" + CodeGeneratingComponentRenderer.dr(stringReplace(this.ae, "Component", "")) + "') as " + this.ae + ";");
|
|
922
967
|
}
|
|
923
968
|
}
|
|
924
969
|
else {
|
|
925
|
-
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.
|
|
970
|
+
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.ad) + " = this." + CodeGeneratingComponentRenderer.dp(this.ad) + " = document.getElementById('" + this.ad + "') as " + this.ae + ";");
|
|
926
971
|
}
|
|
927
972
|
}
|
|
928
973
|
};
|
|
929
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
974
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.bc = function (a) {
|
|
930
975
|
if (stringEndsWith(a, "Component")) {
|
|
931
976
|
a = a.substr(0, a.length - ("Component").length);
|
|
932
977
|
}
|
|
933
978
|
return CodeGeneratingComponentRenderer.dr(a);
|
|
934
979
|
};
|
|
935
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
980
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.a7 = function () {
|
|
936
981
|
this.h.k(">");
|
|
937
982
|
this.h.h();
|
|
938
983
|
};
|
|
939
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
984
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.a2 = function (a) {
|
|
940
985
|
this.h.f();
|
|
941
|
-
this.h.k("</" + this.
|
|
942
|
-
_super.prototype.
|
|
986
|
+
this.h.k("</" + this.bc(a) + ">");
|
|
987
|
+
_super.prototype.a2.call(this, a);
|
|
943
988
|
};
|
|
944
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
989
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.get_ar = function () {
|
|
945
990
|
return "Igc";
|
|
946
991
|
};
|
|
947
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
992
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.ay = function (a, b) {
|
|
948
993
|
var e_4, _a;
|
|
949
|
-
_super.prototype.
|
|
994
|
+
_super.prototype.ay.call(this, a, b);
|
|
950
995
|
try {
|
|
951
996
|
for (var _b = __values(fromEnum(a)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
952
997
|
var c = _c.value;
|
|
953
|
-
b.addPackageImport("igniteui-webcomponents-" + this.
|
|
998
|
+
b.addPackageImport("igniteui-webcomponents-" + this.aq, c);
|
|
954
999
|
}
|
|
955
1000
|
}
|
|
956
1001
|
catch (e_4_1) {
|
|
@@ -967,32 +1012,32 @@ var WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter = /** @class *
|
|
|
967
1012
|
}
|
|
968
1013
|
}
|
|
969
1014
|
};
|
|
970
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1015
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.a0 = function (a, b, c, d) {
|
|
971
1016
|
var e = CodeGeneratingComponentRenderer.dp(b);
|
|
972
1017
|
if (this.n(c)) {
|
|
973
|
-
this.
|
|
974
|
-
if (!this.
|
|
975
|
-
this.
|
|
976
|
-
if (!this.
|
|
977
|
-
this.
|
|
978
|
-
this.
|
|
979
|
-
}
|
|
980
|
-
this.f.k("private " + CodeGeneratingComponentRenderer.dp(this.
|
|
1018
|
+
this.a8(c);
|
|
1019
|
+
if (!this.a9.contains(this.ad)) {
|
|
1020
|
+
this.a9.add_1(this.ad);
|
|
1021
|
+
if (!this.ba.contains(this.ae)) {
|
|
1022
|
+
this.ba.add_1(this.ae);
|
|
1023
|
+
this.at(this.ae);
|
|
1024
|
+
}
|
|
1025
|
+
this.f.k("private " + CodeGeneratingComponentRenderer.dp(this.ad) + ": " + this.ae);
|
|
981
1026
|
if (!this.m) {
|
|
982
|
-
if (this.
|
|
983
|
-
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.
|
|
1027
|
+
if (this.q) {
|
|
1028
|
+
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.ad) + " = this." + CodeGeneratingComponentRenderer.dp(this.ad) + " = document.querySelector('" + CodeGeneratingComponentRenderer.dr(stringReplace(this.ae, "Component", "")) + "') as " + this.ae + ";");
|
|
984
1029
|
}
|
|
985
1030
|
}
|
|
986
1031
|
else {
|
|
987
|
-
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.
|
|
1032
|
+
this.g.k("var " + CodeGeneratingComponentRenderer.dp(this.ad) + " = this." + CodeGeneratingComponentRenderer.dp(this.ad) + " = document.getElementById('" + this.ad + "') as " + this.ae + ";");
|
|
988
1033
|
}
|
|
989
1034
|
}
|
|
990
|
-
var f = CodeGeneratingComponentRenderer.dp(this.
|
|
1035
|
+
var f = CodeGeneratingComponentRenderer.dp(this.ap(c, true));
|
|
991
1036
|
var g = f;
|
|
992
1037
|
if (g != "null" && !stringStartsWith(g, "this.")) {
|
|
993
1038
|
g = "this." + g;
|
|
994
1039
|
}
|
|
995
|
-
this.e.k(CodeGeneratingComponentRenderer.dp(this.
|
|
1040
|
+
this.e.k(CodeGeneratingComponentRenderer.dp(this.ad) + "." + e + " = " + g);
|
|
996
1041
|
return;
|
|
997
1042
|
}
|
|
998
1043
|
if (a > 0) {
|
|
@@ -1001,14 +1046,14 @@ var WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter = /** @class *
|
|
|
1001
1046
|
this.h.j(CodeGeneratingComponentRenderer.dr(e));
|
|
1002
1047
|
this.h.j("=");
|
|
1003
1048
|
this.h.j("\"");
|
|
1004
|
-
this.h.j(this.
|
|
1049
|
+
this.h.j(this.ap(c, true));
|
|
1005
1050
|
this.h.j("\"");
|
|
1006
1051
|
if (e == "name") {
|
|
1007
1052
|
this.h.k("");
|
|
1008
|
-
this.h.j("id =\"" + this.
|
|
1053
|
+
this.h.j("id =\"" + this.ap(c, true) + "\"");
|
|
1009
1054
|
}
|
|
1010
1055
|
};
|
|
1011
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1056
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.y = function (a) {
|
|
1012
1057
|
var b = a.c;
|
|
1013
1058
|
switch (b.a) {
|
|
1014
1059
|
case 3: return b.b;
|
|
@@ -1018,26 +1063,26 @@ var WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter = /** @class *
|
|
|
1018
1063
|
}
|
|
1019
1064
|
return b.b;
|
|
1020
1065
|
};
|
|
1021
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1066
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.am = function () {
|
|
1022
1067
|
return "null";
|
|
1023
1068
|
};
|
|
1024
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1069
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.ah = function (a) {
|
|
1025
1070
|
return CodeGeneratingComponentRenderer.dp(a.a.e);
|
|
1026
1071
|
};
|
|
1027
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1072
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.an = function (a) {
|
|
1028
1073
|
return CodeGeneratingComponentRenderer.dp(a.a.e);
|
|
1029
1074
|
};
|
|
1030
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1075
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.aj = function (a) {
|
|
1031
1076
|
if (!stringIsNullOrEmpty(a.a.e)) {
|
|
1032
|
-
this.
|
|
1033
|
-
if (!this.
|
|
1077
|
+
this.a8(a);
|
|
1078
|
+
if (!this.a9.contains(a.a.e)) {
|
|
1034
1079
|
this.g.k("this." + CodeGeneratingComponentRenderer.dp(a.a.e) + " = " + "this." + CodeGeneratingComponentRenderer.dp(a.a.e) + ".bind(this);");
|
|
1035
1080
|
}
|
|
1036
1081
|
return "this." + CodeGeneratingComponentRenderer.dp(a.a.e);
|
|
1037
1082
|
}
|
|
1038
|
-
return this.
|
|
1083
|
+
return this.am();
|
|
1039
1084
|
};
|
|
1040
|
-
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1085
|
+
WebComponentsMarkupCodeGeneratingComponentRendererCodeEmitter.prototype.a1 = function (a, b, c, d) {
|
|
1041
1086
|
var e_5, _a;
|
|
1042
1087
|
if (c.b.knownType == 9) {
|
|
1043
1088
|
var e = typeCast(IList_$type, c.c);
|
|
@@ -1184,25 +1229,25 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
1184
1229
|
}
|
|
1185
1230
|
this.g.k("private " + this.ao(a) + ": " + f + " = " + g + ";");
|
|
1186
1231
|
if (b == 2 || (c != null && c.isAsync)) {
|
|
1187
|
-
this.g.k("private " + this.ao(a) + "
|
|
1232
|
+
this.g.k("private " + this.ao(a) + "Fetching: boolean = false;");
|
|
1188
1233
|
}
|
|
1189
1234
|
this.g.k("public get " + this.u(a) + "(): " + f + " {");
|
|
1190
1235
|
this.g.h();
|
|
1191
1236
|
if (c != null && c.isAsync) {
|
|
1192
|
-
this.g.k("if (this." + this.ao(a) + " == null && !this." + this.ao(a) + "
|
|
1237
|
+
this.g.k("if (this." + this.ao(a) + " == null && !this." + this.ao(a) + "Fetching)");
|
|
1193
1238
|
this.g.k("{");
|
|
1194
1239
|
this.g.h();
|
|
1195
|
-
this.g.k("this." + this.ao(a) + "
|
|
1240
|
+
this.g.k("this." + this.ao(a) + "Fetching = true;");
|
|
1196
1241
|
this.g.k("( async () => { this." + this.ao(a) + " = await (await " + this.v(a, false) + ".fetch()); " + e + " })();");
|
|
1197
1242
|
this.g.f();
|
|
1198
1243
|
this.g.k("}");
|
|
1199
1244
|
}
|
|
1200
1245
|
else {
|
|
1201
1246
|
if (b == 2) {
|
|
1202
|
-
this.g.k("if (this." + this.ao(a) + " == null && !this." + this.ao(a) + "
|
|
1247
|
+
this.g.k("if (this." + this.ao(a) + " == null && !this." + this.ao(a) + "Fetching)");
|
|
1203
1248
|
this.g.k("{");
|
|
1204
1249
|
this.g.h();
|
|
1205
|
-
this.g.k(this.ao(a) + "
|
|
1250
|
+
this.g.k(this.ao(a) + "Fetching = true;");
|
|
1206
1251
|
this.g.k("( async () => { this." + this.ao(a) + " = await (await fetch('" + d + "')).json(); " + e + " })();");
|
|
1207
1252
|
this.g.f();
|
|
1208
1253
|
this.g.k("}");
|
|
@@ -1401,9 +1446,13 @@ export { TSCodeGeneratingComponentRendererDataEmitter };
|
|
|
1401
1446
|
var AngularTemplateCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
1402
1447
|
__extends(AngularTemplateCodeGeneratingComponentRendererCodeEmitter, _super);
|
|
1403
1448
|
function AngularTemplateCodeGeneratingComponentRendererCodeEmitter(a, b) {
|
|
1404
|
-
|
|
1449
|
+
var _this = _super.call(this, a, b) || this;
|
|
1450
|
+
_this.bb = 0;
|
|
1451
|
+
_this.a9 = new HashSet$1(String_$type, 0);
|
|
1452
|
+
_this.ba = new HashSet$1(String_$type, 0);
|
|
1453
|
+
return _this;
|
|
1405
1454
|
}
|
|
1406
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1455
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.af = function (a) {
|
|
1407
1456
|
if (a.c == null) {
|
|
1408
1457
|
return "null";
|
|
1409
1458
|
}
|
|
@@ -1417,36 +1466,73 @@ var AngularTemplateCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*
|
|
|
1417
1466
|
}
|
|
1418
1467
|
return c;
|
|
1419
1468
|
};
|
|
1420
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1469
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.get_r = function () {
|
|
1421
1470
|
return true;
|
|
1422
1471
|
};
|
|
1423
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1472
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.get_ar = function () {
|
|
1424
1473
|
return "Igx";
|
|
1425
1474
|
};
|
|
1426
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1427
|
-
_super.prototype.
|
|
1428
|
-
this.h.k("<" + this.
|
|
1475
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.au = function (a) {
|
|
1476
|
+
_super.prototype.au.call(this, a);
|
|
1477
|
+
this.h.k("<" + this.bc(a) + "");
|
|
1478
|
+
if (!this.a9.contains(this.ad)) {
|
|
1479
|
+
this.a9.add_1(this.ad);
|
|
1480
|
+
if (!this.ba.contains(this.ae)) {
|
|
1481
|
+
this.ba.add_1(this.ae);
|
|
1482
|
+
this.at(this.ae);
|
|
1483
|
+
}
|
|
1484
|
+
this.f.k("@ViewChild(\"" + CodeGeneratingComponentRenderer.dp(this.ad) + "\", { static: true } )");
|
|
1485
|
+
this.f.k("private " + CodeGeneratingComponentRenderer.dp(this.ad) + ": " + this.ae);
|
|
1486
|
+
}
|
|
1487
|
+
};
|
|
1488
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.ay = function (a, b) {
|
|
1489
|
+
var e_7, _a;
|
|
1490
|
+
_super.prototype.ay.call(this, a, b);
|
|
1491
|
+
try {
|
|
1492
|
+
for (var _b = __values(fromEnum(a)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1493
|
+
var c = _c.value;
|
|
1494
|
+
b.addPackageImport("igniteui-angular-" + this.aq, c);
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
catch (e_7_1) {
|
|
1498
|
+
e_7 = { error: e_7_1 };
|
|
1499
|
+
}
|
|
1500
|
+
finally {
|
|
1501
|
+
try {
|
|
1502
|
+
if (_c && !_c.done && (_a = _b.return))
|
|
1503
|
+
_a.call(_b);
|
|
1504
|
+
}
|
|
1505
|
+
finally {
|
|
1506
|
+
if (e_7)
|
|
1507
|
+
throw e_7.error;
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1429
1510
|
};
|
|
1430
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1511
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.bc = function (a) {
|
|
1431
1512
|
if (stringEndsWith(a, "Component")) {
|
|
1432
1513
|
a = a.substr(0, a.length - ("Component").length);
|
|
1433
1514
|
}
|
|
1434
1515
|
return CodeGeneratingComponentRenderer.dr(a);
|
|
1435
1516
|
};
|
|
1436
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1517
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.a7 = function () {
|
|
1437
1518
|
this.h.k(">");
|
|
1438
1519
|
this.h.h();
|
|
1439
1520
|
};
|
|
1440
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1521
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.a2 = function (a) {
|
|
1441
1522
|
this.h.f();
|
|
1442
|
-
this.h.k("</" + this.
|
|
1443
|
-
_super.prototype.
|
|
1523
|
+
this.h.k("</" + this.bc(a) + ">");
|
|
1524
|
+
_super.prototype.a2.call(this, a);
|
|
1444
1525
|
};
|
|
1445
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1526
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.a0 = function (a, b, c, d) {
|
|
1446
1527
|
var e = CodeGeneratingComponentRenderer.dp(b);
|
|
1447
1528
|
if (this.n(c)) {
|
|
1448
|
-
this.
|
|
1449
|
-
|
|
1529
|
+
this.a8(c);
|
|
1530
|
+
if (this.p(c)) {
|
|
1531
|
+
e = "(" + e + ")";
|
|
1532
|
+
}
|
|
1533
|
+
else {
|
|
1534
|
+
e = "[" + e + "]";
|
|
1535
|
+
}
|
|
1450
1536
|
}
|
|
1451
1537
|
if (a > 0) {
|
|
1452
1538
|
this.h.k("");
|
|
@@ -1454,21 +1540,21 @@ var AngularTemplateCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*
|
|
|
1454
1540
|
this.h.j(e);
|
|
1455
1541
|
this.h.j("=");
|
|
1456
1542
|
this.h.j("\"");
|
|
1457
|
-
this.h.j(this.
|
|
1543
|
+
this.h.j(this.ap(c, true));
|
|
1458
1544
|
this.h.j("\"");
|
|
1459
1545
|
if (e == "name") {
|
|
1460
1546
|
this.h.k("");
|
|
1461
|
-
this.h.j("#" + CodeGeneratingComponentRenderer.dp(this.
|
|
1547
|
+
this.h.j("#" + CodeGeneratingComponentRenderer.dp(this.ap(c, true)));
|
|
1462
1548
|
}
|
|
1463
1549
|
};
|
|
1464
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1550
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.aj = function (a) {
|
|
1465
1551
|
if (!stringIsNullOrEmpty(a.a.e)) {
|
|
1466
|
-
this.
|
|
1552
|
+
this.a8(a);
|
|
1467
1553
|
return "this." + CodeGeneratingComponentRenderer.dp(a.a.e) + "($event)";
|
|
1468
1554
|
}
|
|
1469
|
-
return this.
|
|
1555
|
+
return this.am();
|
|
1470
1556
|
};
|
|
1471
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1557
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.y = function (a) {
|
|
1472
1558
|
var b = a.c;
|
|
1473
1559
|
switch (b.a) {
|
|
1474
1560
|
case 3: return b.b;
|
|
@@ -1478,17 +1564,17 @@ var AngularTemplateCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*
|
|
|
1478
1564
|
}
|
|
1479
1565
|
return b.b;
|
|
1480
1566
|
};
|
|
1481
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1567
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.am = function () {
|
|
1482
1568
|
return "null";
|
|
1483
1569
|
};
|
|
1484
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1570
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.ah = function (a) {
|
|
1485
1571
|
return CodeGeneratingComponentRenderer.dp(a.a.e);
|
|
1486
1572
|
};
|
|
1487
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1573
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.an = function (a) {
|
|
1488
1574
|
return CodeGeneratingComponentRenderer.dp(a.a.e);
|
|
1489
1575
|
};
|
|
1490
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1491
|
-
var
|
|
1576
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.a1 = function (a, b, c, d) {
|
|
1577
|
+
var e_8, _a;
|
|
1492
1578
|
if (c.b.knownType == 9) {
|
|
1493
1579
|
var e = typeCast(IList_$type, c.c);
|
|
1494
1580
|
if (e != null) {
|
|
@@ -1501,8 +1587,8 @@ var AngularTemplateCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*
|
|
|
1501
1587
|
}
|
|
1502
1588
|
}
|
|
1503
1589
|
}
|
|
1504
|
-
catch (
|
|
1505
|
-
|
|
1590
|
+
catch (e_8_1) {
|
|
1591
|
+
e_8 = { error: e_8_1 };
|
|
1506
1592
|
}
|
|
1507
1593
|
finally {
|
|
1508
1594
|
try {
|
|
@@ -1510,8 +1596,8 @@ var AngularTemplateCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*
|
|
|
1510
1596
|
_a.call(_b);
|
|
1511
1597
|
}
|
|
1512
1598
|
finally {
|
|
1513
|
-
if (
|
|
1514
|
-
throw
|
|
1599
|
+
if (e_8)
|
|
1600
|
+
throw e_8.error;
|
|
1515
1601
|
}
|
|
1516
1602
|
}
|
|
1517
1603
|
}
|
|
@@ -1588,7 +1674,7 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
1588
1674
|
return "_" + CodeGeneratingComponentRenderer.dp(a);
|
|
1589
1675
|
};
|
|
1590
1676
|
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.aj = function (a, b, c, d, e) {
|
|
1591
|
-
var
|
|
1677
|
+
var e_9, _a;
|
|
1592
1678
|
_super.prototype.aj.call(this, a, b, c, d, e);
|
|
1593
1679
|
var f = this.r(this.v(a, true), this.v(a, false), b, c);
|
|
1594
1680
|
try {
|
|
@@ -1597,8 +1683,8 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
1597
1683
|
this.ab(g, d, e);
|
|
1598
1684
|
}
|
|
1599
1685
|
}
|
|
1600
|
-
catch (
|
|
1601
|
-
|
|
1686
|
+
catch (e_9_1) {
|
|
1687
|
+
e_9 = { error: e_9_1 };
|
|
1602
1688
|
}
|
|
1603
1689
|
finally {
|
|
1604
1690
|
try {
|
|
@@ -1606,8 +1692,8 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
1606
1692
|
_a.call(_b);
|
|
1607
1693
|
}
|
|
1608
1694
|
finally {
|
|
1609
|
-
if (
|
|
1610
|
-
throw
|
|
1695
|
+
if (e_9)
|
|
1696
|
+
throw e_9.error;
|
|
1611
1697
|
}
|
|
1612
1698
|
}
|
|
1613
1699
|
d.k("public class " + this.v(a, false));
|
|
@@ -1836,10 +1922,10 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1836
1922
|
function WPFXamlCodeGeneratingComponentRendererCodeEmitter(a, b) {
|
|
1837
1923
|
return _super.call(this, a, b) || this;
|
|
1838
1924
|
}
|
|
1839
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1925
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.get_s = function () {
|
|
1840
1926
|
return false;
|
|
1841
1927
|
};
|
|
1842
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1928
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.af = function (a) {
|
|
1843
1929
|
if (a.c == null) {
|
|
1844
1930
|
return "null";
|
|
1845
1931
|
}
|
|
@@ -1853,20 +1939,20 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1853
1939
|
}
|
|
1854
1940
|
return c;
|
|
1855
1941
|
};
|
|
1856
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1857
|
-
_super.prototype.
|
|
1942
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.au = function (a) {
|
|
1943
|
+
_super.prototype.au.call(this, a);
|
|
1858
1944
|
this.h.k("<ig:" + a + "");
|
|
1859
1945
|
};
|
|
1860
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1946
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.a7 = function () {
|
|
1861
1947
|
this.h.k(">");
|
|
1862
1948
|
this.h.h();
|
|
1863
1949
|
};
|
|
1864
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1950
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.a2 = function (a) {
|
|
1865
1951
|
this.h.f();
|
|
1866
1952
|
this.h.k("</ig:" + a + ">");
|
|
1867
|
-
_super.prototype.
|
|
1953
|
+
_super.prototype.a2.call(this, a);
|
|
1868
1954
|
};
|
|
1869
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1955
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.a0 = function (a, b, c, d) {
|
|
1870
1956
|
if (b == "Label" && c.b != null && stringContains(c.b.owningType, "Axis")) {
|
|
1871
1957
|
if (c.c != null && stringContains(c.c, "{")) {
|
|
1872
1958
|
if (a > 0) {
|
|
@@ -1875,7 +1961,7 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1875
1961
|
this.h.j(b);
|
|
1876
1962
|
this.h.j("=");
|
|
1877
1963
|
this.h.j("\"");
|
|
1878
|
-
this.h.j("{}" + this.
|
|
1964
|
+
this.h.j("{}" + this.ap(c, true));
|
|
1879
1965
|
this.h.j("\"");
|
|
1880
1966
|
return;
|
|
1881
1967
|
}
|
|
@@ -1886,10 +1972,10 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1886
1972
|
this.h.j(b);
|
|
1887
1973
|
this.h.j("=");
|
|
1888
1974
|
this.h.j("\"");
|
|
1889
|
-
this.h.j(this.
|
|
1975
|
+
this.h.j(this.ap(c, true));
|
|
1890
1976
|
this.h.j("\"");
|
|
1891
1977
|
};
|
|
1892
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1978
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.y = function (a) {
|
|
1893
1979
|
var b = a.c;
|
|
1894
1980
|
switch (b.a) {
|
|
1895
1981
|
case 3: return b.b;
|
|
@@ -1899,25 +1985,25 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1899
1985
|
}
|
|
1900
1986
|
return b.b;
|
|
1901
1987
|
};
|
|
1902
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1988
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.am = function () {
|
|
1903
1989
|
return "{x:Null}";
|
|
1904
1990
|
};
|
|
1905
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1991
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.ah = function (a) {
|
|
1906
1992
|
return "{Binding ElementName=" + a.a.e + "}";
|
|
1907
1993
|
};
|
|
1908
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1994
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.a9 = function (a) {
|
|
1909
1995
|
a = stringReplace(a, "-", "_");
|
|
1910
1996
|
return CodeGeneratingComponentRenderer.dq(a);
|
|
1911
1997
|
};
|
|
1912
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1913
|
-
this.
|
|
1914
|
-
return "{Binding " + this.
|
|
1998
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.an = function (a) {
|
|
1999
|
+
this.a8(a);
|
|
2000
|
+
return "{Binding " + this.a9(a.a.e) + "}";
|
|
1915
2001
|
};
|
|
1916
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1917
|
-
var
|
|
2002
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.a1 = function (a, b, c, d) {
|
|
2003
|
+
var e_10, _a;
|
|
1918
2004
|
this.h.j("<ig:");
|
|
1919
2005
|
{
|
|
1920
|
-
this.h.j(this.
|
|
2006
|
+
this.h.j(this.ae);
|
|
1921
2007
|
this.h.j(".");
|
|
1922
2008
|
}
|
|
1923
2009
|
this.h.j(b);
|
|
@@ -1935,8 +2021,8 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1935
2021
|
}
|
|
1936
2022
|
}
|
|
1937
2023
|
}
|
|
1938
|
-
catch (
|
|
1939
|
-
|
|
2024
|
+
catch (e_10_1) {
|
|
2025
|
+
e_10 = { error: e_10_1 };
|
|
1940
2026
|
}
|
|
1941
2027
|
finally {
|
|
1942
2028
|
try {
|
|
@@ -1944,8 +2030,8 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1944
2030
|
_a.call(_b);
|
|
1945
2031
|
}
|
|
1946
2032
|
finally {
|
|
1947
|
-
if (
|
|
1948
|
-
throw
|
|
2033
|
+
if (e_10)
|
|
2034
|
+
throw e_10.error;
|
|
1949
2035
|
}
|
|
1950
2036
|
}
|
|
1951
2037
|
}
|
|
@@ -1959,13 +2045,13 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1959
2045
|
this.h.f();
|
|
1960
2046
|
this.h.j("</ig:");
|
|
1961
2047
|
{
|
|
1962
|
-
this.h.j(this.
|
|
2048
|
+
this.h.j(this.ae);
|
|
1963
2049
|
this.h.j(".");
|
|
1964
2050
|
}
|
|
1965
2051
|
this.h.j(b);
|
|
1966
2052
|
this.h.k(">");
|
|
1967
2053
|
};
|
|
1968
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
2054
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.get_ar = function () {
|
|
1969
2055
|
return "Xam";
|
|
1970
2056
|
};
|
|
1971
2057
|
WPFXamlCodeGeneratingComponentRendererCodeEmitter.$t = markType(WPFXamlCodeGeneratingComponentRendererCodeEmitter, 'WPFXamlCodeGeneratingComponentRendererCodeEmitter', CodeGeneratingComponentRendererCodeEmitter.$);
|
|
@@ -1980,7 +2066,7 @@ var WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@_
|
|
|
1980
2066
|
function WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter(a, b) {
|
|
1981
2067
|
return _super.call(this, a, b) || this;
|
|
1982
2068
|
}
|
|
1983
|
-
WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
2069
|
+
WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter.prototype.get_s = function () {
|
|
1984
2070
|
return false;
|
|
1985
2071
|
};
|
|
1986
2072
|
WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter.$t = markType(WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter, 'WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter', CodeGeneratingComponentRendererCodeEmitter.$);
|
|
@@ -2157,7 +2243,7 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2157
2243
|
return null;
|
|
2158
2244
|
};
|
|
2159
2245
|
CodeGeneratingComponentRenderer.prototype.emitCode = function (a) {
|
|
2160
|
-
var
|
|
2246
|
+
var e_11, _a, e_12, _b, e_13, _c;
|
|
2161
2247
|
var b = new CodeGeneratingRendererResult();
|
|
2162
2248
|
b.platform = this.dj;
|
|
2163
2249
|
b.generationOptions = this.di;
|
|
@@ -2167,7 +2253,7 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2167
2253
|
var d = c;
|
|
2168
2254
|
var e = d.id;
|
|
2169
2255
|
try {
|
|
2170
|
-
for (var _f = (
|
|
2256
|
+
for (var _f = (e_12 = void 0, __values(fromEnum(d.a))), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
2171
2257
|
var f = _g.value;
|
|
2172
2258
|
if (f.i("Name") != null) {
|
|
2173
2259
|
b.trackDescriptionField(e, f.i("Name"));
|
|
@@ -2177,8 +2263,8 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2177
2263
|
}
|
|
2178
2264
|
}
|
|
2179
2265
|
}
|
|
2180
|
-
catch (
|
|
2181
|
-
|
|
2266
|
+
catch (e_12_1) {
|
|
2267
|
+
e_12 = { error: e_12_1 };
|
|
2182
2268
|
}
|
|
2183
2269
|
finally {
|
|
2184
2270
|
try {
|
|
@@ -2186,14 +2272,14 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2186
2272
|
_b.call(_f);
|
|
2187
2273
|
}
|
|
2188
2274
|
finally {
|
|
2189
|
-
if (
|
|
2190
|
-
throw
|
|
2275
|
+
if (e_12)
|
|
2276
|
+
throw e_12.error;
|
|
2191
2277
|
}
|
|
2192
2278
|
}
|
|
2193
2279
|
}
|
|
2194
2280
|
}
|
|
2195
|
-
catch (
|
|
2196
|
-
|
|
2281
|
+
catch (e_11_1) {
|
|
2282
|
+
e_11 = { error: e_11_1 };
|
|
2197
2283
|
}
|
|
2198
2284
|
finally {
|
|
2199
2285
|
try {
|
|
@@ -2201,8 +2287,8 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2201
2287
|
_a.call(_d);
|
|
2202
2288
|
}
|
|
2203
2289
|
finally {
|
|
2204
|
-
if (
|
|
2205
|
-
throw
|
|
2290
|
+
if (e_11)
|
|
2291
|
+
throw e_11.error;
|
|
2206
2292
|
}
|
|
2207
2293
|
}
|
|
2208
2294
|
try {
|
|
@@ -2212,8 +2298,8 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2212
2298
|
h.c(b, this, this.di);
|
|
2213
2299
|
}
|
|
2214
2300
|
}
|
|
2215
|
-
catch (
|
|
2216
|
-
|
|
2301
|
+
catch (e_13_1) {
|
|
2302
|
+
e_13 = { error: e_13_1 };
|
|
2217
2303
|
}
|
|
2218
2304
|
finally {
|
|
2219
2305
|
try {
|
|
@@ -2221,13 +2307,13 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2221
2307
|
_c.call(_h);
|
|
2222
2308
|
}
|
|
2223
2309
|
finally {
|
|
2224
|
-
if (
|
|
2225
|
-
throw
|
|
2310
|
+
if (e_13)
|
|
2311
|
+
throw e_13.error;
|
|
2226
2312
|
}
|
|
2227
2313
|
}
|
|
2228
2314
|
if (this.dk != null) {
|
|
2229
2315
|
var i = this.dg(this.di, b);
|
|
2230
|
-
i.
|
|
2316
|
+
i.m(this.dk);
|
|
2231
2317
|
}
|
|
2232
2318
|
if (this.dm != null) {
|
|
2233
2319
|
if (typeCast(JsonDictionaryObject.$, this.dm) !== null) {
|
|
@@ -2318,7 +2404,7 @@ var CodeGenerationContainer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2318
2404
|
configurable: true
|
|
2319
2405
|
});
|
|
2320
2406
|
CodeGenerationContainer.prototype.c = function (a, b, c) {
|
|
2321
|
-
var
|
|
2407
|
+
var e_14, _a;
|
|
2322
2408
|
var d = new StringBuilder(0);
|
|
2323
2409
|
var e = new StringBuilder(0);
|
|
2324
2410
|
var f = new StringBuilder(0);
|
|
@@ -2330,14 +2416,14 @@ var CodeGenerationContainer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2330
2416
|
h.p(i, true);
|
|
2331
2417
|
var j = i.toString();
|
|
2332
2418
|
a.addContainerResult(this.id, j);
|
|
2333
|
-
i.
|
|
2334
|
-
i.
|
|
2335
|
-
i.
|
|
2336
|
-
i.
|
|
2419
|
+
i.aw(d);
|
|
2420
|
+
i.az(e);
|
|
2421
|
+
i.av(f);
|
|
2422
|
+
i.ax(g);
|
|
2337
2423
|
}
|
|
2338
2424
|
}
|
|
2339
|
-
catch (
|
|
2340
|
-
|
|
2425
|
+
catch (e_14_1) {
|
|
2426
|
+
e_14 = { error: e_14_1 };
|
|
2341
2427
|
}
|
|
2342
2428
|
finally {
|
|
2343
2429
|
try {
|
|
@@ -2345,8 +2431,8 @@ var CodeGenerationContainer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2345
2431
|
_a.call(_b);
|
|
2346
2432
|
}
|
|
2347
2433
|
finally {
|
|
2348
|
-
if (
|
|
2349
|
-
throw
|
|
2434
|
+
if (e_14)
|
|
2435
|
+
throw e_14.error;
|
|
2350
2436
|
}
|
|
2351
2437
|
}
|
|
2352
2438
|
a.addContainerResult("bindingFields", d.toString());
|
|
@@ -2427,31 +2513,31 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2427
2513
|
return null;
|
|
2428
2514
|
};
|
|
2429
2515
|
CodeGenerationItemBuilder.prototype.p = function (a, b) {
|
|
2430
|
-
var
|
|
2516
|
+
var e_15, _a, e_16, _b;
|
|
2431
2517
|
var c = this.m();
|
|
2432
2518
|
if (b) {
|
|
2433
2519
|
var d = this.n();
|
|
2434
|
-
a.
|
|
2520
|
+
a.aq = d;
|
|
2435
2521
|
}
|
|
2436
2522
|
var e = false;
|
|
2437
2523
|
var f = false;
|
|
2438
2524
|
if (this.f.containsKey("Name")) {
|
|
2439
2525
|
e = true;
|
|
2440
|
-
a.
|
|
2526
|
+
a.a6(this.f.item("Name").c);
|
|
2441
2527
|
}
|
|
2442
2528
|
else if (this.f.containsKey("name")) {
|
|
2443
2529
|
e = true;
|
|
2444
|
-
a.
|
|
2530
|
+
a.a6(this.f.item("name").c);
|
|
2445
2531
|
}
|
|
2446
2532
|
else {
|
|
2447
2533
|
if (this.e(a)) {
|
|
2448
2534
|
f = true;
|
|
2449
|
-
a.
|
|
2450
|
-
if (a.
|
|
2535
|
+
a.a5(c);
|
|
2536
|
+
if (a.s) {
|
|
2451
2537
|
this.g.add("name");
|
|
2452
2538
|
this.f.addItem("name", ((function () {
|
|
2453
2539
|
var $ret = new CodeGenerationItemBuilderPropertyInfo();
|
|
2454
|
-
$ret.c = a.
|
|
2540
|
+
$ret.c = a.ad;
|
|
2455
2541
|
return $ret;
|
|
2456
2542
|
})()));
|
|
2457
2543
|
}
|
|
@@ -2459,13 +2545,13 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2459
2545
|
this.g.add("Name");
|
|
2460
2546
|
this.f.addItem("Name", ((function () {
|
|
2461
2547
|
var $ret = new CodeGenerationItemBuilderPropertyInfo();
|
|
2462
|
-
$ret.c = a.
|
|
2548
|
+
$ret.c = a.ad;
|
|
2463
2549
|
return $ret;
|
|
2464
2550
|
})()));
|
|
2465
2551
|
}
|
|
2466
2552
|
}
|
|
2467
2553
|
}
|
|
2468
|
-
a.
|
|
2554
|
+
a.au(c);
|
|
2469
2555
|
var g = 0;
|
|
2470
2556
|
try {
|
|
2471
2557
|
for (var _c = __values(fromEnum(this.g)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
@@ -2475,13 +2561,13 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2475
2561
|
continue;
|
|
2476
2562
|
}
|
|
2477
2563
|
if (this.d(h, i)) {
|
|
2478
|
-
a.
|
|
2564
|
+
a.a0(g, h, i, this.c);
|
|
2479
2565
|
g++;
|
|
2480
2566
|
}
|
|
2481
2567
|
}
|
|
2482
2568
|
}
|
|
2483
|
-
catch (
|
|
2484
|
-
|
|
2569
|
+
catch (e_15_1) {
|
|
2570
|
+
e_15 = { error: e_15_1 };
|
|
2485
2571
|
}
|
|
2486
2572
|
finally {
|
|
2487
2573
|
try {
|
|
@@ -2489,11 +2575,11 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2489
2575
|
_a.call(_c);
|
|
2490
2576
|
}
|
|
2491
2577
|
finally {
|
|
2492
|
-
if (
|
|
2493
|
-
throw
|
|
2578
|
+
if (e_15)
|
|
2579
|
+
throw e_15.error;
|
|
2494
2580
|
}
|
|
2495
2581
|
}
|
|
2496
|
-
a.
|
|
2582
|
+
a.a7();
|
|
2497
2583
|
var j = 0;
|
|
2498
2584
|
try {
|
|
2499
2585
|
for (var _e = __values(fromEnum(this.g)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
@@ -2503,13 +2589,13 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2503
2589
|
continue;
|
|
2504
2590
|
}
|
|
2505
2591
|
if (!this.d(k, l)) {
|
|
2506
|
-
a.
|
|
2592
|
+
a.a1(j, k, l, this.c);
|
|
2507
2593
|
j++;
|
|
2508
2594
|
}
|
|
2509
2595
|
}
|
|
2510
2596
|
}
|
|
2511
|
-
catch (
|
|
2512
|
-
|
|
2597
|
+
catch (e_16_1) {
|
|
2598
|
+
e_16 = { error: e_16_1 };
|
|
2513
2599
|
}
|
|
2514
2600
|
finally {
|
|
2515
2601
|
try {
|
|
@@ -2517,22 +2603,22 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2517
2603
|
_b.call(_e);
|
|
2518
2604
|
}
|
|
2519
2605
|
finally {
|
|
2520
|
-
if (
|
|
2521
|
-
throw
|
|
2606
|
+
if (e_16)
|
|
2607
|
+
throw e_16.error;
|
|
2522
2608
|
}
|
|
2523
2609
|
}
|
|
2524
|
-
a.
|
|
2610
|
+
a.a2(c);
|
|
2525
2611
|
if (e) {
|
|
2526
|
-
a.
|
|
2612
|
+
a.a4();
|
|
2527
2613
|
}
|
|
2528
2614
|
else {
|
|
2529
2615
|
if (f) {
|
|
2530
|
-
a.
|
|
2616
|
+
a.a3();
|
|
2531
2617
|
}
|
|
2532
2618
|
}
|
|
2533
2619
|
};
|
|
2534
2620
|
CodeGenerationItemBuilder.prototype.e = function (a) {
|
|
2535
|
-
var
|
|
2621
|
+
var e_17, _a;
|
|
2536
2622
|
try {
|
|
2537
2623
|
for (var _b = __values(fromEnum(this.g)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2538
2624
|
var b = _c.value;
|
|
@@ -2542,8 +2628,8 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2542
2628
|
}
|
|
2543
2629
|
}
|
|
2544
2630
|
}
|
|
2545
|
-
catch (
|
|
2546
|
-
|
|
2631
|
+
catch (e_17_1) {
|
|
2632
|
+
e_17 = { error: e_17_1 };
|
|
2547
2633
|
}
|
|
2548
2634
|
finally {
|
|
2549
2635
|
try {
|
|
@@ -2551,8 +2637,8 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2551
2637
|
_a.call(_b);
|
|
2552
2638
|
}
|
|
2553
2639
|
finally {
|
|
2554
|
-
if (
|
|
2555
|
-
throw
|
|
2640
|
+
if (e_17)
|
|
2641
|
+
throw e_17.error;
|
|
2556
2642
|
}
|
|
2557
2643
|
}
|
|
2558
2644
|
return false;
|