igniteui-webcomponents-grids 4.0.4 → 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 +2059 -1378
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BaseEditorView.js +30 -14
- package/esm2015/lib/CanvasGridCellBase.js +26 -26
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +553 -389
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComboEditorView.js +111 -105
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +401 -344
- package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm2015/lib/DateEditorView.js +94 -87
- package/esm2015/lib/EditorCell.js +11 -11
- package/esm2015/lib/FilterCell.js +77 -61
- package/esm2015/lib/FilterCellPresenter.js +6 -3
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm2015/lib/GridColumnOptionsView_combined.js +47 -22
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +51 -25
- package/esm2015/lib/GridExpansionIndicatorView_combined.js +8 -8
- package/esm2015/lib/GridFilterDialogView_combined.js +5 -5
- package/esm2015/lib/GridSortIndicatorView_combined.js +9 -9
- package/esm2015/lib/ISummaryChooserView_combined.js +12 -11
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +19 -19
- package/esm2015/lib/NumericEditorView.js +3 -3
- package/esm2015/lib/PropertyEditorView_combined.js +40 -40
- package/esm2015/lib/TextEditorView.js +82 -75
- package/esm2015/lib/igc-checkbox-list-component.js +155 -50
- 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/CanvasGridCellBase.js +26 -26
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- package/esm5/lib/CanvasTextHeaderCell.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +579 -375
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm5/lib/ColumnGroupingView_combined.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComboEditorView.js +108 -102
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +408 -343
- package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm5/lib/DateEditorView.js +93 -86
- package/esm5/lib/EditorCell.js +11 -11
- package/esm5/lib/FilterCell.js +81 -61
- package/esm5/lib/FilterCellPresenter.js +6 -3
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm5/lib/GridColumnOptionsView_combined.js +55 -22
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +59 -25
- package/esm5/lib/GridExpansionIndicatorView_combined.js +8 -8
- package/esm5/lib/GridFilterDialogView_combined.js +5 -5
- package/esm5/lib/GridSortIndicatorView_combined.js +9 -9
- package/esm5/lib/ISummaryChooserView_combined.js +12 -11
- package/esm5/lib/MultiColumnComboBoxView_combined.js +19 -19
- package/esm5/lib/NumericEditorView.js +3 -3
- package/esm5/lib/PropertyEditorView_combined.js +40 -40
- package/esm5/lib/TextEditorView.js +82 -75
- package/esm5/lib/igc-checkbox-list-component.js +195 -50
- 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 +1935 -1395
- package/fesm5/igniteui-webcomponents-grids.js +2057 -1376
- package/grids/3rdpartylicenses.txt +445 -0
- package/grids/combined.js +44 -90
- package/grids/index.d.ts +15 -0
- package/grids/lib/common.d.ts +0 -4
- package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
- package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
- package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
- package/grids/lib/igc-boolean-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-cell-template-context.d.ts +2 -1
- package/grids/lib/igc-column-component.d.ts +3 -2
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +21 -0
- package/grids/lib/igc-date-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-date-summary-operand.d.ts +75 -0
- package/grids/lib/igc-date-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-display-density-base.d.ts +1 -1
- package/grids/lib/igc-exporter-options-base.d.ts +2 -0
- package/grids/lib/igc-filtering-expression.d.ts +33 -0
- package/grids/lib/igc-filtering-expressions-tree.d.ts +6 -4
- package/grids/lib/igc-filtering-operand.d.ts +4 -2
- package/grids/lib/igc-filtering-operation.d.ts +4 -0
- package/grids/lib/igc-grid-base-directive.d.ts +23 -2
- package/grids/lib/igc-grid-component.d.ts +4 -4
- 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-grid-toolbar-exporter-component.d.ts +2 -1
- package/grids/lib/igc-grouped-records.d.ts +1 -1
- package/grids/lib/igc-number-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-number-summary-operand.d.ts +104 -0
- package/grids/lib/igc-pivot-date-dimension.d.ts +1 -20
- package/grids/lib/igc-pivot-grid-component.d.ts +12 -0
- package/grids/lib/igc-row-data-event-args.d.ts +4 -0
- package/grids/lib/igc-sorting-options.d.ts +3 -2
- package/grids/lib/igc-string-filtering-operand.d.ts +29 -0
- package/grids/lib/igc-summary-operand.d.ts +61 -0
- package/grids/lib/igc-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-time-summary-operand.d.ts +49 -0
- package/grids/lib/sorting-options-mode.d.ts +3 -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/CheckboxListView_combined.d.ts +120 -96
- 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 +105 -96
- 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 +14 -9
- package/lib/IEditorView.d.ts +2 -0
- package/lib/TextEditorView.d.ts +10 -9
- package/lib/igc-checkbox-list-component.d.ts +40 -0
- 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
|
@@ -42,6 +42,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
42
42
|
this.cx = null;
|
|
43
43
|
this.c7 = null;
|
|
44
44
|
this.ch = null;
|
|
45
|
+
this.d6 = null;
|
|
45
46
|
this.c4 = a.createElement("div");
|
|
46
47
|
this.c4.setStyleProperty("display", "flex");
|
|
47
48
|
this.c4.setStyleProperty("flex-direction", "row");
|
|
@@ -51,7 +52,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
51
52
|
this.c6 = a.createElement("div");
|
|
52
53
|
this.c2 = a.getSubRenderer(this.c6);
|
|
53
54
|
this.ck = new ComparisonOperatorSelector();
|
|
54
|
-
this.ck.
|
|
55
|
+
this.ck.ej(this.c2);
|
|
55
56
|
this.c6.setStyleProperty("width", "24px");
|
|
56
57
|
this.c6.setStyleProperty("height", "24px");
|
|
57
58
|
this.c4.append(this.c6);
|
|
@@ -65,7 +66,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
65
66
|
this.cw = new XIcon();
|
|
66
67
|
this.cw.provideContainer(a.getSubRenderer(this.c5));
|
|
67
68
|
this.c4.append(this.c5);
|
|
68
|
-
this.
|
|
69
|
+
this.dp();
|
|
69
70
|
}
|
|
70
71
|
cs(a) {
|
|
71
72
|
switch (this.cm) {
|
|
@@ -88,30 +89,30 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
88
89
|
default: return null;
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
|
-
|
|
92
|
+
d1() {
|
|
92
93
|
this.c3.removeChildren();
|
|
93
94
|
}
|
|
94
|
-
|
|
95
|
+
dm() {
|
|
95
96
|
this.c3.append(this.cr.container);
|
|
96
97
|
}
|
|
97
|
-
|
|
98
|
+
du() {
|
|
98
99
|
if (this.ae.getChildCount() == 0) {
|
|
99
100
|
this.ae.append(this.c4);
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
|
-
|
|
103
|
+
ds() {
|
|
103
104
|
if (this.ae.getChildCount() > 0) {
|
|
104
105
|
this.ae.removeChildren();
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
bp(a, b, c) {
|
|
108
109
|
super.bp(a, b, c);
|
|
109
|
-
this.
|
|
110
|
+
this.d0(a, b, c);
|
|
110
111
|
}
|
|
111
112
|
bo() {
|
|
112
|
-
this.
|
|
113
|
+
this.dy();
|
|
113
114
|
}
|
|
114
|
-
|
|
115
|
+
d2(a, b, c, d) {
|
|
115
116
|
if (this.d != null) {
|
|
116
117
|
let e = this.c6.getNativeElement();
|
|
117
118
|
this.d.update("SelectorTop", (e.offsetTop));
|
|
@@ -124,17 +125,17 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
124
125
|
this.d.update("ClearIconLeft", (g.offsetLeft));
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
|
-
|
|
128
|
+
dp() {
|
|
128
129
|
let a = this.ck;
|
|
129
|
-
a.valueChanged = delegateCombine(a.valueChanged, runOn(this, this.
|
|
130
|
+
a.valueChanged = delegateCombine(a.valueChanged, runOn(this, this.dz));
|
|
130
131
|
this.cw.svgPath = FilterCell.c9;
|
|
131
|
-
this.
|
|
132
|
+
this.d4(false);
|
|
132
133
|
let b = this.cw;
|
|
133
|
-
b.clicked = delegateCombine(b.clicked, runOn(this, this.
|
|
134
|
+
b.clicked = delegateCombine(b.clicked, runOn(this, this.dn));
|
|
134
135
|
}
|
|
135
|
-
|
|
136
|
+
dy() {
|
|
136
137
|
if (this.cr == null) {
|
|
137
|
-
this.
|
|
138
|
+
this.dt();
|
|
138
139
|
}
|
|
139
140
|
}
|
|
140
141
|
cn() {
|
|
@@ -174,7 +175,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
174
175
|
}
|
|
175
176
|
if (this.ck.b == 44) {
|
|
176
177
|
if (this.cq != null && this.cq.count > 0) {
|
|
177
|
-
let b = this.cq._inner[this.ck.
|
|
178
|
+
let b = this.cq._inner[this.ck.x];
|
|
178
179
|
switch (b.b) {
|
|
179
180
|
case 0:
|
|
180
181
|
case 1:
|
|
@@ -191,26 +192,26 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
191
192
|
}
|
|
192
193
|
return a;
|
|
193
194
|
}
|
|
194
|
-
|
|
195
|
+
d4(a) {
|
|
195
196
|
if (this.cw != null) {
|
|
196
197
|
this.cw.disabled = !a;
|
|
197
|
-
this.cw.
|
|
198
|
+
this.cw.z = a ? 1 : 0.3;
|
|
198
199
|
}
|
|
199
200
|
}
|
|
200
|
-
|
|
201
|
+
di(a) {
|
|
201
202
|
if (!this.cz) {
|
|
202
203
|
return;
|
|
203
204
|
}
|
|
204
205
|
if (this.ck.b == 44) {
|
|
205
206
|
if (this.cq != null && this.cq.count > 0) {
|
|
206
|
-
this.b.applyCustomFilter(this.ck.
|
|
207
|
+
this.b.applyCustomFilter(this.ck.ae, this.ck.x, a);
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
210
|
else {
|
|
210
211
|
this.b.applyFilter(this.ck.b, a);
|
|
211
212
|
}
|
|
212
213
|
}
|
|
213
|
-
|
|
214
|
+
dj() {
|
|
214
215
|
if (!this.cz) {
|
|
215
216
|
return;
|
|
216
217
|
}
|
|
@@ -218,32 +219,37 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
218
219
|
this.b.clearFilter();
|
|
219
220
|
}
|
|
220
221
|
}
|
|
221
|
-
|
|
222
|
+
d0(a, b, c) {
|
|
222
223
|
switch (a) {
|
|
223
224
|
case "DataType":
|
|
224
|
-
this.
|
|
225
|
+
this.dr();
|
|
225
226
|
break;
|
|
226
227
|
case "EditorType":
|
|
227
|
-
this.
|
|
228
|
+
this.dt();
|
|
228
229
|
break;
|
|
229
230
|
case "FontInfo":
|
|
230
|
-
this.
|
|
231
|
+
this.dx();
|
|
231
232
|
break;
|
|
232
233
|
case "Filter":
|
|
233
|
-
this.
|
|
234
|
+
this.dv();
|
|
234
235
|
break;
|
|
235
236
|
case "FilterOperands":
|
|
236
|
-
this.
|
|
237
|
+
this.dq();
|
|
237
238
|
break;
|
|
238
239
|
case "FilterValue":
|
|
239
|
-
this.
|
|
240
|
+
this.dw();
|
|
240
241
|
break;
|
|
241
242
|
case "IsEditorEnabled":
|
|
242
243
|
this.cr.isEnabled = this.c1;
|
|
243
244
|
break;
|
|
245
|
+
case "TextColor":
|
|
246
|
+
this.ck.eq = this.d7;
|
|
247
|
+
this.cw.fill = this.d7;
|
|
248
|
+
this.cr.textColor = this.d7;
|
|
249
|
+
break;
|
|
244
250
|
}
|
|
245
251
|
}
|
|
246
|
-
|
|
252
|
+
dv() {
|
|
247
253
|
this.cz = false;
|
|
248
254
|
if (this.cr != null) {
|
|
249
255
|
if (this.ci != null) {
|
|
@@ -264,7 +270,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
264
270
|
}
|
|
265
271
|
else if (typeCast(ColumnCustomFilterCondition.$, this.ci) !== null) {
|
|
266
272
|
let c = typeCast(ColumnCustomFilterCondition.$, this.ci);
|
|
267
|
-
this.ck.
|
|
273
|
+
this.ck.ek(c.id, c.d);
|
|
268
274
|
let d = this.cr.getEditorValue();
|
|
269
275
|
if (d != null) {
|
|
270
276
|
if (!Base.equalsStatic(d, c.e)) {
|
|
@@ -294,37 +300,37 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
294
300
|
}
|
|
295
301
|
this.cz = true;
|
|
296
302
|
}
|
|
297
|
-
|
|
298
|
-
this.ck.
|
|
303
|
+
dq() {
|
|
304
|
+
this.ck.d7();
|
|
299
305
|
for (let a = 0; a < this.cq.count; a++) {
|
|
300
|
-
this.ck.
|
|
306
|
+
this.ck.d1(this.cq._inner[a].e, this.cq._inner[a].f, this.cq._inner[a].g, a);
|
|
301
307
|
}
|
|
302
308
|
}
|
|
303
|
-
|
|
309
|
+
dr() {
|
|
304
310
|
if (this.cj == 11) {
|
|
305
311
|
this.c1 = false;
|
|
306
312
|
}
|
|
307
313
|
this.cm = this.cn();
|
|
308
314
|
}
|
|
309
|
-
|
|
310
|
-
this.
|
|
315
|
+
dw() {
|
|
316
|
+
this.d4(this.c8 != null);
|
|
311
317
|
if (this.c8 == null || Base.equalsStatic(this.c8, "")) {
|
|
312
|
-
this.
|
|
318
|
+
this.dj();
|
|
313
319
|
}
|
|
314
320
|
else {
|
|
315
|
-
this.
|
|
321
|
+
this.di(this.c8);
|
|
316
322
|
}
|
|
317
323
|
if (this.d != null) {
|
|
318
324
|
this.d.update("FilterValue", this.c8);
|
|
319
325
|
}
|
|
320
326
|
}
|
|
321
|
-
|
|
327
|
+
dt() {
|
|
322
328
|
if (this.cr != null) {
|
|
323
329
|
this.cr.detachEvents();
|
|
324
330
|
let a = this.cr;
|
|
325
|
-
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.
|
|
331
|
+
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.d3));
|
|
326
332
|
}
|
|
327
|
-
this.
|
|
333
|
+
this.d1();
|
|
328
334
|
this.cr = this.cs(this.cm);
|
|
329
335
|
this.cr.onEditStarted();
|
|
330
336
|
if (this.cr != null) {
|
|
@@ -334,19 +340,19 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
334
340
|
this.cr.focusOnValueChanged = false;
|
|
335
341
|
this.cr.showClearButton = false;
|
|
336
342
|
let b = this.cr;
|
|
337
|
-
b.valueProvided = delegateCombine(b.valueProvided, runOn(this, this.
|
|
338
|
-
this.
|
|
343
|
+
b.valueProvided = delegateCombine(b.valueProvided, runOn(this, this.d3));
|
|
344
|
+
this.dm();
|
|
339
345
|
}
|
|
340
|
-
this.
|
|
346
|
+
this.dn(null, null);
|
|
341
347
|
}
|
|
342
|
-
|
|
348
|
+
dx() {
|
|
343
349
|
if (this.cy != null) {
|
|
344
350
|
if (this.cr != null) {
|
|
345
351
|
this.cr.setFont(this.cy);
|
|
346
352
|
}
|
|
347
353
|
}
|
|
348
354
|
}
|
|
349
|
-
|
|
355
|
+
dz(a, b) {
|
|
350
356
|
this.cm = this.cn();
|
|
351
357
|
switch (b.newValue) {
|
|
352
358
|
case 40:
|
|
@@ -386,30 +392,30 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
386
392
|
}
|
|
387
393
|
if (b.newValue == 44) {
|
|
388
394
|
if (this.cq != null && this.cq.count > 0) {
|
|
389
|
-
let c = this.cq._inner[this.ck.
|
|
395
|
+
let c = this.cq._inner[this.ck.x];
|
|
390
396
|
this.c1 = c.d;
|
|
391
397
|
}
|
|
392
398
|
}
|
|
393
399
|
if (!this.c1) {
|
|
394
|
-
this.
|
|
395
|
-
this.
|
|
400
|
+
this.di(null);
|
|
401
|
+
this.d4(true);
|
|
396
402
|
}
|
|
397
403
|
else if (this.c8 != null && !Base.equalsStatic(this.c8, "")) {
|
|
398
|
-
this.
|
|
404
|
+
this.di(this.c8);
|
|
399
405
|
}
|
|
400
406
|
else {
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
407
|
+
this.dj();
|
|
408
|
+
this.d4(false);
|
|
403
409
|
}
|
|
404
410
|
if (this.d != null) {
|
|
405
411
|
this.d.update("OperatorType", enumGetBox(ColumnComparisonConditionOperatorType_$type, this.ck.b));
|
|
406
412
|
}
|
|
407
413
|
}
|
|
408
|
-
|
|
414
|
+
dn(a, b) {
|
|
409
415
|
if (b != null) {
|
|
410
416
|
if (!this.c1) {
|
|
411
417
|
this.ck.b = 0;
|
|
412
|
-
this.
|
|
418
|
+
this.dj();
|
|
413
419
|
}
|
|
414
420
|
}
|
|
415
421
|
this.c8 = null;
|
|
@@ -418,7 +424,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
418
424
|
this.cr.value = null;
|
|
419
425
|
}
|
|
420
426
|
}
|
|
421
|
-
|
|
427
|
+
d3(a, b, c) {
|
|
422
428
|
if (this.cm == 2) {
|
|
423
429
|
if (typeof b === 'string') {
|
|
424
430
|
let d;
|
|
@@ -429,8 +435,8 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
429
435
|
}
|
|
430
436
|
this.c8 = b;
|
|
431
437
|
}
|
|
432
|
-
|
|
433
|
-
this.
|
|
438
|
+
d5(a, b, c, d) {
|
|
439
|
+
this.d2(a, b, c, d);
|
|
434
440
|
}
|
|
435
441
|
co(a, b) {
|
|
436
442
|
if (a != null) {
|
|
@@ -445,11 +451,11 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
445
451
|
}
|
|
446
452
|
return null;
|
|
447
453
|
}
|
|
448
|
-
|
|
449
|
-
this.
|
|
454
|
+
dl() {
|
|
455
|
+
this.du();
|
|
450
456
|
}
|
|
451
|
-
|
|
452
|
-
this.
|
|
457
|
+
dk() {
|
|
458
|
+
this.ds();
|
|
453
459
|
}
|
|
454
460
|
get cj() {
|
|
455
461
|
return this.ck.d;
|
|
@@ -521,6 +527,16 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
521
527
|
this.bp("Filter", b, this.ch);
|
|
522
528
|
}
|
|
523
529
|
}
|
|
530
|
+
get d7() {
|
|
531
|
+
return this.d6;
|
|
532
|
+
}
|
|
533
|
+
set d7(a) {
|
|
534
|
+
let b = this.d6;
|
|
535
|
+
this.d6 = a;
|
|
536
|
+
if (b != this.d6) {
|
|
537
|
+
this.bp("TextColor", b, this.d6);
|
|
538
|
+
}
|
|
539
|
+
}
|
|
524
540
|
}
|
|
525
541
|
FilterCell.$t = /*@__PURE__*/ markType(FilterCell, 'FilterCell', GridCellBase.$);
|
|
526
542
|
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";
|
|
@@ -40,16 +40,19 @@ export let FilterCellPresenter = /*@__PURE__*/ (() => {
|
|
|
40
40
|
}
|
|
41
41
|
if (b.a3(FilterCellModel.l5)) {
|
|
42
42
|
if (b.lu) {
|
|
43
|
-
this.d.
|
|
43
|
+
this.d.dl();
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
|
-
this.d.
|
|
46
|
+
this.d.dk();
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
+
if (b.a3(FilterCellModel.eg)) {
|
|
50
|
+
this.d.d7 = b.k2;
|
|
51
|
+
}
|
|
49
52
|
}
|
|
50
53
|
if (a.be || a.bj) {
|
|
51
54
|
if (b.a3(FilterCellModel.gw) || b.a3(FilterCellModel.gx) || b.a3(FilterCellModel.gv) || b.a3(FilterCellModel.fd)) {
|
|
52
|
-
this.d.
|
|
55
|
+
this.d.d5(b.cl, b.cm, b.gu, b.fc);
|
|
53
56
|
}
|
|
54
57
|
}
|
|
55
58
|
}
|
|
@@ -261,7 +261,7 @@ export let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
261
261
|
this.bc("TextFilterCaption", b, this.cf);
|
|
262
262
|
}
|
|
263
263
|
cu() {
|
|
264
|
-
let a = this.bx.
|
|
264
|
+
let a = this.bx.al();
|
|
265
265
|
this.bw.al(!a);
|
|
266
266
|
let b = this.b3();
|
|
267
267
|
this.bw.am(b);
|
|
@@ -379,7 +379,7 @@ export let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
this.bx.itemsSource = e;
|
|
382
|
-
this.bx.
|
|
382
|
+
this.bx.bc = c;
|
|
383
383
|
this.bx.b = [c];
|
|
384
384
|
e.shouldEmitSectionHeaders = true;
|
|
385
385
|
e.isSectionHeaderNormalRow = true;
|
|
@@ -424,15 +424,15 @@ export let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
426
|
if (e.count == 0 || !c) {
|
|
427
|
-
this.bx.
|
|
427
|
+
this.bx.cy();
|
|
428
428
|
return;
|
|
429
429
|
}
|
|
430
430
|
switch (d.value) {
|
|
431
431
|
case 0:
|
|
432
|
-
this.bx.
|
|
432
|
+
this.bx.b9();
|
|
433
433
|
break;
|
|
434
434
|
case 1:
|
|
435
|
-
this.bx.
|
|
435
|
+
this.bx.cy();
|
|
436
436
|
break;
|
|
437
437
|
}
|
|
438
438
|
let h = this.bx.g;
|
|
@@ -474,9 +474,9 @@ export let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
474
474
|
cw() {
|
|
475
475
|
if (null != this.bx) {
|
|
476
476
|
this.bx.aa = this.b0;
|
|
477
|
-
this.bx.
|
|
478
|
-
this.bx.
|
|
479
|
-
this.bx.
|
|
477
|
+
this.bx.bg = this.cc;
|
|
478
|
+
this.bx.di = this.bo;
|
|
479
|
+
this.bx.dy = this.br;
|
|
480
480
|
this.bx.y = this.i;
|
|
481
481
|
this.bx.updateHrMargin(new Thickness(1, -7, 3, -7, 3));
|
|
482
482
|
}
|
|
@@ -13,6 +13,7 @@ import { StringComparer } from "igniteui-webcomponents-core";
|
|
|
13
13
|
import { GridColumnOptionsSimpleSectionBase } from "./GridColumnOptionsSimpleSectionBase";
|
|
14
14
|
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
15
15
|
import { DeviceUtils } from "igniteui-webcomponents-core";
|
|
16
|
+
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
16
17
|
import { truncate } from "igniteui-webcomponents-core";
|
|
17
18
|
import { stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
18
19
|
import { stringFormat1 } from "igniteui-webcomponents-core";
|
|
@@ -208,6 +209,8 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
|
|
|
208
209
|
this.b5 = 0;
|
|
209
210
|
this.b3 = 0;
|
|
210
211
|
this.d0 = null;
|
|
212
|
+
this.fk = BrushUtil.g(255, 24, 29, 31);
|
|
213
|
+
this.fj = BrushUtil.g(255, 248, 248, 248);
|
|
211
214
|
this.applyButtonClick = null;
|
|
212
215
|
this.cancelButtonClick = null;
|
|
213
216
|
}
|
|
@@ -238,14 +241,14 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
|
|
|
238
241
|
if (null != this.b2) {
|
|
239
242
|
this.b2.column = a;
|
|
240
243
|
}
|
|
241
|
-
this.
|
|
244
|
+
this.fi();
|
|
242
245
|
}
|
|
243
246
|
bb(a, b) {
|
|
244
247
|
super.bb(a, b);
|
|
245
248
|
switch (b.propertyName) {
|
|
246
249
|
case "HeaderClickAction":
|
|
247
250
|
case "ColumnMovingMode":
|
|
248
|
-
this.
|
|
251
|
+
this.fi();
|
|
249
252
|
break;
|
|
250
253
|
}
|
|
251
254
|
}
|
|
@@ -262,7 +265,7 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
|
|
|
262
265
|
case "PaddingRight":
|
|
263
266
|
case "PaddingBottom":
|
|
264
267
|
case "PaddingLeft":
|
|
265
|
-
this.
|
|
268
|
+
this.fi();
|
|
266
269
|
break;
|
|
267
270
|
case "ActualLabelTextStyle":
|
|
268
271
|
case "ActualBaseTheme":
|
|
@@ -273,13 +276,13 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
|
|
|
273
276
|
case "ActualSummaryListDensity":
|
|
274
277
|
case "BackgroundColor":
|
|
275
278
|
case "TextColor":
|
|
276
|
-
this.
|
|
279
|
+
this.fg();
|
|
277
280
|
break;
|
|
278
281
|
case "ColumnNameTextStyle":
|
|
279
|
-
this.
|
|
282
|
+
this.fh();
|
|
280
283
|
break;
|
|
281
284
|
case "ActualColumnNameTextStyle":
|
|
282
|
-
this.
|
|
285
|
+
this.fi();
|
|
283
286
|
break;
|
|
284
287
|
case "FilterListDensity":
|
|
285
288
|
this.b7 = this.filterListDensity == 0 ? this.q : this.filterListDensity;
|
|
@@ -289,7 +292,7 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
|
|
|
289
292
|
break;
|
|
290
293
|
}
|
|
291
294
|
}
|
|
292
|
-
|
|
295
|
+
fi() {
|
|
293
296
|
this.bz.m();
|
|
294
297
|
}
|
|
295
298
|
get dx() {
|
|
@@ -701,6 +704,26 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
|
|
|
701
704
|
}
|
|
702
705
|
this.bc("FilterListPlaceholderText", b, this.d0);
|
|
703
706
|
}
|
|
707
|
+
get fm() {
|
|
708
|
+
return this.fk;
|
|
709
|
+
}
|
|
710
|
+
set fm(a) {
|
|
711
|
+
let b = this.fk;
|
|
712
|
+
this.fk = a;
|
|
713
|
+
if (b != this.fk) {
|
|
714
|
+
this.bc("SummaryListTextColor", b, this.fk);
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
get fl() {
|
|
718
|
+
return this.fj;
|
|
719
|
+
}
|
|
720
|
+
set fl(a) {
|
|
721
|
+
let b = this.fj;
|
|
722
|
+
this.fj = a;
|
|
723
|
+
if (b != this.fj) {
|
|
724
|
+
this.bc("SummaryListBackground", b, this.fj);
|
|
725
|
+
}
|
|
726
|
+
}
|
|
704
727
|
notifySizeChanged() {
|
|
705
728
|
this.e.j();
|
|
706
729
|
}
|
|
@@ -726,37 +749,37 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
|
|
|
726
749
|
this.bv.b7 = this.dv;
|
|
727
750
|
this.bv.cc = this.d1;
|
|
728
751
|
let t = this.b1;
|
|
729
|
-
t.propertyChanged = delegateCombine(t.propertyChanged, runOn(this, this.
|
|
752
|
+
t.propertyChanged = delegateCombine(t.propertyChanged, runOn(this, this.fb));
|
|
730
753
|
let u = this.by;
|
|
731
|
-
u.propertyChanged = delegateCombine(u.propertyChanged, runOn(this, this.
|
|
754
|
+
u.propertyChanged = delegateCombine(u.propertyChanged, runOn(this, this.fb));
|
|
732
755
|
let v = this.b0;
|
|
733
|
-
v.propertyChanged = delegateCombine(v.propertyChanged, runOn(this, this.
|
|
756
|
+
v.propertyChanged = delegateCombine(v.propertyChanged, runOn(this, this.fb));
|
|
734
757
|
let w = this.bx;
|
|
735
|
-
w.propertyChanged = delegateCombine(w.propertyChanged, runOn(this, this.
|
|
758
|
+
w.propertyChanged = delegateCombine(w.propertyChanged, runOn(this, this.fb));
|
|
736
759
|
let x = this.bw;
|
|
737
|
-
x.propertyChanged = delegateCombine(x.propertyChanged, runOn(this, this.
|
|
760
|
+
x.propertyChanged = delegateCombine(x.propertyChanged, runOn(this, this.fb));
|
|
738
761
|
let y = this.bv;
|
|
739
|
-
y.propertyChanged = delegateCombine(y.propertyChanged, runOn(this, this.
|
|
762
|
+
y.propertyChanged = delegateCombine(y.propertyChanged, runOn(this, this.fb));
|
|
740
763
|
this.b2 = r;
|
|
741
764
|
this.bu = s;
|
|
742
765
|
this.bu.bz = this.dp;
|
|
743
766
|
this.bu.b3 = this.ds;
|
|
744
767
|
let z = this.bu;
|
|
745
|
-
z.applyButtonClick = delegateCombine(z.applyButtonClick, runOn(this, this.
|
|
768
|
+
z.applyButtonClick = delegateCombine(z.applyButtonClick, runOn(this, this.fd));
|
|
746
769
|
let aa = this.bu;
|
|
747
|
-
aa.cancelButtonClick = delegateCombine(aa.cancelButtonClick, runOn(this, this.
|
|
748
|
-
this.
|
|
770
|
+
aa.cancelButtonClick = delegateCombine(aa.cancelButtonClick, runOn(this, this.fe));
|
|
771
|
+
this.fh();
|
|
749
772
|
this.bl();
|
|
750
773
|
this.bi();
|
|
751
|
-
this.
|
|
774
|
+
this.fg();
|
|
752
775
|
}
|
|
753
776
|
d5() {
|
|
754
777
|
return stringFormat1("{0}px {1}px {2}px {3}px", this.dj.toString(), this.di.toString(), this.dg.toString(), this.dh.toString());
|
|
755
778
|
}
|
|
756
|
-
|
|
779
|
+
fh() {
|
|
757
780
|
this.cf = (null == this.cg) ? this.ci : this.cg;
|
|
758
781
|
}
|
|
759
|
-
|
|
782
|
+
fg() {
|
|
760
783
|
let a = [this.b1, this.by, this.b0, this.bx, this.bw, this.bv, this.b2, this.bu];
|
|
761
784
|
for (let c = 0; c < a.length; c++) {
|
|
762
785
|
let b = a[c];
|
|
@@ -778,9 +801,11 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
|
|
|
778
801
|
}
|
|
779
802
|
if (null != this.b2) {
|
|
780
803
|
this.b2.b5 = this.b8;
|
|
804
|
+
this.b2.cv = this.fm;
|
|
805
|
+
this.b2.cu = this.fl;
|
|
781
806
|
}
|
|
782
807
|
}
|
|
783
|
-
|
|
808
|
+
fd(a, b) {
|
|
784
809
|
let c = [this.b1, this.by, this.b0, this.bx, this.bw, this.bv, this.b2];
|
|
785
810
|
for (let e = 0; e < c.length; e++) {
|
|
786
811
|
let d = c[e];
|
|
@@ -790,7 +815,7 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
|
|
|
790
815
|
this.applyButtonClick(this, b);
|
|
791
816
|
}
|
|
792
817
|
}
|
|
793
|
-
|
|
818
|
+
fe(a, b) {
|
|
794
819
|
let c = [this.b1, this.by, this.b0, this.bx, this.bw, this.bv, this.b2];
|
|
795
820
|
for (let e = 0; e < c.length; e++) {
|
|
796
821
|
let d = c[e];
|
|
@@ -800,7 +825,7 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
|
|
|
800
825
|
this.cancelButtonClick(this, b);
|
|
801
826
|
}
|
|
802
827
|
}
|
|
803
|
-
|
|
828
|
+
fb(a, b) {
|
|
804
829
|
switch (b.propertyName) {
|
|
805
830
|
}
|
|
806
831
|
}
|