igniteui-webcomponents-grids 4.2.2 → 4.2.3-alpha
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 +1132 -799
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BaseEditorView.js +30 -14
- package/esm2015/lib/CheckboxListView_combined.js +1 -0
- package/esm2015/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm2015/lib/ComboEditorView.js +111 -105
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +400 -343
- package/esm2015/lib/DateEditorView.js +94 -87
- package/esm2015/lib/EditorCell.js +10 -10
- package/esm2015/lib/FilterCell.js +76 -60
- package/esm2015/lib/FilterCellPresenter.js +6 -3
- package/esm2015/lib/GridColumnOptionsView_combined.js +47 -22
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +49 -23
- package/esm2015/lib/ISummaryChooserView_combined.js +1 -0
- package/esm2015/lib/NumericEditorView.js +3 -3
- package/esm2015/lib/TextEditorView.js +82 -75
- package/esm2015/lib/igc-data-grid-comparison-operator-selector-component.js +104 -59
- package/esm2015/lib/igc-grid-column-options-component.js +21 -1
- package/esm2015/lib/igc-grid-column-summary-options-component.js +16 -2
- package/esm5/lib/BaseEditorView.js +34 -14
- package/esm5/lib/CheckboxListView_combined.js +1 -0
- package/esm5/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm5/lib/ComboEditorView.js +108 -102
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +407 -342
- package/esm5/lib/DateEditorView.js +93 -86
- package/esm5/lib/EditorCell.js +10 -10
- package/esm5/lib/FilterCell.js +80 -60
- package/esm5/lib/FilterCellPresenter.js +6 -3
- package/esm5/lib/GridColumnOptionsView_combined.js +55 -22
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +57 -23
- package/esm5/lib/ISummaryChooserView_combined.js +1 -0
- package/esm5/lib/NumericEditorView.js +3 -3
- package/esm5/lib/TextEditorView.js +82 -75
- package/esm5/lib/igc-data-grid-comparison-operator-selector-component.js +117 -59
- package/esm5/lib/igc-grid-column-options-component.js +29 -1
- package/esm5/lib/igc-grid-column-summary-options-component.js +24 -2
- package/fesm2015/igniteui-webcomponents-grids.js +1076 -804
- package/fesm5/igniteui-webcomponents-grids.js +1132 -799
- package/grids/3rdpartylicenses.txt +445 -0
- package/grids/combined.js +44 -160
- package/grids/lib/igc-grid-base-directive.d.ts +14 -0
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +5 -1
- package/grids/lib/igc-grid-selection-range.d.ts +1 -0
- package/grids/lib/igc-row-data-event-args.d.ts +4 -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/BaseEditorView.d.ts +12 -8
- package/lib/ColumnFilterCondition_combined.d.ts +2 -0
- package/lib/ComboEditorView.d.ts +15 -14
- package/lib/ComboEditorView_ComboExternal.d.ts +1 -0
- package/lib/ComparisonOperatorSelectorView_combined.d.ts +104 -95
- package/lib/DateEditorView.d.ts +13 -12
- package/lib/FilterCell.d.ts +23 -20
- package/lib/GridColumnOptionsView_combined.d.ts +10 -5
- package/lib/GridColumnSummaryOptionsView_combined.d.ts +13 -8
- package/lib/IEditorView.d.ts +2 -0
- package/lib/TextEditorView.d.ts +10 -9
- package/lib/igc-data-grid-comparison-operator-selector-component.d.ts +11 -0
- package/lib/igc-grid-column-options-component.d.ts +8 -0
- package/lib/igc-grid-column-summary-options-component.d.ts +2 -0
- package/package.json +4 -4
package/esm5/lib/FilterCell.js
CHANGED
|
@@ -43,6 +43,7 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
43
43
|
_this.cx = null;
|
|
44
44
|
_this.c7 = null;
|
|
45
45
|
_this.ch = null;
|
|
46
|
+
_this.d6 = null;
|
|
46
47
|
_this.c4 = a.createElement("div");
|
|
47
48
|
_this.c4.setStyleProperty("display", "flex");
|
|
48
49
|
_this.c4.setStyleProperty("flex-direction", "row");
|
|
@@ -52,7 +53,7 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
52
53
|
_this.c6 = a.createElement("div");
|
|
53
54
|
_this.c2 = a.getSubRenderer(_this.c6);
|
|
54
55
|
_this.ck = new ComparisonOperatorSelector();
|
|
55
|
-
_this.ck.
|
|
56
|
+
_this.ck.ej(_this.c2);
|
|
56
57
|
_this.c6.setStyleProperty("width", "24px");
|
|
57
58
|
_this.c6.setStyleProperty("height", "24px");
|
|
58
59
|
_this.c4.append(_this.c6);
|
|
@@ -66,7 +67,7 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
66
67
|
_this.cw = new XIcon();
|
|
67
68
|
_this.cw.provideContainer(a.getSubRenderer(_this.c5));
|
|
68
69
|
_this.c4.append(_this.c5);
|
|
69
|
-
_this.
|
|
70
|
+
_this.dp();
|
|
70
71
|
return _this;
|
|
71
72
|
}
|
|
72
73
|
FilterCell.prototype.cs = function (a) {
|
|
@@ -90,30 +91,30 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
90
91
|
default: return null;
|
|
91
92
|
}
|
|
92
93
|
};
|
|
93
|
-
FilterCell.prototype.
|
|
94
|
+
FilterCell.prototype.d1 = function () {
|
|
94
95
|
this.c3.removeChildren();
|
|
95
96
|
};
|
|
96
|
-
FilterCell.prototype.
|
|
97
|
+
FilterCell.prototype.dm = function () {
|
|
97
98
|
this.c3.append(this.cr.container);
|
|
98
99
|
};
|
|
99
|
-
FilterCell.prototype.
|
|
100
|
+
FilterCell.prototype.du = function () {
|
|
100
101
|
if (this.ae.getChildCount() == 0) {
|
|
101
102
|
this.ae.append(this.c4);
|
|
102
103
|
}
|
|
103
104
|
};
|
|
104
|
-
FilterCell.prototype.
|
|
105
|
+
FilterCell.prototype.ds = function () {
|
|
105
106
|
if (this.ae.getChildCount() > 0) {
|
|
106
107
|
this.ae.removeChildren();
|
|
107
108
|
}
|
|
108
109
|
};
|
|
109
110
|
FilterCell.prototype.bp = function (a, b, c) {
|
|
110
111
|
_super.prototype.bp.call(this, a, b, c);
|
|
111
|
-
this.
|
|
112
|
+
this.d0(a, b, c);
|
|
112
113
|
};
|
|
113
114
|
FilterCell.prototype.bo = function () {
|
|
114
|
-
this.
|
|
115
|
+
this.dy();
|
|
115
116
|
};
|
|
116
|
-
FilterCell.prototype.
|
|
117
|
+
FilterCell.prototype.d2 = function (a, b, c, d) {
|
|
117
118
|
if (this.d != null) {
|
|
118
119
|
var e = this.c6.getNativeElement();
|
|
119
120
|
this.d.update("SelectorTop", (e.offsetTop));
|
|
@@ -126,17 +127,17 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
126
127
|
this.d.update("ClearIconLeft", (g.offsetLeft));
|
|
127
128
|
}
|
|
128
129
|
};
|
|
129
|
-
FilterCell.prototype.
|
|
130
|
+
FilterCell.prototype.dp = function () {
|
|
130
131
|
var a = this.ck;
|
|
131
|
-
a.valueChanged = delegateCombine(a.valueChanged, runOn(this, this.
|
|
132
|
+
a.valueChanged = delegateCombine(a.valueChanged, runOn(this, this.dz));
|
|
132
133
|
this.cw.svgPath = FilterCell.c9;
|
|
133
|
-
this.
|
|
134
|
+
this.d4(false);
|
|
134
135
|
var b = this.cw;
|
|
135
|
-
b.clicked = delegateCombine(b.clicked, runOn(this, this.
|
|
136
|
+
b.clicked = delegateCombine(b.clicked, runOn(this, this.dn));
|
|
136
137
|
};
|
|
137
|
-
FilterCell.prototype.
|
|
138
|
+
FilterCell.prototype.dy = function () {
|
|
138
139
|
if (this.cr == null) {
|
|
139
|
-
this.
|
|
140
|
+
this.dt();
|
|
140
141
|
}
|
|
141
142
|
};
|
|
142
143
|
FilterCell.prototype.cn = function () {
|
|
@@ -176,7 +177,7 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
176
177
|
}
|
|
177
178
|
if (this.ck.b == 44) {
|
|
178
179
|
if (this.cq != null && this.cq.count > 0) {
|
|
179
|
-
var b = this.cq._inner[this.ck.
|
|
180
|
+
var b = this.cq._inner[this.ck.x];
|
|
180
181
|
switch (b.b) {
|
|
181
182
|
case 0:
|
|
182
183
|
case 1:
|
|
@@ -193,26 +194,26 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
193
194
|
}
|
|
194
195
|
return a;
|
|
195
196
|
};
|
|
196
|
-
FilterCell.prototype.
|
|
197
|
+
FilterCell.prototype.d4 = function (a) {
|
|
197
198
|
if (this.cw != null) {
|
|
198
199
|
this.cw.disabled = !a;
|
|
199
200
|
this.cw.z = a ? 1 : 0.3;
|
|
200
201
|
}
|
|
201
202
|
};
|
|
202
|
-
FilterCell.prototype.
|
|
203
|
+
FilterCell.prototype.di = function (a) {
|
|
203
204
|
if (!this.cz) {
|
|
204
205
|
return;
|
|
205
206
|
}
|
|
206
207
|
if (this.ck.b == 44) {
|
|
207
208
|
if (this.cq != null && this.cq.count > 0) {
|
|
208
|
-
this.b.applyCustomFilter(this.ck.
|
|
209
|
+
this.b.applyCustomFilter(this.ck.ae, this.ck.x, a);
|
|
209
210
|
}
|
|
210
211
|
}
|
|
211
212
|
else {
|
|
212
213
|
this.b.applyFilter(this.ck.b, a);
|
|
213
214
|
}
|
|
214
215
|
};
|
|
215
|
-
FilterCell.prototype.
|
|
216
|
+
FilterCell.prototype.dj = function () {
|
|
216
217
|
if (!this.cz) {
|
|
217
218
|
return;
|
|
218
219
|
}
|
|
@@ -220,32 +221,37 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
220
221
|
this.b.clearFilter();
|
|
221
222
|
}
|
|
222
223
|
};
|
|
223
|
-
FilterCell.prototype.
|
|
224
|
+
FilterCell.prototype.d0 = function (a, b, c) {
|
|
224
225
|
switch (a) {
|
|
225
226
|
case "DataType":
|
|
226
|
-
this.
|
|
227
|
+
this.dr();
|
|
227
228
|
break;
|
|
228
229
|
case "EditorType":
|
|
229
|
-
this.
|
|
230
|
+
this.dt();
|
|
230
231
|
break;
|
|
231
232
|
case "FontInfo":
|
|
232
|
-
this.
|
|
233
|
+
this.dx();
|
|
233
234
|
break;
|
|
234
235
|
case "Filter":
|
|
235
|
-
this.
|
|
236
|
+
this.dv();
|
|
236
237
|
break;
|
|
237
238
|
case "FilterOperands":
|
|
238
|
-
this.
|
|
239
|
+
this.dq();
|
|
239
240
|
break;
|
|
240
241
|
case "FilterValue":
|
|
241
|
-
this.
|
|
242
|
+
this.dw();
|
|
242
243
|
break;
|
|
243
244
|
case "IsEditorEnabled":
|
|
244
245
|
this.cr.isEnabled = this.c1;
|
|
245
246
|
break;
|
|
247
|
+
case "TextColor":
|
|
248
|
+
this.ck.eq = this.d7;
|
|
249
|
+
this.cw.fill = this.d7;
|
|
250
|
+
this.cr.textColor = this.d7;
|
|
251
|
+
break;
|
|
246
252
|
}
|
|
247
253
|
};
|
|
248
|
-
FilterCell.prototype.
|
|
254
|
+
FilterCell.prototype.dv = function () {
|
|
249
255
|
this.cz = false;
|
|
250
256
|
if (this.cr != null) {
|
|
251
257
|
if (this.ci != null) {
|
|
@@ -266,7 +272,7 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
266
272
|
}
|
|
267
273
|
else if (typeCast(ColumnCustomFilterCondition.$, this.ci) !== null) {
|
|
268
274
|
var c = typeCast(ColumnCustomFilterCondition.$, this.ci);
|
|
269
|
-
this.ck.
|
|
275
|
+
this.ck.ek(c.id, c.d);
|
|
270
276
|
var d = this.cr.getEditorValue();
|
|
271
277
|
if (d != null) {
|
|
272
278
|
if (!Base.equalsStatic(d, c.e)) {
|
|
@@ -296,37 +302,37 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
296
302
|
}
|
|
297
303
|
this.cz = true;
|
|
298
304
|
};
|
|
299
|
-
FilterCell.prototype.
|
|
300
|
-
this.ck.
|
|
305
|
+
FilterCell.prototype.dq = function () {
|
|
306
|
+
this.ck.d7();
|
|
301
307
|
for (var a = 0; a < this.cq.count; a++) {
|
|
302
|
-
this.ck.
|
|
308
|
+
this.ck.d1(this.cq._inner[a].e, this.cq._inner[a].f, this.cq._inner[a].g, a);
|
|
303
309
|
}
|
|
304
310
|
};
|
|
305
|
-
FilterCell.prototype.
|
|
311
|
+
FilterCell.prototype.dr = function () {
|
|
306
312
|
if (this.cj == 11) {
|
|
307
313
|
this.c1 = false;
|
|
308
314
|
}
|
|
309
315
|
this.cm = this.cn();
|
|
310
316
|
};
|
|
311
|
-
FilterCell.prototype.
|
|
312
|
-
this.
|
|
317
|
+
FilterCell.prototype.dw = function () {
|
|
318
|
+
this.d4(this.c8 != null);
|
|
313
319
|
if (this.c8 == null || Base.equalsStatic(this.c8, "")) {
|
|
314
|
-
this.
|
|
320
|
+
this.dj();
|
|
315
321
|
}
|
|
316
322
|
else {
|
|
317
|
-
this.
|
|
323
|
+
this.di(this.c8);
|
|
318
324
|
}
|
|
319
325
|
if (this.d != null) {
|
|
320
326
|
this.d.update("FilterValue", this.c8);
|
|
321
327
|
}
|
|
322
328
|
};
|
|
323
|
-
FilterCell.prototype.
|
|
329
|
+
FilterCell.prototype.dt = function () {
|
|
324
330
|
if (this.cr != null) {
|
|
325
331
|
this.cr.detachEvents();
|
|
326
332
|
var a = this.cr;
|
|
327
|
-
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.
|
|
333
|
+
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.d3));
|
|
328
334
|
}
|
|
329
|
-
this.
|
|
335
|
+
this.d1();
|
|
330
336
|
this.cr = this.cs(this.cm);
|
|
331
337
|
this.cr.onEditStarted();
|
|
332
338
|
if (this.cr != null) {
|
|
@@ -336,19 +342,19 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
336
342
|
this.cr.focusOnValueChanged = false;
|
|
337
343
|
this.cr.showClearButton = false;
|
|
338
344
|
var b = this.cr;
|
|
339
|
-
b.valueProvided = delegateCombine(b.valueProvided, runOn(this, this.
|
|
340
|
-
this.
|
|
345
|
+
b.valueProvided = delegateCombine(b.valueProvided, runOn(this, this.d3));
|
|
346
|
+
this.dm();
|
|
341
347
|
}
|
|
342
|
-
this.
|
|
348
|
+
this.dn(null, null);
|
|
343
349
|
};
|
|
344
|
-
FilterCell.prototype.
|
|
350
|
+
FilterCell.prototype.dx = function () {
|
|
345
351
|
if (this.cy != null) {
|
|
346
352
|
if (this.cr != null) {
|
|
347
353
|
this.cr.setFont(this.cy);
|
|
348
354
|
}
|
|
349
355
|
}
|
|
350
356
|
};
|
|
351
|
-
FilterCell.prototype.
|
|
357
|
+
FilterCell.prototype.dz = function (a, b) {
|
|
352
358
|
this.cm = this.cn();
|
|
353
359
|
switch (b.newValue) {
|
|
354
360
|
case 40:
|
|
@@ -388,30 +394,30 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
388
394
|
}
|
|
389
395
|
if (b.newValue == 44) {
|
|
390
396
|
if (this.cq != null && this.cq.count > 0) {
|
|
391
|
-
var c = this.cq._inner[this.ck.
|
|
397
|
+
var c = this.cq._inner[this.ck.x];
|
|
392
398
|
this.c1 = c.d;
|
|
393
399
|
}
|
|
394
400
|
}
|
|
395
401
|
if (!this.c1) {
|
|
396
|
-
this.
|
|
397
|
-
this.
|
|
402
|
+
this.di(null);
|
|
403
|
+
this.d4(true);
|
|
398
404
|
}
|
|
399
405
|
else if (this.c8 != null && !Base.equalsStatic(this.c8, "")) {
|
|
400
|
-
this.
|
|
406
|
+
this.di(this.c8);
|
|
401
407
|
}
|
|
402
408
|
else {
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
409
|
+
this.dj();
|
|
410
|
+
this.d4(false);
|
|
405
411
|
}
|
|
406
412
|
if (this.d != null) {
|
|
407
413
|
this.d.update("OperatorType", enumGetBox(ColumnComparisonConditionOperatorType_$type, this.ck.b));
|
|
408
414
|
}
|
|
409
415
|
};
|
|
410
|
-
FilterCell.prototype.
|
|
416
|
+
FilterCell.prototype.dn = function (a, b) {
|
|
411
417
|
if (b != null) {
|
|
412
418
|
if (!this.c1) {
|
|
413
419
|
this.ck.b = 0;
|
|
414
|
-
this.
|
|
420
|
+
this.dj();
|
|
415
421
|
}
|
|
416
422
|
}
|
|
417
423
|
this.c8 = null;
|
|
@@ -420,7 +426,7 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
420
426
|
this.cr.value = null;
|
|
421
427
|
}
|
|
422
428
|
};
|
|
423
|
-
FilterCell.prototype.
|
|
429
|
+
FilterCell.prototype.d3 = function (a, b, c) {
|
|
424
430
|
if (this.cm == 2) {
|
|
425
431
|
if (typeof b === 'string') {
|
|
426
432
|
var d_1;
|
|
@@ -431,8 +437,8 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
431
437
|
}
|
|
432
438
|
this.c8 = b;
|
|
433
439
|
};
|
|
434
|
-
FilterCell.prototype.
|
|
435
|
-
this.
|
|
440
|
+
FilterCell.prototype.d5 = function (a, b, c, d) {
|
|
441
|
+
this.d2(a, b, c, d);
|
|
436
442
|
};
|
|
437
443
|
FilterCell.prototype.co = function (a, b) {
|
|
438
444
|
if (a != null) {
|
|
@@ -447,11 +453,11 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
447
453
|
}
|
|
448
454
|
return null;
|
|
449
455
|
};
|
|
450
|
-
FilterCell.prototype.
|
|
451
|
-
this.
|
|
456
|
+
FilterCell.prototype.dl = function () {
|
|
457
|
+
this.du();
|
|
452
458
|
};
|
|
453
|
-
FilterCell.prototype.
|
|
454
|
-
this.
|
|
459
|
+
FilterCell.prototype.dk = function () {
|
|
460
|
+
this.ds();
|
|
455
461
|
};
|
|
456
462
|
Object.defineProperty(FilterCell.prototype, "cj", {
|
|
457
463
|
get: function () {
|
|
@@ -551,6 +557,20 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
551
557
|
enumerable: true,
|
|
552
558
|
configurable: true
|
|
553
559
|
});
|
|
560
|
+
Object.defineProperty(FilterCell.prototype, "d7", {
|
|
561
|
+
get: function () {
|
|
562
|
+
return this.d6;
|
|
563
|
+
},
|
|
564
|
+
set: function (a) {
|
|
565
|
+
var b = this.d6;
|
|
566
|
+
this.d6 = a;
|
|
567
|
+
if (b != this.d6) {
|
|
568
|
+
this.bp("TextColor", b, this.d6);
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
enumerable: true,
|
|
572
|
+
configurable: true
|
|
573
|
+
});
|
|
554
574
|
FilterCell.$t = markType(FilterCell, 'FilterCell', GridCellBase.$);
|
|
555
575
|
FilterCell.c9 = "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z";
|
|
556
576
|
return FilterCell;
|
|
@@ -45,16 +45,19 @@ var FilterCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
45
45
|
}
|
|
46
46
|
if (b.a3(FilterCellModel.l5)) {
|
|
47
47
|
if (b.lu) {
|
|
48
|
-
this.d.
|
|
48
|
+
this.d.dl();
|
|
49
49
|
}
|
|
50
50
|
else {
|
|
51
|
-
this.d.
|
|
51
|
+
this.d.dk();
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
+
if (b.a3(FilterCellModel.eg)) {
|
|
55
|
+
this.d.d7 = b.k2;
|
|
56
|
+
}
|
|
54
57
|
}
|
|
55
58
|
if (a.be || a.bj) {
|
|
56
59
|
if (b.a3(FilterCellModel.gw) || b.a3(FilterCellModel.gx) || b.a3(FilterCellModel.gv) || b.a3(FilterCellModel.fd)) {
|
|
57
|
-
this.d.
|
|
60
|
+
this.d.d5(b.cl, b.cm, b.gu, b.fc);
|
|
58
61
|
}
|
|
59
62
|
}
|
|
60
63
|
};
|
|
@@ -14,6 +14,7 @@ import { StringComparer } from "igniteui-webcomponents-core";
|
|
|
14
14
|
import { GridColumnOptionsSimpleSectionBase } from "./GridColumnOptionsSimpleSectionBase";
|
|
15
15
|
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
16
16
|
import { DeviceUtils } from "igniteui-webcomponents-core";
|
|
17
|
+
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
17
18
|
import { truncate } from "igniteui-webcomponents-core";
|
|
18
19
|
import { stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
19
20
|
import { stringFormat1 } from "igniteui-webcomponents-core";
|
|
@@ -214,6 +215,8 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
214
215
|
_this.b5 = 0;
|
|
215
216
|
_this.b3 = 0;
|
|
216
217
|
_this.d0 = null;
|
|
218
|
+
_this.fk = BrushUtil.g(255, 24, 29, 31);
|
|
219
|
+
_this.fj = BrushUtil.g(255, 248, 248, 248);
|
|
217
220
|
_this.applyButtonClick = null;
|
|
218
221
|
_this.cancelButtonClick = null;
|
|
219
222
|
return _this;
|
|
@@ -245,14 +248,14 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
245
248
|
if (null != this.b2) {
|
|
246
249
|
this.b2.column = a;
|
|
247
250
|
}
|
|
248
|
-
this.
|
|
251
|
+
this.fi();
|
|
249
252
|
};
|
|
250
253
|
GridColumnOptions.prototype.bb = function (a, b) {
|
|
251
254
|
_super.prototype.bb.call(this, a, b);
|
|
252
255
|
switch (b.propertyName) {
|
|
253
256
|
case "HeaderClickAction":
|
|
254
257
|
case "ColumnMovingMode":
|
|
255
|
-
this.
|
|
258
|
+
this.fi();
|
|
256
259
|
break;
|
|
257
260
|
}
|
|
258
261
|
};
|
|
@@ -269,7 +272,7 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
269
272
|
case "PaddingRight":
|
|
270
273
|
case "PaddingBottom":
|
|
271
274
|
case "PaddingLeft":
|
|
272
|
-
this.
|
|
275
|
+
this.fi();
|
|
273
276
|
break;
|
|
274
277
|
case "ActualLabelTextStyle":
|
|
275
278
|
case "ActualBaseTheme":
|
|
@@ -280,13 +283,13 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
280
283
|
case "ActualSummaryListDensity":
|
|
281
284
|
case "BackgroundColor":
|
|
282
285
|
case "TextColor":
|
|
283
|
-
this.
|
|
286
|
+
this.fg();
|
|
284
287
|
break;
|
|
285
288
|
case "ColumnNameTextStyle":
|
|
286
|
-
this.
|
|
289
|
+
this.fh();
|
|
287
290
|
break;
|
|
288
291
|
case "ActualColumnNameTextStyle":
|
|
289
|
-
this.
|
|
292
|
+
this.fi();
|
|
290
293
|
break;
|
|
291
294
|
case "FilterListDensity":
|
|
292
295
|
this.b7 = this.filterListDensity == 0 ? this.q : this.filterListDensity;
|
|
@@ -296,7 +299,7 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
296
299
|
break;
|
|
297
300
|
}
|
|
298
301
|
};
|
|
299
|
-
GridColumnOptions.prototype.
|
|
302
|
+
GridColumnOptions.prototype.fi = function () {
|
|
300
303
|
this.bz.m();
|
|
301
304
|
};
|
|
302
305
|
Object.defineProperty(GridColumnOptions.prototype, "dx", {
|
|
@@ -876,6 +879,34 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
876
879
|
enumerable: true,
|
|
877
880
|
configurable: true
|
|
878
881
|
});
|
|
882
|
+
Object.defineProperty(GridColumnOptions.prototype, "fm", {
|
|
883
|
+
get: function () {
|
|
884
|
+
return this.fk;
|
|
885
|
+
},
|
|
886
|
+
set: function (a) {
|
|
887
|
+
var b = this.fk;
|
|
888
|
+
this.fk = a;
|
|
889
|
+
if (b != this.fk) {
|
|
890
|
+
this.bc("SummaryListTextColor", b, this.fk);
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
enumerable: true,
|
|
894
|
+
configurable: true
|
|
895
|
+
});
|
|
896
|
+
Object.defineProperty(GridColumnOptions.prototype, "fl", {
|
|
897
|
+
get: function () {
|
|
898
|
+
return this.fj;
|
|
899
|
+
},
|
|
900
|
+
set: function (a) {
|
|
901
|
+
var b = this.fj;
|
|
902
|
+
this.fj = a;
|
|
903
|
+
if (b != this.fj) {
|
|
904
|
+
this.bc("SummaryListBackground", b, this.fj);
|
|
905
|
+
}
|
|
906
|
+
},
|
|
907
|
+
enumerable: true,
|
|
908
|
+
configurable: true
|
|
909
|
+
});
|
|
879
910
|
GridColumnOptions.prototype.notifySizeChanged = function () {
|
|
880
911
|
this.e.j();
|
|
881
912
|
};
|
|
@@ -901,37 +932,37 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
901
932
|
this.bv.b7 = this.dv;
|
|
902
933
|
this.bv.cc = this.d1;
|
|
903
934
|
var t = this.b1;
|
|
904
|
-
t.propertyChanged = delegateCombine(t.propertyChanged, runOn(this, this.
|
|
935
|
+
t.propertyChanged = delegateCombine(t.propertyChanged, runOn(this, this.fb));
|
|
905
936
|
var u = this.by;
|
|
906
|
-
u.propertyChanged = delegateCombine(u.propertyChanged, runOn(this, this.
|
|
937
|
+
u.propertyChanged = delegateCombine(u.propertyChanged, runOn(this, this.fb));
|
|
907
938
|
var v = this.b0;
|
|
908
|
-
v.propertyChanged = delegateCombine(v.propertyChanged, runOn(this, this.
|
|
939
|
+
v.propertyChanged = delegateCombine(v.propertyChanged, runOn(this, this.fb));
|
|
909
940
|
var w = this.bx;
|
|
910
|
-
w.propertyChanged = delegateCombine(w.propertyChanged, runOn(this, this.
|
|
941
|
+
w.propertyChanged = delegateCombine(w.propertyChanged, runOn(this, this.fb));
|
|
911
942
|
var x = this.bw;
|
|
912
|
-
x.propertyChanged = delegateCombine(x.propertyChanged, runOn(this, this.
|
|
943
|
+
x.propertyChanged = delegateCombine(x.propertyChanged, runOn(this, this.fb));
|
|
913
944
|
var y = this.bv;
|
|
914
|
-
y.propertyChanged = delegateCombine(y.propertyChanged, runOn(this, this.
|
|
945
|
+
y.propertyChanged = delegateCombine(y.propertyChanged, runOn(this, this.fb));
|
|
915
946
|
this.b2 = r;
|
|
916
947
|
this.bu = s;
|
|
917
948
|
this.bu.bz = this.dp;
|
|
918
949
|
this.bu.b3 = this.ds;
|
|
919
950
|
var z = this.bu;
|
|
920
|
-
z.applyButtonClick = delegateCombine(z.applyButtonClick, runOn(this, this.
|
|
951
|
+
z.applyButtonClick = delegateCombine(z.applyButtonClick, runOn(this, this.fd));
|
|
921
952
|
var aa = this.bu;
|
|
922
|
-
aa.cancelButtonClick = delegateCombine(aa.cancelButtonClick, runOn(this, this.
|
|
923
|
-
this.
|
|
953
|
+
aa.cancelButtonClick = delegateCombine(aa.cancelButtonClick, runOn(this, this.fe));
|
|
954
|
+
this.fh();
|
|
924
955
|
this.bl();
|
|
925
956
|
this.bi();
|
|
926
|
-
this.
|
|
957
|
+
this.fg();
|
|
927
958
|
};
|
|
928
959
|
GridColumnOptions.prototype.d5 = function () {
|
|
929
960
|
return stringFormat1("{0}px {1}px {2}px {3}px", this.dj.toString(), this.di.toString(), this.dg.toString(), this.dh.toString());
|
|
930
961
|
};
|
|
931
|
-
GridColumnOptions.prototype.
|
|
962
|
+
GridColumnOptions.prototype.fh = function () {
|
|
932
963
|
this.cf = (null == this.cg) ? this.ci : this.cg;
|
|
933
964
|
};
|
|
934
|
-
GridColumnOptions.prototype.
|
|
965
|
+
GridColumnOptions.prototype.fg = function () {
|
|
935
966
|
var a = [this.b1, this.by, this.b0, this.bx, this.bw, this.bv, this.b2, this.bu];
|
|
936
967
|
for (var c = 0; c < a.length; c++) {
|
|
937
968
|
var b = a[c];
|
|
@@ -953,9 +984,11 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
953
984
|
}
|
|
954
985
|
if (null != this.b2) {
|
|
955
986
|
this.b2.b5 = this.b8;
|
|
987
|
+
this.b2.cv = this.fm;
|
|
988
|
+
this.b2.cu = this.fl;
|
|
956
989
|
}
|
|
957
990
|
};
|
|
958
|
-
GridColumnOptions.prototype.
|
|
991
|
+
GridColumnOptions.prototype.fd = function (a, b) {
|
|
959
992
|
var c = [this.b1, this.by, this.b0, this.bx, this.bw, this.bv, this.b2];
|
|
960
993
|
for (var e = 0; e < c.length; e++) {
|
|
961
994
|
var d = c[e];
|
|
@@ -965,7 +998,7 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
965
998
|
this.applyButtonClick(this, b);
|
|
966
999
|
}
|
|
967
1000
|
};
|
|
968
|
-
GridColumnOptions.prototype.
|
|
1001
|
+
GridColumnOptions.prototype.fe = function (a, b) {
|
|
969
1002
|
var c = [this.b1, this.by, this.b0, this.bx, this.bw, this.bv, this.b2];
|
|
970
1003
|
for (var e = 0; e < c.length; e++) {
|
|
971
1004
|
var d = c[e];
|
|
@@ -975,7 +1008,7 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
975
1008
|
this.cancelButtonClick(this, b);
|
|
976
1009
|
}
|
|
977
1010
|
};
|
|
978
|
-
GridColumnOptions.prototype.
|
|
1011
|
+
GridColumnOptions.prototype.fb = function (a, b) {
|
|
979
1012
|
switch (b.propertyName) {
|
|
980
1013
|
}
|
|
981
1014
|
};
|