igniteui-angular-core 13.2.0-beta.3 → 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 +1073 -807
- package/bundles/igniteui-angular-core.umd.min.js +1 -1
- package/esm2015/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
- package/esm2015/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +391 -322
- 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/DataGridPagerDescriptionModule.js +2 -0
- package/esm2015/lib/DescriptionSerializer.js +70 -56
- package/esm2015/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
- package/esm2015/lib/FinancialChartDescriptionModule.js +2 -0
- package/esm2015/lib/IgcSliderBridge.js +38 -12
- package/esm2015/lib/NativeUIButton.js +2 -1
- package/esm2015/lib/NativeUICheckbox.js +2 -1
- package/esm2015/lib/NativeUIDropDown.js +2 -1
- package/esm2015/lib/NativeUIInput.js +2 -1
- package/esm2015/lib/NativeUIInputsFactory.js +1 -0
- package/esm2015/lib/NativeUISlider.js +26 -11
- package/esm2015/lib/PropertyEditorPropertyDescriptionChangedEventArgsDescription.js +8 -0
- package/esm2015/lib/PropertyEditorPropertyDescriptionChangedEventArgsDescriptionMetadata.js +1 -0
- package/esm2015/lib/StackedFragmentSeriesDescription.js +121 -121
- package/esm2015/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
- package/esm2015/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
- package/esm2015/lib/WebDropdownGroupDescription.js +2 -10
- package/esm2015/lib/WebDropdownGroupDescriptionMetadata.js +0 -3
- package/esm2015/lib/WebTreeDescriptionModule.js +0 -4
- package/esm2015/lib/WebTreeItemDescription.js +14 -22
- package/esm2015/lib/WebTreeItemDescriptionMetadata.js +1 -2
- 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 +458 -371
- 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/DataGridPagerDescriptionModule.js +2 -0
- package/esm5/lib/DescriptionSerializer.js +70 -56
- package/esm5/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
- package/esm5/lib/FinancialChartDescriptionModule.js +2 -0
- package/esm5/lib/IgcSliderBridge.js +38 -12
- package/esm5/lib/NativeUIButton.js +2 -1
- package/esm5/lib/NativeUICheckbox.js +2 -1
- package/esm5/lib/NativeUIDropDown.js +2 -1
- package/esm5/lib/NativeUIInput.js +2 -1
- package/esm5/lib/NativeUIInputsFactory.js +1 -0
- package/esm5/lib/NativeUISlider.js +25 -6
- package/esm5/lib/PropertyEditorPropertyDescriptionChangedEventArgsDescription.js +14 -1
- package/esm5/lib/PropertyEditorPropertyDescriptionChangedEventArgsDescriptionMetadata.js +1 -0
- package/esm5/lib/StackedFragmentSeriesDescription.js +120 -120
- package/esm5/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
- package/esm5/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
- package/esm5/lib/WebDropdownGroupDescription.js +1 -13
- package/esm5/lib/WebDropdownGroupDescriptionMetadata.js +0 -3
- package/esm5/lib/WebTreeDescriptionModule.js +0 -4
- package/esm5/lib/WebTreeItemDescription.js +13 -25
- package/esm5/lib/WebTreeItemDescriptionMetadata.js +1 -2
- 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 +947 -733
- package/fesm5/igniteui-angular-core.js +1072 -808
- 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/IgcSliderBridge.d.ts +7 -3
- package/lib/NativeUISlider.d.ts +9 -6
- package/lib/PropertyEditorPropertyDescriptionChangedEventArgsDescription.d.ts +3 -0
- package/lib/StackedFragmentSeriesDescription.d.ts +46 -46
- package/lib/TSCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
- package/lib/WebDropdownGroupDescription.d.ts +0 -4
- package/lib/WebTreeItemDescription.d.ts +6 -9
- package/lib/WebTreeSelectionOptionsEventArgsDescription.d.ts +3 -3
- package/lib/WebTreeSelectionOptionsEventDetailDescription.d.ts +17 -0
- package/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.d.ts +13 -0
- package/package.json +4 -4
- 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.
|
|
125
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.au = function (a) {
|
|
126
|
+
this.x.h(a);
|
|
119
127
|
};
|
|
120
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
128
|
+
CodeGeneratingComponentRendererCodeEmitter.prototype.a7 = function () {
|
|
121
129
|
};
|
|
122
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
123
|
-
this.
|
|
124
|
-
};
|
|
125
|
-
CodeGeneratingComponentRendererCodeEmitter.prototype.az = function (a, b, c, d) {
|
|
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);
|
|
@@ -1167,6 +1212,9 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
1167
1212
|
if (this.n.platform == 3) {
|
|
1168
1213
|
e = "if ((this as any)._bind) { (this as any)._bind(); } ";
|
|
1169
1214
|
}
|
|
1215
|
+
if (this.n.platform == 1) {
|
|
1216
|
+
e = "this._detector.markForCheck(); ";
|
|
1217
|
+
}
|
|
1170
1218
|
var f = this.v(a, false);
|
|
1171
1219
|
var g = "null";
|
|
1172
1220
|
switch (b) {
|
|
@@ -1181,25 +1229,25 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
1181
1229
|
}
|
|
1182
1230
|
this.g.k("private " + this.ao(a) + ": " + f + " = " + g + ";");
|
|
1183
1231
|
if (b == 2 || (c != null && c.isAsync)) {
|
|
1184
|
-
this.g.k("private " + this.ao(a) + "
|
|
1232
|
+
this.g.k("private " + this.ao(a) + "Fetching: boolean = false;");
|
|
1185
1233
|
}
|
|
1186
1234
|
this.g.k("public get " + this.u(a) + "(): " + f + " {");
|
|
1187
1235
|
this.g.h();
|
|
1188
1236
|
if (c != null && c.isAsync) {
|
|
1189
|
-
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)");
|
|
1190
1238
|
this.g.k("{");
|
|
1191
1239
|
this.g.h();
|
|
1192
|
-
this.g.k(this.ao(a) + "
|
|
1240
|
+
this.g.k("this." + this.ao(a) + "Fetching = true;");
|
|
1193
1241
|
this.g.k("( async () => { this." + this.ao(a) + " = await (await " + this.v(a, false) + ".fetch()); " + e + " })();");
|
|
1194
1242
|
this.g.f();
|
|
1195
1243
|
this.g.k("}");
|
|
1196
1244
|
}
|
|
1197
1245
|
else {
|
|
1198
1246
|
if (b == 2) {
|
|
1199
|
-
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)");
|
|
1200
1248
|
this.g.k("{");
|
|
1201
1249
|
this.g.h();
|
|
1202
|
-
this.g.k(this.ao(a) + "
|
|
1250
|
+
this.g.k(this.ao(a) + "Fetching = true;");
|
|
1203
1251
|
this.g.k("( async () => { this." + this.ao(a) + " = await (await fetch('" + d + "')).json(); " + e + " })();");
|
|
1204
1252
|
this.g.f();
|
|
1205
1253
|
this.g.k("}");
|
|
@@ -1246,7 +1294,6 @@ var TSCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__*/ (
|
|
|
1246
1294
|
};
|
|
1247
1295
|
TSCodeGeneratingComponentRendererDataEmitter.prototype.x = function (a, b) {
|
|
1248
1296
|
b.addPackageImport("./" + a, a);
|
|
1249
|
-
b.addPackageImport("./" + a, a + "Item");
|
|
1250
1297
|
};
|
|
1251
1298
|
TSCodeGeneratingComponentRendererDataEmitter.prototype.y = function (a, b) {
|
|
1252
1299
|
b.addDefaultImport("./" + a, a);
|
|
@@ -1399,9 +1446,13 @@ export { TSCodeGeneratingComponentRendererDataEmitter };
|
|
|
1399
1446
|
var AngularTemplateCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
1400
1447
|
__extends(AngularTemplateCodeGeneratingComponentRendererCodeEmitter, _super);
|
|
1401
1448
|
function AngularTemplateCodeGeneratingComponentRendererCodeEmitter(a, b) {
|
|
1402
|
-
|
|
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;
|
|
1403
1454
|
}
|
|
1404
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1455
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.af = function (a) {
|
|
1405
1456
|
if (a.c == null) {
|
|
1406
1457
|
return "null";
|
|
1407
1458
|
}
|
|
@@ -1415,36 +1466,73 @@ var AngularTemplateCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*
|
|
|
1415
1466
|
}
|
|
1416
1467
|
return c;
|
|
1417
1468
|
};
|
|
1418
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1469
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.get_r = function () {
|
|
1419
1470
|
return true;
|
|
1420
1471
|
};
|
|
1421
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1472
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.get_ar = function () {
|
|
1422
1473
|
return "Igx";
|
|
1423
1474
|
};
|
|
1424
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1425
|
-
_super.prototype.
|
|
1426
|
-
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
|
+
}
|
|
1427
1510
|
};
|
|
1428
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1511
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.bc = function (a) {
|
|
1429
1512
|
if (stringEndsWith(a, "Component")) {
|
|
1430
1513
|
a = a.substr(0, a.length - ("Component").length);
|
|
1431
1514
|
}
|
|
1432
1515
|
return CodeGeneratingComponentRenderer.dr(a);
|
|
1433
1516
|
};
|
|
1434
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1517
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.a7 = function () {
|
|
1435
1518
|
this.h.k(">");
|
|
1436
1519
|
this.h.h();
|
|
1437
1520
|
};
|
|
1438
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1521
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.a2 = function (a) {
|
|
1439
1522
|
this.h.f();
|
|
1440
|
-
this.h.k("</" + this.
|
|
1441
|
-
_super.prototype.
|
|
1523
|
+
this.h.k("</" + this.bc(a) + ">");
|
|
1524
|
+
_super.prototype.a2.call(this, a);
|
|
1442
1525
|
};
|
|
1443
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1526
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.a0 = function (a, b, c, d) {
|
|
1444
1527
|
var e = CodeGeneratingComponentRenderer.dp(b);
|
|
1445
1528
|
if (this.n(c)) {
|
|
1446
|
-
this.
|
|
1447
|
-
|
|
1529
|
+
this.a8(c);
|
|
1530
|
+
if (this.p(c)) {
|
|
1531
|
+
e = "(" + e + ")";
|
|
1532
|
+
}
|
|
1533
|
+
else {
|
|
1534
|
+
e = "[" + e + "]";
|
|
1535
|
+
}
|
|
1448
1536
|
}
|
|
1449
1537
|
if (a > 0) {
|
|
1450
1538
|
this.h.k("");
|
|
@@ -1452,21 +1540,21 @@ var AngularTemplateCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*
|
|
|
1452
1540
|
this.h.j(e);
|
|
1453
1541
|
this.h.j("=");
|
|
1454
1542
|
this.h.j("\"");
|
|
1455
|
-
this.h.j(this.
|
|
1543
|
+
this.h.j(this.ap(c, true));
|
|
1456
1544
|
this.h.j("\"");
|
|
1457
1545
|
if (e == "name") {
|
|
1458
1546
|
this.h.k("");
|
|
1459
|
-
this.h.j("#" + CodeGeneratingComponentRenderer.dp(this.
|
|
1547
|
+
this.h.j("#" + CodeGeneratingComponentRenderer.dp(this.ap(c, true)));
|
|
1460
1548
|
}
|
|
1461
1549
|
};
|
|
1462
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1550
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.aj = function (a) {
|
|
1463
1551
|
if (!stringIsNullOrEmpty(a.a.e)) {
|
|
1464
|
-
this.
|
|
1552
|
+
this.a8(a);
|
|
1465
1553
|
return "this." + CodeGeneratingComponentRenderer.dp(a.a.e) + "($event)";
|
|
1466
1554
|
}
|
|
1467
|
-
return this.
|
|
1555
|
+
return this.am();
|
|
1468
1556
|
};
|
|
1469
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1557
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.y = function (a) {
|
|
1470
1558
|
var b = a.c;
|
|
1471
1559
|
switch (b.a) {
|
|
1472
1560
|
case 3: return b.b;
|
|
@@ -1476,17 +1564,17 @@ var AngularTemplateCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*
|
|
|
1476
1564
|
}
|
|
1477
1565
|
return b.b;
|
|
1478
1566
|
};
|
|
1479
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1567
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.am = function () {
|
|
1480
1568
|
return "null";
|
|
1481
1569
|
};
|
|
1482
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1570
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.ah = function (a) {
|
|
1483
1571
|
return CodeGeneratingComponentRenderer.dp(a.a.e);
|
|
1484
1572
|
};
|
|
1485
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1573
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.an = function (a) {
|
|
1486
1574
|
return CodeGeneratingComponentRenderer.dp(a.a.e);
|
|
1487
1575
|
};
|
|
1488
|
-
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1489
|
-
var
|
|
1576
|
+
AngularTemplateCodeGeneratingComponentRendererCodeEmitter.prototype.a1 = function (a, b, c, d) {
|
|
1577
|
+
var e_8, _a;
|
|
1490
1578
|
if (c.b.knownType == 9) {
|
|
1491
1579
|
var e = typeCast(IList_$type, c.c);
|
|
1492
1580
|
if (e != null) {
|
|
@@ -1499,8 +1587,8 @@ var AngularTemplateCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*
|
|
|
1499
1587
|
}
|
|
1500
1588
|
}
|
|
1501
1589
|
}
|
|
1502
|
-
catch (
|
|
1503
|
-
|
|
1590
|
+
catch (e_8_1) {
|
|
1591
|
+
e_8 = { error: e_8_1 };
|
|
1504
1592
|
}
|
|
1505
1593
|
finally {
|
|
1506
1594
|
try {
|
|
@@ -1508,8 +1596,8 @@ var AngularTemplateCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*
|
|
|
1508
1596
|
_a.call(_b);
|
|
1509
1597
|
}
|
|
1510
1598
|
finally {
|
|
1511
|
-
if (
|
|
1512
|
-
throw
|
|
1599
|
+
if (e_8)
|
|
1600
|
+
throw e_8.error;
|
|
1513
1601
|
}
|
|
1514
1602
|
}
|
|
1515
1603
|
}
|
|
@@ -1560,16 +1648,10 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
1560
1648
|
a.k("using System.Collections.Generic;");
|
|
1561
1649
|
if (!this.ak) {
|
|
1562
1650
|
this.ak = true;
|
|
1563
|
-
this.k.addUsing("using Data;");
|
|
1564
1651
|
}
|
|
1565
|
-
a.k("namespace Data");
|
|
1566
|
-
a.k("{");
|
|
1567
|
-
a.h();
|
|
1568
1652
|
_super.prototype.ad.call(this, a);
|
|
1569
1653
|
};
|
|
1570
1654
|
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.ac = function (a) {
|
|
1571
|
-
a.f();
|
|
1572
|
-
a.k("}");
|
|
1573
1655
|
_super.prototype.ac.call(this, a);
|
|
1574
1656
|
};
|
|
1575
1657
|
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.v = function (a, b) {
|
|
@@ -1592,7 +1674,7 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
1592
1674
|
return "_" + CodeGeneratingComponentRenderer.dp(a);
|
|
1593
1675
|
};
|
|
1594
1676
|
DotNetCodeGeneratingComponentRendererDataEmitter.prototype.aj = function (a, b, c, d, e) {
|
|
1595
|
-
var
|
|
1677
|
+
var e_9, _a;
|
|
1596
1678
|
_super.prototype.aj.call(this, a, b, c, d, e);
|
|
1597
1679
|
var f = this.r(this.v(a, true), this.v(a, false), b, c);
|
|
1598
1680
|
try {
|
|
@@ -1601,8 +1683,8 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
1601
1683
|
this.ab(g, d, e);
|
|
1602
1684
|
}
|
|
1603
1685
|
}
|
|
1604
|
-
catch (
|
|
1605
|
-
|
|
1686
|
+
catch (e_9_1) {
|
|
1687
|
+
e_9 = { error: e_9_1 };
|
|
1606
1688
|
}
|
|
1607
1689
|
finally {
|
|
1608
1690
|
try {
|
|
@@ -1610,8 +1692,8 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
1610
1692
|
_a.call(_b);
|
|
1611
1693
|
}
|
|
1612
1694
|
finally {
|
|
1613
|
-
if (
|
|
1614
|
-
throw
|
|
1695
|
+
if (e_9)
|
|
1696
|
+
throw e_9.error;
|
|
1615
1697
|
}
|
|
1616
1698
|
}
|
|
1617
1699
|
d.k("public class " + this.v(a, false));
|
|
@@ -1809,7 +1891,12 @@ var DotNetCodeGeneratingComponentRendererDataEmitter = /** @class */ /*@__PURE__
|
|
|
1809
1891
|
return "double.NaN";
|
|
1810
1892
|
}
|
|
1811
1893
|
return (b.value.toString());
|
|
1812
|
-
case 2:
|
|
1894
|
+
case 2: if (b.value == null) {
|
|
1895
|
+
return "null";
|
|
1896
|
+
}
|
|
1897
|
+
else {
|
|
1898
|
+
return ("@\"" + stringReplace(b.value, "\"", "\"\"") + "\"");
|
|
1899
|
+
}
|
|
1813
1900
|
case 3: return ("null");
|
|
1814
1901
|
}
|
|
1815
1902
|
return "";
|
|
@@ -1835,10 +1922,10 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1835
1922
|
function WPFXamlCodeGeneratingComponentRendererCodeEmitter(a, b) {
|
|
1836
1923
|
return _super.call(this, a, b) || this;
|
|
1837
1924
|
}
|
|
1838
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1925
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.get_s = function () {
|
|
1839
1926
|
return false;
|
|
1840
1927
|
};
|
|
1841
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1928
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.af = function (a) {
|
|
1842
1929
|
if (a.c == null) {
|
|
1843
1930
|
return "null";
|
|
1844
1931
|
}
|
|
@@ -1852,20 +1939,20 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1852
1939
|
}
|
|
1853
1940
|
return c;
|
|
1854
1941
|
};
|
|
1855
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1856
|
-
_super.prototype.
|
|
1942
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.au = function (a) {
|
|
1943
|
+
_super.prototype.au.call(this, a);
|
|
1857
1944
|
this.h.k("<ig:" + a + "");
|
|
1858
1945
|
};
|
|
1859
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1946
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.a7 = function () {
|
|
1860
1947
|
this.h.k(">");
|
|
1861
1948
|
this.h.h();
|
|
1862
1949
|
};
|
|
1863
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1950
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.a2 = function (a) {
|
|
1864
1951
|
this.h.f();
|
|
1865
1952
|
this.h.k("</ig:" + a + ">");
|
|
1866
|
-
_super.prototype.
|
|
1953
|
+
_super.prototype.a2.call(this, a);
|
|
1867
1954
|
};
|
|
1868
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1955
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.a0 = function (a, b, c, d) {
|
|
1869
1956
|
if (b == "Label" && c.b != null && stringContains(c.b.owningType, "Axis")) {
|
|
1870
1957
|
if (c.c != null && stringContains(c.c, "{")) {
|
|
1871
1958
|
if (a > 0) {
|
|
@@ -1874,7 +1961,7 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1874
1961
|
this.h.j(b);
|
|
1875
1962
|
this.h.j("=");
|
|
1876
1963
|
this.h.j("\"");
|
|
1877
|
-
this.h.j("{}" + this.
|
|
1964
|
+
this.h.j("{}" + this.ap(c, true));
|
|
1878
1965
|
this.h.j("\"");
|
|
1879
1966
|
return;
|
|
1880
1967
|
}
|
|
@@ -1885,10 +1972,10 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1885
1972
|
this.h.j(b);
|
|
1886
1973
|
this.h.j("=");
|
|
1887
1974
|
this.h.j("\"");
|
|
1888
|
-
this.h.j(this.
|
|
1975
|
+
this.h.j(this.ap(c, true));
|
|
1889
1976
|
this.h.j("\"");
|
|
1890
1977
|
};
|
|
1891
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1978
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.y = function (a) {
|
|
1892
1979
|
var b = a.c;
|
|
1893
1980
|
switch (b.a) {
|
|
1894
1981
|
case 3: return b.b;
|
|
@@ -1898,25 +1985,25 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1898
1985
|
}
|
|
1899
1986
|
return b.b;
|
|
1900
1987
|
};
|
|
1901
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1988
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.am = function () {
|
|
1902
1989
|
return "{x:Null}";
|
|
1903
1990
|
};
|
|
1904
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1991
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.ah = function (a) {
|
|
1905
1992
|
return "{Binding ElementName=" + a.a.e + "}";
|
|
1906
1993
|
};
|
|
1907
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1994
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.a9 = function (a) {
|
|
1908
1995
|
a = stringReplace(a, "-", "_");
|
|
1909
1996
|
return CodeGeneratingComponentRenderer.dq(a);
|
|
1910
1997
|
};
|
|
1911
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1912
|
-
this.
|
|
1913
|
-
return "{Binding " + this.
|
|
1998
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.an = function (a) {
|
|
1999
|
+
this.a8(a);
|
|
2000
|
+
return "{Binding " + this.a9(a.a.e) + "}";
|
|
1914
2001
|
};
|
|
1915
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
1916
|
-
var
|
|
2002
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.a1 = function (a, b, c, d) {
|
|
2003
|
+
var e_10, _a;
|
|
1917
2004
|
this.h.j("<ig:");
|
|
1918
2005
|
{
|
|
1919
|
-
this.h.j(this.
|
|
2006
|
+
this.h.j(this.ae);
|
|
1920
2007
|
this.h.j(".");
|
|
1921
2008
|
}
|
|
1922
2009
|
this.h.j(b);
|
|
@@ -1934,8 +2021,8 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1934
2021
|
}
|
|
1935
2022
|
}
|
|
1936
2023
|
}
|
|
1937
|
-
catch (
|
|
1938
|
-
|
|
2024
|
+
catch (e_10_1) {
|
|
2025
|
+
e_10 = { error: e_10_1 };
|
|
1939
2026
|
}
|
|
1940
2027
|
finally {
|
|
1941
2028
|
try {
|
|
@@ -1943,8 +2030,8 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1943
2030
|
_a.call(_b);
|
|
1944
2031
|
}
|
|
1945
2032
|
finally {
|
|
1946
|
-
if (
|
|
1947
|
-
throw
|
|
2033
|
+
if (e_10)
|
|
2034
|
+
throw e_10.error;
|
|
1948
2035
|
}
|
|
1949
2036
|
}
|
|
1950
2037
|
}
|
|
@@ -1958,13 +2045,13 @@ var WPFXamlCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@__PURE_
|
|
|
1958
2045
|
this.h.f();
|
|
1959
2046
|
this.h.j("</ig:");
|
|
1960
2047
|
{
|
|
1961
|
-
this.h.j(this.
|
|
2048
|
+
this.h.j(this.ae);
|
|
1962
2049
|
this.h.j(".");
|
|
1963
2050
|
}
|
|
1964
2051
|
this.h.j(b);
|
|
1965
2052
|
this.h.k(">");
|
|
1966
2053
|
};
|
|
1967
|
-
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
2054
|
+
WPFXamlCodeGeneratingComponentRendererCodeEmitter.prototype.get_ar = function () {
|
|
1968
2055
|
return "Xam";
|
|
1969
2056
|
};
|
|
1970
2057
|
WPFXamlCodeGeneratingComponentRendererCodeEmitter.$t = markType(WPFXamlCodeGeneratingComponentRendererCodeEmitter, 'WPFXamlCodeGeneratingComponentRendererCodeEmitter', CodeGeneratingComponentRendererCodeEmitter.$);
|
|
@@ -1979,7 +2066,7 @@ var WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter = /** @class */ /*@_
|
|
|
1979
2066
|
function WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter(a, b) {
|
|
1980
2067
|
return _super.call(this, a, b) || this;
|
|
1981
2068
|
}
|
|
1982
|
-
WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter.prototype.
|
|
2069
|
+
WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter.prototype.get_s = function () {
|
|
1983
2070
|
return false;
|
|
1984
2071
|
};
|
|
1985
2072
|
WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter.$t = markType(WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter, 'WPFCodeBehindCodeGeneratingComponentRendererCodeEmitter', CodeGeneratingComponentRendererCodeEmitter.$);
|
|
@@ -2156,7 +2243,7 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2156
2243
|
return null;
|
|
2157
2244
|
};
|
|
2158
2245
|
CodeGeneratingComponentRenderer.prototype.emitCode = function (a) {
|
|
2159
|
-
var
|
|
2246
|
+
var e_11, _a, e_12, _b, e_13, _c;
|
|
2160
2247
|
var b = new CodeGeneratingRendererResult();
|
|
2161
2248
|
b.platform = this.dj;
|
|
2162
2249
|
b.generationOptions = this.di;
|
|
@@ -2166,7 +2253,7 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2166
2253
|
var d = c;
|
|
2167
2254
|
var e = d.id;
|
|
2168
2255
|
try {
|
|
2169
|
-
for (var _f = (
|
|
2256
|
+
for (var _f = (e_12 = void 0, __values(fromEnum(d.a))), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
2170
2257
|
var f = _g.value;
|
|
2171
2258
|
if (f.i("Name") != null) {
|
|
2172
2259
|
b.trackDescriptionField(e, f.i("Name"));
|
|
@@ -2176,8 +2263,8 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2176
2263
|
}
|
|
2177
2264
|
}
|
|
2178
2265
|
}
|
|
2179
|
-
catch (
|
|
2180
|
-
|
|
2266
|
+
catch (e_12_1) {
|
|
2267
|
+
e_12 = { error: e_12_1 };
|
|
2181
2268
|
}
|
|
2182
2269
|
finally {
|
|
2183
2270
|
try {
|
|
@@ -2185,14 +2272,14 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2185
2272
|
_b.call(_f);
|
|
2186
2273
|
}
|
|
2187
2274
|
finally {
|
|
2188
|
-
if (
|
|
2189
|
-
throw
|
|
2275
|
+
if (e_12)
|
|
2276
|
+
throw e_12.error;
|
|
2190
2277
|
}
|
|
2191
2278
|
}
|
|
2192
2279
|
}
|
|
2193
2280
|
}
|
|
2194
|
-
catch (
|
|
2195
|
-
|
|
2281
|
+
catch (e_11_1) {
|
|
2282
|
+
e_11 = { error: e_11_1 };
|
|
2196
2283
|
}
|
|
2197
2284
|
finally {
|
|
2198
2285
|
try {
|
|
@@ -2200,8 +2287,8 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2200
2287
|
_a.call(_d);
|
|
2201
2288
|
}
|
|
2202
2289
|
finally {
|
|
2203
|
-
if (
|
|
2204
|
-
throw
|
|
2290
|
+
if (e_11)
|
|
2291
|
+
throw e_11.error;
|
|
2205
2292
|
}
|
|
2206
2293
|
}
|
|
2207
2294
|
try {
|
|
@@ -2211,8 +2298,8 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2211
2298
|
h.c(b, this, this.di);
|
|
2212
2299
|
}
|
|
2213
2300
|
}
|
|
2214
|
-
catch (
|
|
2215
|
-
|
|
2301
|
+
catch (e_13_1) {
|
|
2302
|
+
e_13 = { error: e_13_1 };
|
|
2216
2303
|
}
|
|
2217
2304
|
finally {
|
|
2218
2305
|
try {
|
|
@@ -2220,13 +2307,13 @@ var CodeGeneratingComponentRenderer = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
2220
2307
|
_c.call(_h);
|
|
2221
2308
|
}
|
|
2222
2309
|
finally {
|
|
2223
|
-
if (
|
|
2224
|
-
throw
|
|
2310
|
+
if (e_13)
|
|
2311
|
+
throw e_13.error;
|
|
2225
2312
|
}
|
|
2226
2313
|
}
|
|
2227
2314
|
if (this.dk != null) {
|
|
2228
2315
|
var i = this.dg(this.di, b);
|
|
2229
|
-
i.
|
|
2316
|
+
i.m(this.dk);
|
|
2230
2317
|
}
|
|
2231
2318
|
if (this.dm != null) {
|
|
2232
2319
|
if (typeCast(JsonDictionaryObject.$, this.dm) !== null) {
|
|
@@ -2317,7 +2404,7 @@ var CodeGenerationContainer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2317
2404
|
configurable: true
|
|
2318
2405
|
});
|
|
2319
2406
|
CodeGenerationContainer.prototype.c = function (a, b, c) {
|
|
2320
|
-
var
|
|
2407
|
+
var e_14, _a;
|
|
2321
2408
|
var d = new StringBuilder(0);
|
|
2322
2409
|
var e = new StringBuilder(0);
|
|
2323
2410
|
var f = new StringBuilder(0);
|
|
@@ -2329,14 +2416,14 @@ var CodeGenerationContainer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2329
2416
|
h.p(i, true);
|
|
2330
2417
|
var j = i.toString();
|
|
2331
2418
|
a.addContainerResult(this.id, j);
|
|
2332
|
-
i.
|
|
2333
|
-
i.
|
|
2334
|
-
i.
|
|
2335
|
-
i.
|
|
2419
|
+
i.aw(d);
|
|
2420
|
+
i.az(e);
|
|
2421
|
+
i.av(f);
|
|
2422
|
+
i.ax(g);
|
|
2336
2423
|
}
|
|
2337
2424
|
}
|
|
2338
|
-
catch (
|
|
2339
|
-
|
|
2425
|
+
catch (e_14_1) {
|
|
2426
|
+
e_14 = { error: e_14_1 };
|
|
2340
2427
|
}
|
|
2341
2428
|
finally {
|
|
2342
2429
|
try {
|
|
@@ -2344,8 +2431,8 @@ var CodeGenerationContainer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2344
2431
|
_a.call(_b);
|
|
2345
2432
|
}
|
|
2346
2433
|
finally {
|
|
2347
|
-
if (
|
|
2348
|
-
throw
|
|
2434
|
+
if (e_14)
|
|
2435
|
+
throw e_14.error;
|
|
2349
2436
|
}
|
|
2350
2437
|
}
|
|
2351
2438
|
a.addContainerResult("bindingFields", d.toString());
|
|
@@ -2426,31 +2513,31 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2426
2513
|
return null;
|
|
2427
2514
|
};
|
|
2428
2515
|
CodeGenerationItemBuilder.prototype.p = function (a, b) {
|
|
2429
|
-
var
|
|
2516
|
+
var e_15, _a, e_16, _b;
|
|
2430
2517
|
var c = this.m();
|
|
2431
2518
|
if (b) {
|
|
2432
2519
|
var d = this.n();
|
|
2433
|
-
a.
|
|
2520
|
+
a.aq = d;
|
|
2434
2521
|
}
|
|
2435
2522
|
var e = false;
|
|
2436
2523
|
var f = false;
|
|
2437
2524
|
if (this.f.containsKey("Name")) {
|
|
2438
2525
|
e = true;
|
|
2439
|
-
a.
|
|
2526
|
+
a.a6(this.f.item("Name").c);
|
|
2440
2527
|
}
|
|
2441
2528
|
else if (this.f.containsKey("name")) {
|
|
2442
2529
|
e = true;
|
|
2443
|
-
a.
|
|
2530
|
+
a.a6(this.f.item("name").c);
|
|
2444
2531
|
}
|
|
2445
2532
|
else {
|
|
2446
2533
|
if (this.e(a)) {
|
|
2447
2534
|
f = true;
|
|
2448
|
-
a.
|
|
2449
|
-
if (a.
|
|
2535
|
+
a.a5(c);
|
|
2536
|
+
if (a.s) {
|
|
2450
2537
|
this.g.add("name");
|
|
2451
2538
|
this.f.addItem("name", ((function () {
|
|
2452
2539
|
var $ret = new CodeGenerationItemBuilderPropertyInfo();
|
|
2453
|
-
$ret.c = a.
|
|
2540
|
+
$ret.c = a.ad;
|
|
2454
2541
|
return $ret;
|
|
2455
2542
|
})()));
|
|
2456
2543
|
}
|
|
@@ -2458,13 +2545,13 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2458
2545
|
this.g.add("Name");
|
|
2459
2546
|
this.f.addItem("Name", ((function () {
|
|
2460
2547
|
var $ret = new CodeGenerationItemBuilderPropertyInfo();
|
|
2461
|
-
$ret.c = a.
|
|
2548
|
+
$ret.c = a.ad;
|
|
2462
2549
|
return $ret;
|
|
2463
2550
|
})()));
|
|
2464
2551
|
}
|
|
2465
2552
|
}
|
|
2466
2553
|
}
|
|
2467
|
-
a.
|
|
2554
|
+
a.au(c);
|
|
2468
2555
|
var g = 0;
|
|
2469
2556
|
try {
|
|
2470
2557
|
for (var _c = __values(fromEnum(this.g)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
@@ -2474,13 +2561,13 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2474
2561
|
continue;
|
|
2475
2562
|
}
|
|
2476
2563
|
if (this.d(h, i)) {
|
|
2477
|
-
a.
|
|
2564
|
+
a.a0(g, h, i, this.c);
|
|
2478
2565
|
g++;
|
|
2479
2566
|
}
|
|
2480
2567
|
}
|
|
2481
2568
|
}
|
|
2482
|
-
catch (
|
|
2483
|
-
|
|
2569
|
+
catch (e_15_1) {
|
|
2570
|
+
e_15 = { error: e_15_1 };
|
|
2484
2571
|
}
|
|
2485
2572
|
finally {
|
|
2486
2573
|
try {
|
|
@@ -2488,11 +2575,11 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2488
2575
|
_a.call(_c);
|
|
2489
2576
|
}
|
|
2490
2577
|
finally {
|
|
2491
|
-
if (
|
|
2492
|
-
throw
|
|
2578
|
+
if (e_15)
|
|
2579
|
+
throw e_15.error;
|
|
2493
2580
|
}
|
|
2494
2581
|
}
|
|
2495
|
-
a.
|
|
2582
|
+
a.a7();
|
|
2496
2583
|
var j = 0;
|
|
2497
2584
|
try {
|
|
2498
2585
|
for (var _e = __values(fromEnum(this.g)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
@@ -2502,13 +2589,13 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2502
2589
|
continue;
|
|
2503
2590
|
}
|
|
2504
2591
|
if (!this.d(k, l)) {
|
|
2505
|
-
a.
|
|
2592
|
+
a.a1(j, k, l, this.c);
|
|
2506
2593
|
j++;
|
|
2507
2594
|
}
|
|
2508
2595
|
}
|
|
2509
2596
|
}
|
|
2510
|
-
catch (
|
|
2511
|
-
|
|
2597
|
+
catch (e_16_1) {
|
|
2598
|
+
e_16 = { error: e_16_1 };
|
|
2512
2599
|
}
|
|
2513
2600
|
finally {
|
|
2514
2601
|
try {
|
|
@@ -2516,22 +2603,22 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2516
2603
|
_b.call(_e);
|
|
2517
2604
|
}
|
|
2518
2605
|
finally {
|
|
2519
|
-
if (
|
|
2520
|
-
throw
|
|
2606
|
+
if (e_16)
|
|
2607
|
+
throw e_16.error;
|
|
2521
2608
|
}
|
|
2522
2609
|
}
|
|
2523
|
-
a.
|
|
2610
|
+
a.a2(c);
|
|
2524
2611
|
if (e) {
|
|
2525
|
-
a.
|
|
2612
|
+
a.a4();
|
|
2526
2613
|
}
|
|
2527
2614
|
else {
|
|
2528
2615
|
if (f) {
|
|
2529
|
-
a.
|
|
2616
|
+
a.a3();
|
|
2530
2617
|
}
|
|
2531
2618
|
}
|
|
2532
2619
|
};
|
|
2533
2620
|
CodeGenerationItemBuilder.prototype.e = function (a) {
|
|
2534
|
-
var
|
|
2621
|
+
var e_17, _a;
|
|
2535
2622
|
try {
|
|
2536
2623
|
for (var _b = __values(fromEnum(this.g)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2537
2624
|
var b = _c.value;
|
|
@@ -2541,8 +2628,8 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2541
2628
|
}
|
|
2542
2629
|
}
|
|
2543
2630
|
}
|
|
2544
|
-
catch (
|
|
2545
|
-
|
|
2631
|
+
catch (e_17_1) {
|
|
2632
|
+
e_17 = { error: e_17_1 };
|
|
2546
2633
|
}
|
|
2547
2634
|
finally {
|
|
2548
2635
|
try {
|
|
@@ -2550,8 +2637,8 @@ var CodeGenerationItemBuilder = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2550
2637
|
_a.call(_b);
|
|
2551
2638
|
}
|
|
2552
2639
|
finally {
|
|
2553
|
-
if (
|
|
2554
|
-
throw
|
|
2640
|
+
if (e_17)
|
|
2641
|
+
throw e_17.error;
|
|
2555
2642
|
}
|
|
2556
2643
|
}
|
|
2557
2644
|
return false;
|