igniteui-webcomponents-grids 5.0.1 → 5.0.2
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-webcomponents-grids.umd.js +1366 -1366
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasGridCellBase.js +52 -52
- package/esm2015/lib/CanvasTemplateCellPresenter.js +7 -7
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +6 -6
- package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +165 -165
- package/esm2015/lib/ColumnChooserView_combined.js +42 -42
- package/esm2015/lib/ColumnFilterCondition_combined.js +659 -659
- package/esm2015/lib/ColumnGroupingView_combined.js +40 -40
- package/esm2015/lib/ColumnPinningView_combined.js +42 -42
- package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +2 -2
- package/esm2015/lib/DataGridCellLayoutPanel.js +48 -48
- package/esm2015/lib/DataGridToolbarView_combined.js +87 -87
- package/esm2015/lib/EditorCell.js +86 -86
- package/esm2015/lib/EditorCellPresenter.js +1 -1
- package/esm2015/lib/FilterCell.js +90 -90
- package/esm2015/lib/FilterCellPresenter.js +1 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +7 -7
- package/esm2015/lib/ISummaryChooserView_combined.js +6 -6
- package/esm2015/lib/TemplateHeader.js +1 -1
- package/esm2015/lib/igc-checkbox-list-component.js +26 -26
- package/esm2015/lib/igc-column-chooser-component.js +2 -2
- package/esm2015/lib/igc-column-pinning-component.js +2 -2
- package/esm2015/lib/igc-data-grid-toolbar-component.js +2 -2
- package/esm2015/public_api.js +20 -20
- package/esm5/lib/CanvasGridCellBase.js +52 -52
- package/esm5/lib/CanvasTemplateCellPresenter.js +7 -7
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +6 -6
- package/esm5/lib/CanvasTextHeaderCell.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +156 -156
- package/esm5/lib/ColumnChooserView_combined.js +41 -41
- package/esm5/lib/ColumnFilterCondition_combined.js +654 -654
- package/esm5/lib/ColumnGroupingView_combined.js +40 -40
- package/esm5/lib/ColumnPinningView_combined.js +41 -41
- package/esm5/lib/DataGridAccessibilityLayoutPanel.js +2 -2
- package/esm5/lib/DataGridCellLayoutPanel.js +48 -48
- package/esm5/lib/DataGridToolbarView_combined.js +86 -86
- package/esm5/lib/EditorCell.js +85 -85
- package/esm5/lib/EditorCellPresenter.js +1 -1
- package/esm5/lib/FilterCell.js +88 -88
- package/esm5/lib/FilterCellPresenter.js +1 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +7 -7
- package/esm5/lib/ISummaryChooserView_combined.js +6 -6
- package/esm5/lib/TemplateHeader.js +1 -1
- package/esm5/lib/igc-checkbox-list-component.js +26 -26
- package/esm5/lib/igc-column-chooser-component.js +2 -2
- package/esm5/lib/igc-column-pinning-component.js +2 -2
- package/esm5/lib/igc-data-grid-toolbar-component.js +2 -2
- package/esm5/public_api.js +20 -20
- package/fesm2015/igniteui-webcomponents-grids.js +1386 -1386
- package/fesm5/igniteui-webcomponents-grids.js +1366 -1366
- package/grids/combined.js +587 -590
- package/grids/lib/igc-grid-base-directive.d.ts +1 -0
- package/grids/lib/igc-row-island-component.d.ts +1 -0
- package/grids/styles.css +1 -1
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/lib/CanvasGridCellBase.d.ts +7 -7
- package/lib/CanvasTemplateCellPresenter.d.ts +2 -2
- package/lib/CanvasTemplateHeaderCellPresenter.d.ts +2 -2
- package/lib/CheckboxListView_combined.d.ts +23 -23
- package/lib/ColumnChooserView_combined.d.ts +4 -4
- package/lib/ColumnFilterCondition_combined.d.ts +113 -113
- package/lib/ColumnGroupingView_combined.d.ts +2 -2
- package/lib/ColumnPinningView_combined.d.ts +4 -4
- package/lib/DataGridCellLayoutPanel.d.ts +3 -3
- package/lib/DataGridToolbarView_combined.d.ts +5 -5
- package/lib/EditorCell.d.ts +8 -8
- package/lib/FilterCell.d.ts +12 -12
- package/package.json +4 -4
- package/public_api.d.ts +20 -20
package/esm5/lib/FilterCell.js
CHANGED
|
@@ -32,14 +32,14 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
32
32
|
_this.c5 = null;
|
|
33
33
|
_this.cv = null;
|
|
34
34
|
_this.cu = null;
|
|
35
|
-
_this.ct = null;
|
|
36
35
|
_this.ck = null;
|
|
36
|
+
_this.cl = null;
|
|
37
37
|
_this.cw = null;
|
|
38
|
-
_this.
|
|
38
|
+
_this.cs = null;
|
|
39
39
|
_this.cz = true;
|
|
40
|
-
_this.
|
|
40
|
+
_this.cm = 0;
|
|
41
41
|
_this.c0 = true;
|
|
42
|
-
_this.
|
|
42
|
+
_this.cq = null;
|
|
43
43
|
_this.cx = null;
|
|
44
44
|
_this.c7 = null;
|
|
45
45
|
_this.ch = null;
|
|
@@ -52,8 +52,8 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
52
52
|
_this.ae.append(_this.c4);
|
|
53
53
|
_this.c6 = a.createElement("div");
|
|
54
54
|
_this.c2 = a.getSubRenderer(_this.c6);
|
|
55
|
-
_this.
|
|
56
|
-
_this.
|
|
55
|
+
_this.cl = new ComparisonOperatorSelector();
|
|
56
|
+
_this.cl.ej(_this.c2);
|
|
57
57
|
_this.c6.setStyleProperty("width", "24px");
|
|
58
58
|
_this.c6.setStyleProperty("height", "24px");
|
|
59
59
|
_this.c4.append(_this.c6);
|
|
@@ -70,8 +70,8 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
70
70
|
_this.dp();
|
|
71
71
|
return _this;
|
|
72
72
|
}
|
|
73
|
-
FilterCell.prototype.
|
|
74
|
-
switch (this.
|
|
73
|
+
FilterCell.prototype.ct = function (a) {
|
|
74
|
+
switch (this.cn) {
|
|
75
75
|
case 0:
|
|
76
76
|
case 1:
|
|
77
77
|
if (this.cv == null) {
|
|
@@ -84,10 +84,10 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
84
84
|
}
|
|
85
85
|
return this.cu;
|
|
86
86
|
case 3:
|
|
87
|
-
if (this.
|
|
88
|
-
this.
|
|
87
|
+
if (this.ck == null) {
|
|
88
|
+
this.ck = new DateEditorView(this.ab, this.f.getTheme(), this.b);
|
|
89
89
|
}
|
|
90
|
-
return this.
|
|
90
|
+
return this.ck;
|
|
91
91
|
default: return null;
|
|
92
92
|
}
|
|
93
93
|
};
|
|
@@ -95,7 +95,7 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
95
95
|
this.c3.removeChildren();
|
|
96
96
|
};
|
|
97
97
|
FilterCell.prototype.dm = function () {
|
|
98
|
-
this.c3.append(this.
|
|
98
|
+
this.c3.append(this.cs.container);
|
|
99
99
|
};
|
|
100
100
|
FilterCell.prototype.du = function () {
|
|
101
101
|
if (this.ae.getChildCount() == 0) {
|
|
@@ -128,7 +128,7 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
FilterCell.prototype.dp = function () {
|
|
131
|
-
var a = this.
|
|
131
|
+
var a = this.cl;
|
|
132
132
|
a.valueChanged = delegateCombine(a.valueChanged, runOn(this, this.dz));
|
|
133
133
|
this.cw.svgPath = FilterCell.c9;
|
|
134
134
|
this.d4(false);
|
|
@@ -136,11 +136,11 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
136
136
|
b.clicked = delegateCombine(b.clicked, runOn(this, this.dn));
|
|
137
137
|
};
|
|
138
138
|
FilterCell.prototype.dy = function () {
|
|
139
|
-
if (this.
|
|
139
|
+
if (this.cs == null) {
|
|
140
140
|
this.dt();
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
|
-
FilterCell.prototype.
|
|
143
|
+
FilterCell.prototype.co = function () {
|
|
144
144
|
var a = 1;
|
|
145
145
|
switch (this.cj) {
|
|
146
146
|
case 11:
|
|
@@ -161,7 +161,7 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
161
161
|
a = 2;
|
|
162
162
|
break;
|
|
163
163
|
}
|
|
164
|
-
switch (this.
|
|
164
|
+
switch (this.cl.b) {
|
|
165
165
|
case 6:
|
|
166
166
|
case 8:
|
|
167
167
|
case 7:
|
|
@@ -175,9 +175,9 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
175
175
|
a = 2;
|
|
176
176
|
break;
|
|
177
177
|
}
|
|
178
|
-
if (this.
|
|
179
|
-
if (this.
|
|
180
|
-
var b = this.
|
|
178
|
+
if (this.cl.b == 44) {
|
|
179
|
+
if (this.cr != null && this.cr.count > 0) {
|
|
180
|
+
var b = this.cr._inner[this.cl.x];
|
|
181
181
|
switch (b.b) {
|
|
182
182
|
case 0:
|
|
183
183
|
case 1:
|
|
@@ -204,13 +204,13 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
204
204
|
if (!this.cz) {
|
|
205
205
|
return;
|
|
206
206
|
}
|
|
207
|
-
if (this.
|
|
208
|
-
if (this.
|
|
209
|
-
this.b.applyCustomFilter(this.
|
|
207
|
+
if (this.cl.b == 44) {
|
|
208
|
+
if (this.cr != null && this.cr.count > 0) {
|
|
209
|
+
this.b.applyCustomFilter(this.cl.ae, this.cl.x, a);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
else {
|
|
213
|
-
this.b.applyFilter(this.
|
|
213
|
+
this.b.applyFilter(this.cl.b, a);
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
216
|
FilterCell.prototype.dj = function () {
|
|
@@ -242,77 +242,77 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
242
242
|
this.dw();
|
|
243
243
|
break;
|
|
244
244
|
case "IsEditorEnabled":
|
|
245
|
-
this.
|
|
245
|
+
this.cs.isEnabled = this.c1;
|
|
246
246
|
break;
|
|
247
247
|
case "TextColor":
|
|
248
|
-
this.
|
|
248
|
+
this.cl.eq = this.d7;
|
|
249
249
|
this.cw.fill = this.d7;
|
|
250
|
-
this.
|
|
250
|
+
this.cs.textColor = this.d7;
|
|
251
251
|
break;
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
FilterCell.prototype.dv = function () {
|
|
255
255
|
this.cz = false;
|
|
256
|
-
if (this.
|
|
256
|
+
if (this.cs != null) {
|
|
257
257
|
if (this.ci != null) {
|
|
258
258
|
if (typeCast(ColumnComparisonFilterCondition.$, this.ci) !== null) {
|
|
259
259
|
var a = typeCast(ColumnComparisonFilterCondition.$, this.ci);
|
|
260
|
-
this.
|
|
261
|
-
var b = this.
|
|
260
|
+
this.cl.b = a.operator;
|
|
261
|
+
var b = this.cs.getEditorValue();
|
|
262
262
|
if (b != null) {
|
|
263
263
|
if (!Base.equalsStatic(b, a.value)) {
|
|
264
|
-
this.
|
|
264
|
+
this.cs.value = a.value;
|
|
265
265
|
this.c8 = a.value;
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
else {
|
|
269
|
-
this.
|
|
269
|
+
this.cs.value = a.value;
|
|
270
270
|
this.c8 = a.value;
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
else if (typeCast(ColumnCustomFilterCondition.$, this.ci) !== null) {
|
|
274
274
|
var c = typeCast(ColumnCustomFilterCondition.$, this.ci);
|
|
275
|
-
this.
|
|
276
|
-
var d = this.
|
|
275
|
+
this.cl.ek(c.id, c.index);
|
|
276
|
+
var d = this.cs.getEditorValue();
|
|
277
277
|
if (d != null) {
|
|
278
278
|
if (!Base.equalsStatic(d, c.value)) {
|
|
279
|
-
this.
|
|
279
|
+
this.cs.value = c.value;
|
|
280
280
|
this.c8 = c.value;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
else {
|
|
284
|
-
this.
|
|
284
|
+
this.cs.value = c.value;
|
|
285
285
|
this.c8 = c.value;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
else if (!(typeCast(ColumnCustomFilterCondition.$, this.ci) !== null)) {
|
|
289
289
|
this.c8 = null;
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
290
|
+
this.cs.value = this.c8;
|
|
291
|
+
this.cs.setEditorValue(this.c8);
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
else {
|
|
295
295
|
this.c8 = null;
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
296
|
+
this.cs.value = this.c8;
|
|
297
|
+
this.cs.setEditorValue(this.c8);
|
|
298
298
|
if (!this.c1) {
|
|
299
|
-
this.
|
|
299
|
+
this.cl.b = 0;
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
this.cz = true;
|
|
304
304
|
};
|
|
305
305
|
FilterCell.prototype.dq = function () {
|
|
306
|
-
this.
|
|
307
|
-
for (var a = 0; a < this.
|
|
308
|
-
this.
|
|
306
|
+
this.cl.d7();
|
|
307
|
+
for (var a = 0; a < this.cr.count; a++) {
|
|
308
|
+
this.cl.d1(this.cr._inner[a].e, this.cr._inner[a].f, this.cr._inner[a].g, a);
|
|
309
309
|
}
|
|
310
310
|
};
|
|
311
311
|
FilterCell.prototype.dr = function () {
|
|
312
312
|
if (this.cj == 11) {
|
|
313
313
|
this.c1 = false;
|
|
314
314
|
}
|
|
315
|
-
this.
|
|
315
|
+
this.cn = this.co();
|
|
316
316
|
};
|
|
317
317
|
FilterCell.prototype.dw = function () {
|
|
318
318
|
this.d4(this.c8 != null);
|
|
@@ -327,21 +327,21 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
329
|
FilterCell.prototype.dt = function () {
|
|
330
|
-
if (this.
|
|
331
|
-
this.
|
|
332
|
-
var a = this.
|
|
330
|
+
if (this.cs != null) {
|
|
331
|
+
this.cs.detachEvents();
|
|
332
|
+
var a = this.cs;
|
|
333
333
|
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.d3));
|
|
334
334
|
}
|
|
335
335
|
this.d1();
|
|
336
|
-
this.
|
|
337
|
-
this.
|
|
338
|
-
if (this.
|
|
339
|
-
this.
|
|
340
|
-
this.
|
|
341
|
-
this.
|
|
342
|
-
this.
|
|
343
|
-
this.
|
|
344
|
-
var b = this.
|
|
336
|
+
this.cs = this.ct(this.cn);
|
|
337
|
+
this.cs.onEditStarted();
|
|
338
|
+
if (this.cs != null) {
|
|
339
|
+
this.cs.attachEvents();
|
|
340
|
+
this.cs.setFont(this.cy);
|
|
341
|
+
this.cs.isEnabled = this.c1;
|
|
342
|
+
this.cs.focusOnValueChanged = false;
|
|
343
|
+
this.cs.showClearButton = false;
|
|
344
|
+
var b = this.cs;
|
|
345
345
|
b.valueProvided = delegateCombine(b.valueProvided, runOn(this, this.d3));
|
|
346
346
|
this.dm();
|
|
347
347
|
}
|
|
@@ -349,13 +349,13 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
349
349
|
};
|
|
350
350
|
FilterCell.prototype.dx = function () {
|
|
351
351
|
if (this.cy != null) {
|
|
352
|
-
if (this.
|
|
353
|
-
this.
|
|
352
|
+
if (this.cs != null) {
|
|
353
|
+
this.cs.setFont(this.cy);
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
};
|
|
357
357
|
FilterCell.prototype.dz = function (a, b) {
|
|
358
|
-
this.
|
|
358
|
+
this.cn = this.co();
|
|
359
359
|
switch (b.newValue) {
|
|
360
360
|
case 40:
|
|
361
361
|
case 11:
|
|
@@ -393,8 +393,8 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
393
393
|
this.c1 = false;
|
|
394
394
|
}
|
|
395
395
|
if (b.newValue == 44) {
|
|
396
|
-
if (this.
|
|
397
|
-
var c = this.
|
|
396
|
+
if (this.cr != null && this.cr.count > 0) {
|
|
397
|
+
var c = this.cr._inner[this.cl.x];
|
|
398
398
|
this.c1 = c.d;
|
|
399
399
|
}
|
|
400
400
|
}
|
|
@@ -410,24 +410,24 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
410
410
|
this.d4(false);
|
|
411
411
|
}
|
|
412
412
|
if (this.d != null) {
|
|
413
|
-
this.d.update("OperatorType", enumGetBox(ColumnComparisonConditionOperatorType_$type, this.
|
|
413
|
+
this.d.update("OperatorType", enumGetBox(ColumnComparisonConditionOperatorType_$type, this.cl.b));
|
|
414
414
|
}
|
|
415
415
|
};
|
|
416
416
|
FilterCell.prototype.dn = function (a, b) {
|
|
417
417
|
if (b != null) {
|
|
418
418
|
if (!this.c1) {
|
|
419
|
-
this.
|
|
419
|
+
this.cl.b = 0;
|
|
420
420
|
this.dj();
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
this.c8 = null;
|
|
424
|
-
if (this.
|
|
425
|
-
this.
|
|
426
|
-
this.
|
|
424
|
+
if (this.cs != null) {
|
|
425
|
+
this.cs.setEditorValue(null);
|
|
426
|
+
this.cs.value = null;
|
|
427
427
|
}
|
|
428
428
|
};
|
|
429
429
|
FilterCell.prototype.d3 = function (a, b, c) {
|
|
430
|
-
if (this.
|
|
430
|
+
if (this.cn == 2) {
|
|
431
431
|
if (typeof b === 'string') {
|
|
432
432
|
var d_1;
|
|
433
433
|
if (((function () { var e = tryParseNumber(b, d_1); d_1 = e.p1; return e.ret; })())) {
|
|
@@ -440,16 +440,16 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
440
440
|
FilterCell.prototype.d5 = function (a, b, c, d) {
|
|
441
441
|
this.d2(a, b, c, d);
|
|
442
442
|
};
|
|
443
|
-
FilterCell.prototype.
|
|
443
|
+
FilterCell.prototype.cp = function (a, b) {
|
|
444
444
|
if (a != null) {
|
|
445
|
-
for (var c = 0; c < this.
|
|
446
|
-
if (this.
|
|
447
|
-
return this.
|
|
445
|
+
for (var c = 0; c < this.cr.count; c++) {
|
|
446
|
+
if (this.cr._inner[c].g == a) {
|
|
447
|
+
return this.cr._inner[c];
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
if (b >= 0 && b < this.
|
|
452
|
-
return this.
|
|
451
|
+
if (b >= 0 && b < this.cr.count) {
|
|
452
|
+
return this.cr._inner[b];
|
|
453
453
|
}
|
|
454
454
|
return null;
|
|
455
455
|
};
|
|
@@ -461,27 +461,27 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
461
461
|
};
|
|
462
462
|
Object.defineProperty(FilterCell.prototype, "cj", {
|
|
463
463
|
get: function () {
|
|
464
|
-
return this.
|
|
464
|
+
return this.cl.d;
|
|
465
465
|
},
|
|
466
466
|
set: function (a) {
|
|
467
|
-
var b = this.
|
|
468
|
-
this.
|
|
467
|
+
var b = this.cl.d;
|
|
468
|
+
this.cl.d = a;
|
|
469
469
|
if (b != a) {
|
|
470
|
-
this.bp("DataType", enumGetBox(DataSourceSchemaPropertyType_$type, b), enumGetBox(DataSourceSchemaPropertyType_$type, this.
|
|
470
|
+
this.bp("DataType", enumGetBox(DataSourceSchemaPropertyType_$type, b), enumGetBox(DataSourceSchemaPropertyType_$type, this.cl.d));
|
|
471
471
|
}
|
|
472
472
|
},
|
|
473
473
|
enumerable: false,
|
|
474
474
|
configurable: true
|
|
475
475
|
});
|
|
476
|
-
Object.defineProperty(FilterCell.prototype, "
|
|
476
|
+
Object.defineProperty(FilterCell.prototype, "cn", {
|
|
477
477
|
get: function () {
|
|
478
|
-
return this.
|
|
478
|
+
return this.cm;
|
|
479
479
|
},
|
|
480
480
|
set: function (a) {
|
|
481
|
-
var b = this.
|
|
482
|
-
this.
|
|
481
|
+
var b = this.cm;
|
|
482
|
+
this.cm = a;
|
|
483
483
|
if (b != a) {
|
|
484
|
-
this.bp("EditorType", enumGetBox(EditorType_$type, b), enumGetBox(EditorType_$type, this.
|
|
484
|
+
this.bp("EditorType", enumGetBox(EditorType_$type, b), enumGetBox(EditorType_$type, this.cm));
|
|
485
485
|
}
|
|
486
486
|
},
|
|
487
487
|
enumerable: false,
|
|
@@ -501,15 +501,15 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
501
501
|
enumerable: false,
|
|
502
502
|
configurable: true
|
|
503
503
|
});
|
|
504
|
-
Object.defineProperty(FilterCell.prototype, "
|
|
504
|
+
Object.defineProperty(FilterCell.prototype, "cr", {
|
|
505
505
|
get: function () {
|
|
506
|
-
return this.
|
|
506
|
+
return this.cq;
|
|
507
507
|
},
|
|
508
508
|
set: function (a) {
|
|
509
|
-
var b = this.
|
|
510
|
-
this.
|
|
511
|
-
if (this.
|
|
512
|
-
this.bp("FilterOperands", b, this.
|
|
509
|
+
var b = this.cq;
|
|
510
|
+
this.cq = a;
|
|
511
|
+
if (this.cq != null) {
|
|
512
|
+
this.bp("FilterOperands", b, this.cq);
|
|
513
513
|
}
|
|
514
514
|
},
|
|
515
515
|
enumerable: false,
|
|
@@ -300,7 +300,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
300
300
|
};
|
|
301
301
|
GridColumnFilterOptions.prototype.cj = function () {
|
|
302
302
|
var e_1, _a;
|
|
303
|
-
if (0 == this.bx.
|
|
303
|
+
if (0 == this.bx.h.count) {
|
|
304
304
|
this.cl();
|
|
305
305
|
return;
|
|
306
306
|
}
|
|
@@ -315,7 +315,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
315
315
|
a = 0;
|
|
316
316
|
}
|
|
317
317
|
var c = new List$1(ColumnComparisonFilterCondition.$, 0);
|
|
318
|
-
var d = this.bx.
|
|
318
|
+
var d = this.bx.h;
|
|
319
319
|
for (var e = 0; e < d.count; e++) {
|
|
320
320
|
var f = d._inner[e];
|
|
321
321
|
var g = f.value[0];
|
|
@@ -428,8 +428,8 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
this.bx.itemsSource = e;
|
|
431
|
-
this.bx.
|
|
432
|
-
this.bx.
|
|
431
|
+
this.bx.dataMemberPath = c;
|
|
432
|
+
this.bx.primaryKey = [c];
|
|
433
433
|
e.shouldEmitSectionHeaders = true;
|
|
434
434
|
e.isSectionHeaderNormalRow = true;
|
|
435
435
|
e.isSectionExpandedDefault = false;
|
|
@@ -485,7 +485,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
485
485
|
this.bx.c2();
|
|
486
486
|
break;
|
|
487
487
|
}
|
|
488
|
-
var h = this.bx.
|
|
488
|
+
var h = this.bx.h;
|
|
489
489
|
try {
|
|
490
490
|
for (var _b = __values(fromEnum(e)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
491
491
|
var i = _c.value;
|
|
@@ -539,9 +539,9 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
539
539
|
};
|
|
540
540
|
GridColumnFilterOptions.prototype.cw = function () {
|
|
541
541
|
if (null != this.bx) {
|
|
542
|
-
this.bx.
|
|
542
|
+
this.bx.density = this.b0;
|
|
543
543
|
this.bx.bi = this.cc;
|
|
544
|
-
this.bx.
|
|
544
|
+
this.bx.backgroundColor = this.bo;
|
|
545
545
|
this.bx.d5 = this.br;
|
|
546
546
|
this.bx.aa = this.i;
|
|
547
547
|
this.bx.updateHrMargin(new Thickness(1, -7, 3, -7, 3));
|
|
@@ -394,18 +394,18 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
394
394
|
};
|
|
395
395
|
SummaryChooser.prototype.a6 = function () {
|
|
396
396
|
if (this.e != null) {
|
|
397
|
-
this.e.
|
|
397
|
+
this.e.density = this.m;
|
|
398
398
|
this.e.d5 = this.ba;
|
|
399
399
|
this.e.aa = this.i;
|
|
400
|
-
this.e.
|
|
401
|
-
this.e.
|
|
400
|
+
this.e.backgroundColor = this.a9;
|
|
401
|
+
this.e.showSelectAll = false;
|
|
402
402
|
this.e.as = false;
|
|
403
403
|
this.e.ap = false;
|
|
404
404
|
this.e.updateHrMargin(new Thickness(1, -7, 3, -7, 3));
|
|
405
405
|
this.e.itemsSource = this.q;
|
|
406
|
-
this.e.
|
|
407
|
-
this.e.
|
|
408
|
-
this.e.
|
|
406
|
+
this.e.dataMemberPath = "label";
|
|
407
|
+
this.e.selectedMemberPath = "isSelected";
|
|
408
|
+
this.e.primaryKey = ["label"];
|
|
409
409
|
}
|
|
410
410
|
};
|
|
411
411
|
SummaryChooser.prototype.a0 = function (a, b, c) {
|
|
@@ -29,7 +29,7 @@ var TemplateHeader = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
29
29
|
TemplateHeader.prototype.cz = function (a, b, c, d) {
|
|
30
30
|
_super.prototype.cz.call(this, a, b, c, d);
|
|
31
31
|
var e = a;
|
|
32
|
-
var f = b.
|
|
32
|
+
var f = b.ce(a.l);
|
|
33
33
|
e.ll = f.im;
|
|
34
34
|
e.n = f.ff;
|
|
35
35
|
e.lo = f.gt;
|
|
@@ -245,7 +245,7 @@ var IgcCheckboxListComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
245
245
|
get: function () {
|
|
246
246
|
if (this._keys === null) {
|
|
247
247
|
var coll = new IgcGridSelectedKeysCollection();
|
|
248
|
-
var innerColl = this.i.
|
|
248
|
+
var innerColl = this.i.h;
|
|
249
249
|
if (!innerColl) {
|
|
250
250
|
innerColl = new GridSelectedKeysCollection_internal();
|
|
251
251
|
}
|
|
@@ -261,7 +261,7 @@ var IgcCheckboxListComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
261
261
|
var coll = new IgcGridSelectedKeysCollection();
|
|
262
262
|
this._keys = coll._fromOuter(v);
|
|
263
263
|
var syncColl = new SyncableObservableCollection$1(PrimaryKeyValue.$type);
|
|
264
|
-
var innerColl = this.i.
|
|
264
|
+
var innerColl = this.i.h;
|
|
265
265
|
if (!innerColl) {
|
|
266
266
|
innerColl = new GridSelectedKeysCollection_internal();
|
|
267
267
|
}
|
|
@@ -277,14 +277,14 @@ var IgcCheckboxListComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
277
277
|
* Gets or sets the primary key to use for the CheckboxList.
|
|
278
278
|
*/
|
|
279
279
|
get: function () {
|
|
280
|
-
return this.i.
|
|
280
|
+
return this.i.primaryKey;
|
|
281
281
|
},
|
|
282
282
|
set: function (v) {
|
|
283
283
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
284
284
|
var re = /\s*(?:,|\s|$)\s*/gm;
|
|
285
285
|
v = v.split(re);
|
|
286
286
|
}
|
|
287
|
-
this.i.
|
|
287
|
+
this.i.primaryKey = v;
|
|
288
288
|
},
|
|
289
289
|
enumerable: false,
|
|
290
290
|
configurable: true
|
|
@@ -294,10 +294,10 @@ var IgcCheckboxListComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
294
294
|
* Gets or Sets the property name that contains the values.
|
|
295
295
|
*/
|
|
296
296
|
get: function () {
|
|
297
|
-
return this.i.
|
|
297
|
+
return this.i.dataMemberPath;
|
|
298
298
|
},
|
|
299
299
|
set: function (v) {
|
|
300
|
-
this.i.
|
|
300
|
+
this.i.dataMemberPath = v;
|
|
301
301
|
},
|
|
302
302
|
enumerable: false,
|
|
303
303
|
configurable: true
|
|
@@ -307,10 +307,10 @@ var IgcCheckboxListComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
307
307
|
* Gets or Sets the property name that contains the values.
|
|
308
308
|
*/
|
|
309
309
|
get: function () {
|
|
310
|
-
return this.i.
|
|
310
|
+
return this.i.selectedMemberPath;
|
|
311
311
|
},
|
|
312
312
|
set: function (v) {
|
|
313
|
-
this.i.
|
|
313
|
+
this.i.selectedMemberPath = v;
|
|
314
314
|
},
|
|
315
315
|
enumerable: false,
|
|
316
316
|
configurable: true
|
|
@@ -415,11 +415,11 @@ var IgcCheckboxListComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
415
415
|
* Gets or Sets the property name that contains the values.
|
|
416
416
|
*/
|
|
417
417
|
get: function () {
|
|
418
|
-
return this.i.
|
|
418
|
+
return this.i.density;
|
|
419
419
|
},
|
|
420
420
|
set: function (v) {
|
|
421
|
-
this.i.
|
|
422
|
-
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.
|
|
421
|
+
this.i.density = ensureEnum(ControlDisplayDensity_$type, v);
|
|
422
|
+
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.density));
|
|
423
423
|
},
|
|
424
424
|
enumerable: false,
|
|
425
425
|
configurable: true
|
|
@@ -429,11 +429,11 @@ var IgcCheckboxListComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
429
429
|
* Gets or sets the search icon color.
|
|
430
430
|
*/
|
|
431
431
|
get: function () {
|
|
432
|
-
return brushToString(this.i.
|
|
432
|
+
return brushToString(this.i.searchIconColor);
|
|
433
433
|
},
|
|
434
434
|
set: function (v) {
|
|
435
|
-
this.i.
|
|
436
|
-
this._a("searchIconColor", brushToString(this.i.
|
|
435
|
+
this.i.searchIconColor = stringToBrush(v);
|
|
436
|
+
this._a("searchIconColor", brushToString(this.i.searchIconColor));
|
|
437
437
|
},
|
|
438
438
|
enumerable: false,
|
|
439
439
|
configurable: true
|
|
@@ -457,11 +457,11 @@ var IgcCheckboxListComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
457
457
|
* Gets or sets the search text color.
|
|
458
458
|
*/
|
|
459
459
|
get: function () {
|
|
460
|
-
return brushToString(this.i.
|
|
460
|
+
return brushToString(this.i.searchTextColor);
|
|
461
461
|
},
|
|
462
462
|
set: function (v) {
|
|
463
|
-
this.i.
|
|
464
|
-
this._a("searchTextColor", brushToString(this.i.
|
|
463
|
+
this.i.searchTextColor = stringToBrush(v);
|
|
464
|
+
this._a("searchTextColor", brushToString(this.i.searchTextColor));
|
|
465
465
|
},
|
|
466
466
|
enumerable: false,
|
|
467
467
|
configurable: true
|
|
@@ -643,11 +643,11 @@ var IgcCheckboxListComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
643
643
|
* Gets / sets whether the "Select all" checkbox is visible.
|
|
644
644
|
*/
|
|
645
645
|
get: function () {
|
|
646
|
-
return this.i.
|
|
646
|
+
return this.i.showSelectAll;
|
|
647
647
|
},
|
|
648
648
|
set: function (v) {
|
|
649
|
-
this.i.
|
|
650
|
-
this._a("showSelectAll", this.i.
|
|
649
|
+
this.i.showSelectAll = ensureBool(v);
|
|
650
|
+
this._a("showSelectAll", this.i.showSelectAll);
|
|
651
651
|
},
|
|
652
652
|
enumerable: false,
|
|
653
653
|
configurable: true
|
|
@@ -657,11 +657,11 @@ var IgcCheckboxListComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
657
657
|
* Gets or sets the color to use for the background of the component.
|
|
658
658
|
*/
|
|
659
659
|
get: function () {
|
|
660
|
-
return brushToString(this.i.
|
|
660
|
+
return brushToString(this.i.backgroundColor);
|
|
661
661
|
},
|
|
662
662
|
set: function (v) {
|
|
663
|
-
this.i.
|
|
664
|
-
this._a("backgroundColor", brushToString(this.i.
|
|
663
|
+
this.i.backgroundColor = stringToBrush(v);
|
|
664
|
+
this._a("backgroundColor", brushToString(this.i.backgroundColor));
|
|
665
665
|
},
|
|
666
666
|
enumerable: false,
|
|
667
667
|
configurable: true
|
|
@@ -671,11 +671,11 @@ var IgcCheckboxListComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
671
671
|
* Gets or sets the color to use when hovering over a grid row.
|
|
672
672
|
*/
|
|
673
673
|
get: function () {
|
|
674
|
-
return brushToString(this.i.
|
|
674
|
+
return brushToString(this.i.rowHoverBackgroundColor);
|
|
675
675
|
},
|
|
676
676
|
set: function (v) {
|
|
677
|
-
this.i.
|
|
678
|
-
this._a("rowHoverBackgroundColor", brushToString(this.i.
|
|
677
|
+
this.i.rowHoverBackgroundColor = stringToBrush(v);
|
|
678
|
+
this._a("rowHoverBackgroundColor", brushToString(this.i.rowHoverBackgroundColor));
|
|
679
679
|
},
|
|
680
680
|
enumerable: false,
|
|
681
681
|
configurable: true
|
|
@@ -193,7 +193,7 @@ var IgcColumnChooserComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
193
193
|
* Gets or Sets the property name that contains the values.
|
|
194
194
|
*/
|
|
195
195
|
get: function () {
|
|
196
|
-
var r = this.i.
|
|
196
|
+
var r = this.i.c;
|
|
197
197
|
if (r == null) {
|
|
198
198
|
return null;
|
|
199
199
|
}
|
|
@@ -202,7 +202,7 @@ var IgcColumnChooserComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
202
202
|
set: function (v) {
|
|
203
203
|
if (v != null && this._stylingContainer && v._styling)
|
|
204
204
|
v._styling(this._stylingContainer, this, this);
|
|
205
|
-
v == null ? this.i.
|
|
205
|
+
v == null ? this.i.c = null : this.i.c = v.i;
|
|
206
206
|
},
|
|
207
207
|
enumerable: false,
|
|
208
208
|
configurable: true
|