igniteui-webcomponents-grids 4.2.2 → 4.2.4-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/index.d.ts +2 -0
- 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-pivot-date-dimension.d.ts +1 -1
- package/grids/lib/igc-pivot-grid-column.d.ts +32 -0
- package/grids/lib/igc-pivot-grid-record.d.ts +28 -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
|
@@ -6,7 +6,7 @@ import { IgcOperatorSelectorOpeningEventArgs } from "./igc-operator-selector-ope
|
|
|
6
6
|
import { IgcOperatorSelectorClosingEventArgs } from "./igc-operator-selector-closing-event-args";
|
|
7
7
|
import { ComparisonOperatorSelector } from "./ComparisonOperatorSelector";
|
|
8
8
|
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
9
|
-
import { NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, ensureEnum, enumToString, initializePropertiesFromCss } from "igniteui-webcomponents-core";
|
|
9
|
+
import { NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, ensureEnum, enumToString, brushToString, stringToBrush, initializePropertiesFromCss } from "igniteui-webcomponents-core";
|
|
10
10
|
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
11
11
|
/**
|
|
12
12
|
* A dropdown selector for choosing which comparison operator to use.
|
|
@@ -28,6 +28,8 @@ export let IgcDataGridComparisonOperatorSelectorComponent = /*@__PURE__*/ (() =>
|
|
|
28
28
|
this._valueChanged_wrapped = null;
|
|
29
29
|
this._opening = null;
|
|
30
30
|
this._opening_wrapped = null;
|
|
31
|
+
this._opened = null;
|
|
32
|
+
this._opened_wrapped = null;
|
|
31
33
|
this._closing = null;
|
|
32
34
|
this._closing_wrapped = null;
|
|
33
35
|
if (this._styling) {
|
|
@@ -153,20 +155,20 @@ export let IgcDataGridComparisonOperatorSelectorComponent = /*@__PURE__*/ (() =>
|
|
|
153
155
|
* Gets the ID for the custom filter that is selected. Value must be 'Custom' for this property to be valid.
|
|
154
156
|
*/
|
|
155
157
|
get customFilterID() {
|
|
156
|
-
return this.i.
|
|
158
|
+
return this.i.ae;
|
|
157
159
|
}
|
|
158
160
|
set customFilterID(v) {
|
|
159
|
-
this.i.
|
|
161
|
+
this.i.ae = v;
|
|
160
162
|
}
|
|
161
163
|
/**
|
|
162
164
|
* Gets the index for the custom filter that is selected. Value must be 'Custom' for this property to be valid.
|
|
163
165
|
*/
|
|
164
166
|
get customFilterIndex() {
|
|
165
|
-
return this.i.
|
|
167
|
+
return this.i.x;
|
|
166
168
|
}
|
|
167
169
|
set customFilterIndex(v) {
|
|
168
|
-
this.i.
|
|
169
|
-
this._a("customFilterIndex", this.i.
|
|
170
|
+
this.i.x = +v;
|
|
171
|
+
this._a("customFilterIndex", this.i.x);
|
|
170
172
|
}
|
|
171
173
|
/**
|
|
172
174
|
* Gets or sets the data type. Used to determine what operators are available.
|
|
@@ -179,137 +181,157 @@ export let IgcDataGridComparisonOperatorSelectorComponent = /*@__PURE__*/ (() =>
|
|
|
179
181
|
this._a("dataType", enumToString(DataSourceSchemaPropertyType_$type, this.i.d));
|
|
180
182
|
}
|
|
181
183
|
get maxHeight() {
|
|
182
|
-
return this.i.
|
|
184
|
+
return this.i.z;
|
|
183
185
|
}
|
|
184
186
|
set maxHeight(v) {
|
|
185
|
-
this.i.
|
|
186
|
-
this._a("maxHeight", this.i.
|
|
187
|
+
this.i.z = +v;
|
|
188
|
+
this._a("maxHeight", this.i.z);
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Gets or sets the text color.
|
|
192
|
+
*/
|
|
193
|
+
get textColor() {
|
|
194
|
+
return brushToString(this.i.eq);
|
|
195
|
+
}
|
|
196
|
+
set textColor(v) {
|
|
197
|
+
this.i.eq = stringToBrush(v);
|
|
198
|
+
this._a("textColor", brushToString(this.i.eq));
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Gets or sets the background color.
|
|
202
|
+
*/
|
|
203
|
+
get background() {
|
|
204
|
+
return brushToString(this.i.ep);
|
|
205
|
+
}
|
|
206
|
+
set background(v) {
|
|
207
|
+
this.i.ep = stringToBrush(v);
|
|
208
|
+
this._a("background", brushToString(this.i.ep));
|
|
187
209
|
}
|
|
188
210
|
get operatorCaptionTrue() {
|
|
189
|
-
return this.i.
|
|
211
|
+
return this.i.dd;
|
|
190
212
|
}
|
|
191
213
|
get operatorCaptionFalse() {
|
|
192
|
-
return this.i.
|
|
214
|
+
return this.i.ck;
|
|
193
215
|
}
|
|
194
216
|
get operatorCaptionEquals() {
|
|
195
|
-
return this.i.
|
|
217
|
+
return this.i.cj;
|
|
196
218
|
}
|
|
197
219
|
get operatorCaptionNotEquals() {
|
|
198
|
-
return this.i.
|
|
220
|
+
return this.i.cz;
|
|
199
221
|
}
|
|
200
222
|
get operatorCaptionLessThan() {
|
|
201
|
-
return this.i.
|
|
223
|
+
return this.i.cr;
|
|
202
224
|
}
|
|
203
225
|
get operatorCaptionLessThanOrEqual() {
|
|
204
|
-
return this.i.
|
|
226
|
+
return this.i.cs;
|
|
205
227
|
}
|
|
206
228
|
get operatorCaptionGreaterThan() {
|
|
207
|
-
return this.i.
|
|
229
|
+
return this.i.cl;
|
|
208
230
|
}
|
|
209
231
|
get operatorCaptionGreaterThanOrEqual() {
|
|
210
|
-
return this.i.
|
|
232
|
+
return this.i.cm;
|
|
211
233
|
}
|
|
212
234
|
get operatorCaptionTop() {
|
|
213
|
-
return this.i.
|
|
235
|
+
return this.i.db;
|
|
214
236
|
}
|
|
215
237
|
get operatorCaptionBottom() {
|
|
216
|
-
return this.i.
|
|
238
|
+
return this.i.cb;
|
|
217
239
|
}
|
|
218
240
|
get operatorCaptionTopPercentile() {
|
|
219
|
-
return this.i.
|
|
241
|
+
return this.i.dc;
|
|
220
242
|
}
|
|
221
243
|
get operatorCaptionBottomPercentile() {
|
|
222
|
-
return this.i.
|
|
244
|
+
return this.i.cc;
|
|
223
245
|
}
|
|
224
246
|
get operatorCaptionToday() {
|
|
225
|
-
return this.i.
|
|
247
|
+
return this.i.c9;
|
|
226
248
|
}
|
|
227
249
|
get operatorCaptionTomorrow() {
|
|
228
|
-
return this.i.
|
|
250
|
+
return this.i.da;
|
|
229
251
|
}
|
|
230
252
|
get operatorCaptionYesterday() {
|
|
231
|
-
return this.i.
|
|
253
|
+
return this.i.dg;
|
|
232
254
|
}
|
|
233
255
|
get operatorCaptionThisWeek() {
|
|
234
|
-
return this.i.
|
|
256
|
+
return this.i.c7;
|
|
235
257
|
}
|
|
236
258
|
get operatorCaptionNextWeek() {
|
|
237
|
-
return this.i.
|
|
259
|
+
return this.i.cw;
|
|
238
260
|
}
|
|
239
261
|
get operatorCaptionLastWeek() {
|
|
240
|
-
return this.i.
|
|
262
|
+
return this.i.cp;
|
|
241
263
|
}
|
|
242
264
|
get operatorCaptionThisMonth() {
|
|
243
|
-
return this.i.
|
|
265
|
+
return this.i.c5;
|
|
244
266
|
}
|
|
245
267
|
get operatorCaptionNextMonth() {
|
|
246
|
-
return this.i.
|
|
268
|
+
return this.i.cu;
|
|
247
269
|
}
|
|
248
270
|
get operatorCaptionLastMonth() {
|
|
249
|
-
return this.i.
|
|
271
|
+
return this.i.cn;
|
|
250
272
|
}
|
|
251
273
|
get operatorCaptionThisQuarter() {
|
|
252
|
-
return this.i.
|
|
274
|
+
return this.i.c6;
|
|
253
275
|
}
|
|
254
276
|
get operatorCaptionNextQuarter() {
|
|
255
|
-
return this.i.
|
|
277
|
+
return this.i.cv;
|
|
256
278
|
}
|
|
257
279
|
get operatorCaptionLastQuarter() {
|
|
258
|
-
return this.i.
|
|
280
|
+
return this.i.co;
|
|
259
281
|
}
|
|
260
282
|
get operatorCaptionThisYear() {
|
|
261
|
-
return this.i.
|
|
283
|
+
return this.i.c8;
|
|
262
284
|
}
|
|
263
285
|
get operatorCaptionNextYear() {
|
|
264
|
-
return this.i.
|
|
286
|
+
return this.i.cx;
|
|
265
287
|
}
|
|
266
288
|
get operatorCaptionLastYear() {
|
|
267
|
-
return this.i.
|
|
289
|
+
return this.i.cq;
|
|
268
290
|
}
|
|
269
291
|
get operatorCaptionYearToDate() {
|
|
270
|
-
return this.i.
|
|
292
|
+
return this.i.df;
|
|
271
293
|
}
|
|
272
294
|
get operatorCaptionQ1() {
|
|
273
|
-
return this.i.
|
|
295
|
+
return this.i.c0;
|
|
274
296
|
}
|
|
275
297
|
get operatorCaptionQ2() {
|
|
276
|
-
return this.i.
|
|
298
|
+
return this.i.c1;
|
|
277
299
|
}
|
|
278
300
|
get operatorCaptionQ3() {
|
|
279
|
-
return this.i.
|
|
301
|
+
return this.i.c2;
|
|
280
302
|
}
|
|
281
303
|
get operatorCaptionQ4() {
|
|
282
|
-
return this.i.
|
|
304
|
+
return this.i.c3;
|
|
283
305
|
}
|
|
284
306
|
get operatorCaptionMonth() {
|
|
285
|
-
return this.i.
|
|
307
|
+
return this.i.ct;
|
|
286
308
|
}
|
|
287
309
|
get operatorCaptionYear() {
|
|
288
|
-
return this.i.
|
|
310
|
+
return this.i.de;
|
|
289
311
|
}
|
|
290
312
|
get operatorCaptionStartsWith() {
|
|
291
|
-
return this.i.
|
|
313
|
+
return this.i.c4;
|
|
292
314
|
}
|
|
293
315
|
get operatorCaptionDoesNotStartWith() {
|
|
294
|
-
return this.i.
|
|
316
|
+
return this.i.cg;
|
|
295
317
|
}
|
|
296
318
|
get operatorCaptionEndsWith() {
|
|
297
|
-
return this.i.
|
|
319
|
+
return this.i.ci;
|
|
298
320
|
}
|
|
299
321
|
get operatorCaptionDoesNotEndWith() {
|
|
300
|
-
return this.i.
|
|
322
|
+
return this.i.cf;
|
|
301
323
|
}
|
|
302
324
|
get operatorCaptionContains() {
|
|
303
|
-
return this.i.
|
|
325
|
+
return this.i.cd;
|
|
304
326
|
}
|
|
305
327
|
get operatorCaptionDoesNotContain() {
|
|
306
|
-
return this.i.
|
|
328
|
+
return this.i.ce;
|
|
307
329
|
}
|
|
308
330
|
get operatorCaptionEmpty() {
|
|
309
|
-
return this.i.
|
|
331
|
+
return this.i.ch;
|
|
310
332
|
}
|
|
311
333
|
get operatorCaptionNotEmpty() {
|
|
312
|
-
return this.i.
|
|
334
|
+
return this.i.cy;
|
|
313
335
|
}
|
|
314
336
|
findByName(name) {
|
|
315
337
|
if (this.findEphemera) {
|
|
@@ -373,29 +395,29 @@ export let IgcDataGridComparisonOperatorSelectorComponent = /*@__PURE__*/ (() =>
|
|
|
373
395
|
this._inStyling = false;
|
|
374
396
|
}
|
|
375
397
|
provideContainer(container) {
|
|
376
|
-
this.i.
|
|
398
|
+
this.i.ej(container);
|
|
377
399
|
}
|
|
378
400
|
dispose() {
|
|
379
|
-
this.i.
|
|
401
|
+
this.i.ea();
|
|
380
402
|
}
|
|
381
403
|
getDropdownHeight() {
|
|
382
|
-
let iv = this.i.
|
|
404
|
+
let iv = this.i.y();
|
|
383
405
|
return (iv);
|
|
384
406
|
}
|
|
385
407
|
toggle() {
|
|
386
|
-
this.i.
|
|
408
|
+
this.i.em();
|
|
387
409
|
}
|
|
388
410
|
close() {
|
|
389
|
-
this.i.
|
|
411
|
+
this.i.d8();
|
|
390
412
|
}
|
|
391
413
|
addCustomOperator(name, icon, id, index) {
|
|
392
|
-
this.i.
|
|
414
|
+
this.i.d1(name, icon, id, index);
|
|
393
415
|
}
|
|
394
416
|
clearCustomOperators() {
|
|
395
|
-
this.i.
|
|
417
|
+
this.i.d7();
|
|
396
418
|
}
|
|
397
419
|
selectCustomFilter(id, index) {
|
|
398
|
-
this.i.
|
|
420
|
+
this.i.ek(id, index);
|
|
399
421
|
}
|
|
400
422
|
get valueChanged() {
|
|
401
423
|
return this._valueChanged;
|
|
@@ -443,6 +465,29 @@ export let IgcDataGridComparisonOperatorSelectorComponent = /*@__PURE__*/ (() =>
|
|
|
443
465
|
this.i.opening = delegateCombine(this.i.opening, this._opening_wrapped);
|
|
444
466
|
;
|
|
445
467
|
}
|
|
468
|
+
get opened() {
|
|
469
|
+
return this._opened;
|
|
470
|
+
}
|
|
471
|
+
set opened(ev) {
|
|
472
|
+
if (this._opened_wrapped !== null) {
|
|
473
|
+
this.i.opened = delegateRemove(this.i.opened, this._opened_wrapped);
|
|
474
|
+
this._opened_wrapped = null;
|
|
475
|
+
this._opened = null;
|
|
476
|
+
}
|
|
477
|
+
this._opened = ev;
|
|
478
|
+
this._opened_wrapped = (o, e) => {
|
|
479
|
+
let outerArgs = new IgcOperatorSelectorOpeningEventArgs();
|
|
480
|
+
outerArgs._provideImplementation(e);
|
|
481
|
+
if (this.beforeOpened) {
|
|
482
|
+
this.beforeOpened(this, outerArgs);
|
|
483
|
+
}
|
|
484
|
+
if (this._opened) {
|
|
485
|
+
this._opened(this, outerArgs);
|
|
486
|
+
}
|
|
487
|
+
};
|
|
488
|
+
this.i.opened = delegateCombine(this.i.opened, this._opened_wrapped);
|
|
489
|
+
;
|
|
490
|
+
}
|
|
446
491
|
get closing() {
|
|
447
492
|
return this._closing;
|
|
448
493
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ensureEnum, ensureBool, NamePatcher, toSpinal, enumToString, getAllPropertyNames } from "igniteui-webcomponents-core";
|
|
1
|
+
import { ensureEnum, brushToString, stringToBrush, ensureBool, NamePatcher, toSpinal, enumToString, getAllPropertyNames } from "igniteui-webcomponents-core";
|
|
2
2
|
import { FontInfo } from "igniteui-webcomponents-core";
|
|
3
3
|
import { WebComponentRenderer } from "igniteui-webcomponents-core";
|
|
4
4
|
import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
|
|
@@ -432,6 +432,26 @@ export let IgcGridColumnOptionsComponent = /*@__PURE__*/ (() => {
|
|
|
432
432
|
set filterListPlaceholderText(v) {
|
|
433
433
|
this.i.d1 = v;
|
|
434
434
|
}
|
|
435
|
+
/**
|
|
436
|
+
* Gets or sets the text color for the summary options menu.
|
|
437
|
+
*/
|
|
438
|
+
get summaryListTextColor() {
|
|
439
|
+
return brushToString(this.i.fm);
|
|
440
|
+
}
|
|
441
|
+
set summaryListTextColor(v) {
|
|
442
|
+
this.i.fm = stringToBrush(v);
|
|
443
|
+
this._a("summaryListTextColor", brushToString(this.i.fm));
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* Gets or sets the background color for the summary options menu.
|
|
447
|
+
*/
|
|
448
|
+
get summaryListBackground() {
|
|
449
|
+
return brushToString(this.i.fl);
|
|
450
|
+
}
|
|
451
|
+
set summaryListBackground(v) {
|
|
452
|
+
this.i.fl = stringToBrush(v);
|
|
453
|
+
this._a("summaryListBackground", brushToString(this.i.fl));
|
|
454
|
+
}
|
|
435
455
|
get applyButtonClick() {
|
|
436
456
|
return this._applyButtonClick;
|
|
437
457
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ensureEnum, NamePatcher, toSpinal, enumToString, getAllPropertyNames } from "igniteui-webcomponents-core";
|
|
1
|
+
import { ensureEnum, brushToString, stringToBrush, NamePatcher, toSpinal, enumToString, getAllPropertyNames } from "igniteui-webcomponents-core";
|
|
2
2
|
import { WebComponentRenderer, PortalManager } from "igniteui-webcomponents-core";
|
|
3
3
|
import { DataGridStylingDefaults } from './DataGridStylingDefaults';
|
|
4
4
|
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
@@ -127,6 +127,20 @@ export let IgcGridColumnSummaryOptionsComponent = /*@__PURE__*/ (() => {
|
|
|
127
127
|
this.i.b7 = +v;
|
|
128
128
|
this._a("activeCount", this.i.b7);
|
|
129
129
|
}
|
|
130
|
+
get summaryListTextColor() {
|
|
131
|
+
return brushToString(this.i.cv);
|
|
132
|
+
}
|
|
133
|
+
set summaryListTextColor(v) {
|
|
134
|
+
this.i.cv = stringToBrush(v);
|
|
135
|
+
this._a("summaryListTextColor", brushToString(this.i.cv));
|
|
136
|
+
}
|
|
137
|
+
get summaryListBackground() {
|
|
138
|
+
return brushToString(this.i.cu);
|
|
139
|
+
}
|
|
140
|
+
set summaryListBackground(v) {
|
|
141
|
+
this.i.cu = stringToBrush(v);
|
|
142
|
+
this._a("summaryListBackground", brushToString(this.i.cu));
|
|
143
|
+
}
|
|
130
144
|
onApply() {
|
|
131
145
|
this.i.bt();
|
|
132
146
|
}
|
|
@@ -134,7 +148,7 @@ export let IgcGridColumnSummaryOptionsComponent = /*@__PURE__*/ (() => {
|
|
|
134
148
|
this.i.bu();
|
|
135
149
|
}
|
|
136
150
|
closeMenu() {
|
|
137
|
-
this.i.
|
|
151
|
+
this.i.cj();
|
|
138
152
|
}
|
|
139
153
|
}
|
|
140
154
|
IgcGridColumnSummaryOptionsComponent._observedAttributesIgcGridColumnSummaryOptionsComponent = null;
|
|
@@ -23,6 +23,7 @@ var BaseEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
23
23
|
_this.h = null;
|
|
24
24
|
_this._container = null;
|
|
25
25
|
_this.g = false;
|
|
26
|
+
_this.x = null;
|
|
26
27
|
_this.valueProvided = null;
|
|
27
28
|
_this.userTyping = null;
|
|
28
29
|
_this.lostFocus = null;
|
|
@@ -49,7 +50,7 @@ var BaseEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
49
50
|
set: function (a) {
|
|
50
51
|
var b = this.i;
|
|
51
52
|
this.i = a;
|
|
52
|
-
this.
|
|
53
|
+
this.u("Value", b, this.i);
|
|
53
54
|
},
|
|
54
55
|
enumerable: true,
|
|
55
56
|
configurable: true
|
|
@@ -62,7 +63,7 @@ var BaseEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
62
63
|
var b = this.e;
|
|
63
64
|
this.e = a;
|
|
64
65
|
if (b != this.e) {
|
|
65
|
-
this.
|
|
66
|
+
this.u("IsEnabled", b, this.e);
|
|
66
67
|
}
|
|
67
68
|
},
|
|
68
69
|
enumerable: true,
|
|
@@ -86,28 +87,42 @@ var BaseEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
86
87
|
var b = this.f;
|
|
87
88
|
this.f = a;
|
|
88
89
|
if (b != this.f) {
|
|
89
|
-
this.
|
|
90
|
+
this.u("ShowClearButton", b, this.f);
|
|
90
91
|
}
|
|
91
92
|
},
|
|
92
93
|
enumerable: true,
|
|
93
94
|
configurable: true
|
|
94
95
|
});
|
|
95
|
-
BaseEditorView.prototype
|
|
96
|
+
Object.defineProperty(BaseEditorView.prototype, "textColor", {
|
|
97
|
+
get: function () {
|
|
98
|
+
return this.x;
|
|
99
|
+
},
|
|
100
|
+
set: function (a) {
|
|
101
|
+
var b = this.x;
|
|
102
|
+
this.x = a;
|
|
103
|
+
if (b != this.x) {
|
|
104
|
+
this.u("TextColor", b, this.x);
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
enumerable: true,
|
|
108
|
+
configurable: true
|
|
109
|
+
});
|
|
110
|
+
BaseEditorView.prototype.q = function (a, b) {
|
|
96
111
|
if (this.valueProvided != null) {
|
|
97
112
|
this.valueProvided(this, a, b);
|
|
98
113
|
}
|
|
99
114
|
};
|
|
100
|
-
BaseEditorView.prototype.
|
|
115
|
+
BaseEditorView.prototype.p = function () {
|
|
101
116
|
if (this.userTyping != null) {
|
|
102
117
|
this.userTyping(this);
|
|
103
118
|
}
|
|
104
119
|
};
|
|
105
|
-
BaseEditorView.prototype.
|
|
120
|
+
BaseEditorView.prototype.o = function () {
|
|
106
121
|
if (this.lostFocus != null) {
|
|
107
122
|
this.lostFocus(this);
|
|
108
123
|
}
|
|
109
124
|
};
|
|
110
|
-
BaseEditorView.prototype.
|
|
125
|
+
BaseEditorView.prototype.n = function () {
|
|
111
126
|
if (this.gotFocus != null) {
|
|
112
127
|
this.gotFocus(this);
|
|
113
128
|
}
|
|
@@ -139,31 +154,36 @@ var BaseEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
139
154
|
this.b = this.h.getRequestAnimationFrame();
|
|
140
155
|
}
|
|
141
156
|
this.b(function () {
|
|
142
|
-
_this.
|
|
157
|
+
_this.s();
|
|
143
158
|
_this.d = false;
|
|
144
159
|
});
|
|
145
160
|
this.d = true;
|
|
146
161
|
};
|
|
147
|
-
BaseEditorView.prototype.
|
|
162
|
+
BaseEditorView.prototype.s = function () {
|
|
148
163
|
};
|
|
149
164
|
BaseEditorView.prototype.getEditorValue = function () {
|
|
150
165
|
return null;
|
|
151
166
|
};
|
|
152
167
|
BaseEditorView.prototype.setEditorValue = function (a) {
|
|
153
168
|
};
|
|
154
|
-
BaseEditorView.prototype.
|
|
169
|
+
BaseEditorView.prototype.u = function (a, b, c) {
|
|
155
170
|
switch (a) {
|
|
156
171
|
case "Value":
|
|
157
|
-
this.
|
|
172
|
+
this.w();
|
|
158
173
|
break;
|
|
159
174
|
case "IsEnabled":
|
|
160
|
-
this.
|
|
175
|
+
this.r();
|
|
176
|
+
break;
|
|
177
|
+
case "TextColor":
|
|
178
|
+
this.v();
|
|
161
179
|
break;
|
|
162
180
|
}
|
|
163
181
|
};
|
|
164
|
-
BaseEditorView.prototype.
|
|
182
|
+
BaseEditorView.prototype.w = function () {
|
|
183
|
+
};
|
|
184
|
+
BaseEditorView.prototype.r = function () {
|
|
165
185
|
};
|
|
166
|
-
BaseEditorView.prototype.
|
|
186
|
+
BaseEditorView.prototype.v = function () {
|
|
167
187
|
};
|
|
168
188
|
BaseEditorView.prototype.onInputKeyDown = function (a, b) {
|
|
169
189
|
if (!this.g) {
|
|
@@ -6851,6 +6851,7 @@ var Grid = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6851
6851
|
_this.cv = new EditorDefinition();
|
|
6852
6852
|
_this.cw = new EditRowDefinition();
|
|
6853
6853
|
_this.c5 = new FilterRowDefinition();
|
|
6854
|
+
_this.c5.grid = _this;
|
|
6854
6855
|
_this.aav = _this.aaw;
|
|
6855
6856
|
_this.yn = _this.yo;
|
|
6856
6857
|
_this.yt = GridStyleRepository.ax;
|
|
@@ -24293,6 +24294,12 @@ var FilterRowDefinition = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
24293
24294
|
};
|
|
24294
24295
|
FilterRowDefinition.prototype.c2 = function (a, b) {
|
|
24295
24296
|
switch (b.propertyName) {
|
|
24297
|
+
case "CellTextColor":
|
|
24298
|
+
this.dg();
|
|
24299
|
+
break;
|
|
24300
|
+
case "CellBackground":
|
|
24301
|
+
this.c9();
|
|
24302
|
+
break;
|
|
24296
24303
|
}
|
|
24297
24304
|
};
|
|
24298
24305
|
FilterRowDefinition.prototype.cx = function (a, b, c, d) {
|
|
@@ -24315,6 +24322,31 @@ var FilterRowDefinition = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
24315
24322
|
e.lm = f.ep;
|
|
24316
24323
|
}
|
|
24317
24324
|
};
|
|
24325
|
+
FilterRowDefinition.prototype.dg = function () {
|
|
24326
|
+
if (this.el == null) {
|
|
24327
|
+
if (this.grid != null && this.grid.zv != null) {
|
|
24328
|
+
this.d7 = this.grid.zv;
|
|
24329
|
+
return;
|
|
24330
|
+
}
|
|
24331
|
+
this.d7 = this.eh();
|
|
24332
|
+
}
|
|
24333
|
+
else {
|
|
24334
|
+
this.d7 = this.el;
|
|
24335
|
+
}
|
|
24336
|
+
};
|
|
24337
|
+
FilterRowDefinition.prototype.c9 = function () {
|
|
24338
|
+
if (this.d8 == null) {
|
|
24339
|
+
if (this.grid != null && this.grid.zt != null) {
|
|
24340
|
+
this.d1 = this.grid.zt;
|
|
24341
|
+
}
|
|
24342
|
+
else {
|
|
24343
|
+
this.d1 = this.ec();
|
|
24344
|
+
}
|
|
24345
|
+
}
|
|
24346
|
+
else {
|
|
24347
|
+
this.d1 = this.d8;
|
|
24348
|
+
}
|
|
24349
|
+
};
|
|
24318
24350
|
FilterRowDefinition.$t = markType(FilterRowDefinition, 'FilterRowDefinition', DefinitionBase.$);
|
|
24319
24351
|
return FilterRowDefinition;
|
|
24320
24352
|
}(DefinitionBase));
|