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.
Files changed (72) hide show
  1. package/bundles/igniteui-webcomponents-grids.umd.js +1132 -799
  2. package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
  3. package/esm2015/lib/BaseEditorView.js +30 -14
  4. package/esm2015/lib/CheckboxListView_combined.js +1 -0
  5. package/esm2015/lib/ColumnFilterCondition_combined.js +32 -0
  6. package/esm2015/lib/ComboEditorView.js +111 -105
  7. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +400 -343
  8. package/esm2015/lib/DateEditorView.js +94 -87
  9. package/esm2015/lib/EditorCell.js +10 -10
  10. package/esm2015/lib/FilterCell.js +76 -60
  11. package/esm2015/lib/FilterCellPresenter.js +6 -3
  12. package/esm2015/lib/GridColumnOptionsView_combined.js +47 -22
  13. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +49 -23
  14. package/esm2015/lib/ISummaryChooserView_combined.js +1 -0
  15. package/esm2015/lib/NumericEditorView.js +3 -3
  16. package/esm2015/lib/TextEditorView.js +82 -75
  17. package/esm2015/lib/igc-data-grid-comparison-operator-selector-component.js +104 -59
  18. package/esm2015/lib/igc-grid-column-options-component.js +21 -1
  19. package/esm2015/lib/igc-grid-column-summary-options-component.js +16 -2
  20. package/esm5/lib/BaseEditorView.js +34 -14
  21. package/esm5/lib/CheckboxListView_combined.js +1 -0
  22. package/esm5/lib/ColumnFilterCondition_combined.js +32 -0
  23. package/esm5/lib/ComboEditorView.js +108 -102
  24. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +407 -342
  25. package/esm5/lib/DateEditorView.js +93 -86
  26. package/esm5/lib/EditorCell.js +10 -10
  27. package/esm5/lib/FilterCell.js +80 -60
  28. package/esm5/lib/FilterCellPresenter.js +6 -3
  29. package/esm5/lib/GridColumnOptionsView_combined.js +55 -22
  30. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +57 -23
  31. package/esm5/lib/ISummaryChooserView_combined.js +1 -0
  32. package/esm5/lib/NumericEditorView.js +3 -3
  33. package/esm5/lib/TextEditorView.js +82 -75
  34. package/esm5/lib/igc-data-grid-comparison-operator-selector-component.js +117 -59
  35. package/esm5/lib/igc-grid-column-options-component.js +29 -1
  36. package/esm5/lib/igc-grid-column-summary-options-component.js +24 -2
  37. package/fesm2015/igniteui-webcomponents-grids.js +1076 -804
  38. package/fesm5/igniteui-webcomponents-grids.js +1132 -799
  39. package/grids/3rdpartylicenses.txt +445 -0
  40. package/grids/combined.js +44 -160
  41. package/grids/index.d.ts +2 -0
  42. package/grids/lib/igc-grid-base-directive.d.ts +14 -0
  43. package/grids/lib/igc-grid-edit-done-event-args.d.ts +5 -1
  44. package/grids/lib/igc-grid-selection-range.d.ts +1 -0
  45. package/grids/lib/igc-pivot-date-dimension.d.ts +1 -1
  46. package/grids/lib/igc-pivot-grid-column.d.ts +32 -0
  47. package/grids/lib/igc-pivot-grid-record.d.ts +28 -0
  48. package/grids/lib/igc-row-data-event-args.d.ts +4 -0
  49. package/grids/styles.css +1 -1
  50. package/grids/themes/dark/bootstrap.css +1 -1
  51. package/grids/themes/dark/fluent.css +1 -1
  52. package/grids/themes/dark/indigo.css +1 -1
  53. package/grids/themes/dark/material.css +1 -1
  54. package/grids/themes/light/bootstrap.css +1 -1
  55. package/grids/themes/light/fluent.css +1 -1
  56. package/grids/themes/light/indigo.css +1 -1
  57. package/grids/themes/light/material.css +1 -1
  58. package/lib/BaseEditorView.d.ts +12 -8
  59. package/lib/ColumnFilterCondition_combined.d.ts +2 -0
  60. package/lib/ComboEditorView.d.ts +15 -14
  61. package/lib/ComboEditorView_ComboExternal.d.ts +1 -0
  62. package/lib/ComparisonOperatorSelectorView_combined.d.ts +104 -95
  63. package/lib/DateEditorView.d.ts +13 -12
  64. package/lib/FilterCell.d.ts +23 -20
  65. package/lib/GridColumnOptionsView_combined.d.ts +10 -5
  66. package/lib/GridColumnSummaryOptionsView_combined.d.ts +13 -8
  67. package/lib/IEditorView.d.ts +2 -0
  68. package/lib/TextEditorView.d.ts +10 -9
  69. package/lib/igc-data-grid-comparison-operator-selector-component.d.ts +11 -0
  70. package/lib/igc-grid-column-options-component.d.ts +8 -0
  71. package/lib/igc-grid-column-summary-options-component.d.ts +2 -0
  72. package/package.json +4 -4
@@ -16,11 +16,11 @@ var DateEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
16
16
  tslib_1.__extends(DateEditorView, _super);
17
17
  function DateEditorView(a, b, c) {
18
18
  var _this = _super.call(this, a, c) || this;
19
- _this.aa = null;
20
- _this.v = null;
21
- _this.w = null;
22
- _this.y = false;
23
- _this.x = false;
19
+ _this.ad = null;
20
+ _this.y = null;
21
+ _this.z = null;
22
+ _this.ab = false;
23
+ _this.aa = false;
24
24
  var d = a.createElement("div");
25
25
  d.setRawStyleProperty("width", "100%");
26
26
  d.setRawStyleProperty("margin-top", "-10px");
@@ -31,87 +31,88 @@ var DateEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
31
31
  e.append(f);
32
32
  var g = a.createElement("div");
33
33
  e.append(g);
34
- _this.v = new DatePicker();
35
- _this.v.ar = false;
36
- _this.v.provideContainer(e);
37
- _this.v.w = b;
38
- _this.v.y = 3;
39
- _this.v.as = _this.showClearButton;
40
- _this.v.at = _this.z;
41
- var h = e.getExternal(_this.v, e.rootWrapper, null);
42
- if (_this.w != null) {
43
- _this.v.ad = _this.w;
34
+ _this.y = new DatePicker();
35
+ _this.y.ar = false;
36
+ _this.y.provideContainer(e);
37
+ _this.y.w = b;
38
+ _this.y.y = 3;
39
+ _this.y.as = _this.showClearButton;
40
+ _this.y.at = _this.ac;
41
+ _this.y.de = _this.textColor;
42
+ var h = e.getExternal(_this.y, e.rootWrapper, null);
43
+ if (_this.z != null) {
44
+ _this.y.ad = _this.z;
44
45
  }
45
46
  _this.attachEvents();
46
47
  return _this;
47
48
  }
48
- Object.defineProperty(DateEditorView.prototype, "ab", {
49
+ Object.defineProperty(DateEditorView.prototype, "ae", {
49
50
  get: function () {
50
- return this.aa;
51
+ return this.ad;
51
52
  },
52
53
  set: function (a) {
53
- var b = this.aa;
54
- this.aa = a;
55
- if (b != this.aa) {
56
- this.t("FormatString", b, this.aa);
54
+ var b = this.ad;
55
+ this.ad = a;
56
+ if (b != this.ad) {
57
+ this.u("FormatString", b, this.ad);
57
58
  }
58
59
  },
59
60
  enumerable: true,
60
61
  configurable: true
61
62
  });
62
- Object.defineProperty(DateEditorView.prototype, "z", {
63
+ Object.defineProperty(DateEditorView.prototype, "ac", {
63
64
  get: function () {
64
- return this.x;
65
+ return this.aa;
65
66
  },
66
67
  set: function (a) {
67
- var b = this.x;
68
- this.x = a;
69
- if (b != this.x) {
70
- this.t("ShowTodayButton", b, this.x);
68
+ var b = this.aa;
69
+ this.aa = a;
70
+ if (b != this.aa) {
71
+ this.u("ShowTodayButton", b, this.aa);
71
72
  }
72
73
  },
73
74
  enumerable: true,
74
75
  configurable: true
75
76
  });
76
77
  DateEditorView.prototype.setFont = function (a) {
77
- this.w = a;
78
- if (this.v != null && this.w != null) {
79
- this.v.ad = this.w;
78
+ this.z = a;
79
+ if (this.y != null && this.z != null) {
80
+ this.y.ad = this.z;
80
81
  }
81
82
  };
82
83
  DateEditorView.prototype.attachEvents = function () {
83
- if (this.v != null) {
84
- var a = this.v;
84
+ if (this.y != null) {
85
+ var a = this.y;
85
86
  a.selectedValueChanged = delegateCombine(a.selectedValueChanged, runOn(this, this.onDatePickerValueChanged));
86
- var b = this.v;
87
+ var b = this.y;
87
88
  b.gotFocus = delegateCombine(b.gotFocus, runOn(this, this.onDatePickerGotFocus));
88
- var c = this.v;
89
+ var c = this.y;
89
90
  c.lostFocus = delegateCombine(c.lostFocus, runOn(this, this.onDatePickerLostFocus));
90
- var d = this.v;
91
+ var d = this.y;
91
92
  d.keyDown = delegateCombine(d.keyDown, runOn(this, this.onInputKeyDown));
92
- var e = this.v;
93
+ var e = this.y;
93
94
  e.changing = delegateCombine(e.changing, runOn(this, this.onInputChanging));
94
95
  }
95
96
  };
96
97
  DateEditorView.prototype.detachEvents = function () {
97
- if (this.v != null) {
98
- var a = this.v;
98
+ if (this.y != null) {
99
+ var a = this.y;
99
100
  a.selectedValueChanged = delegateRemove(a.selectedValueChanged, runOn(this, this.onDatePickerValueChanged));
100
- var b = this.v;
101
+ var b = this.y;
101
102
  b.gotFocus = delegateRemove(b.gotFocus, runOn(this, this.onDatePickerGotFocus));
102
- var c = this.v;
103
+ var c = this.y;
103
104
  c.lostFocus = delegateRemove(c.lostFocus, runOn(this, this.onDatePickerLostFocus));
104
- var d = this.v;
105
+ var d = this.y;
105
106
  d.keyDown = delegateRemove(d.keyDown, runOn(this, this.onInputKeyDown));
106
- var e = this.v;
107
+ var e = this.y;
107
108
  e.changing = delegateRemove(e.changing, runOn(this, this.onInputChanging));
108
109
  }
109
110
  };
110
111
  DateEditorView.prototype.onTargetChanged = function () {
111
- if (this.v != null) {
112
- this.y = true;
112
+ if (this.y != null) {
113
+ this.ab = true;
113
114
  this.focus();
114
- this.y = false;
115
+ this.ab = false;
115
116
  }
116
117
  };
117
118
  DateEditorView.prototype.onEditStarted = function () {
@@ -129,93 +130,99 @@ var DateEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
129
130
  }
130
131
  }
131
132
  };
132
- DateEditorView.prototype.r = function () {
133
- if (this.v != null) {
134
- this.v.focus(true);
135
- this.v.cz();
133
+ DateEditorView.prototype.s = function () {
134
+ if (this.y != null) {
135
+ this.y.focus(true);
136
+ this.y.cz();
136
137
  }
137
138
  };
138
- DateEditorView.prototype.ad = function () {
139
- if (this.v != null) {
140
- this.v.cc();
139
+ DateEditorView.prototype.ag = function () {
140
+ if (this.y != null) {
141
+ this.y.cc();
141
142
  }
142
143
  };
143
- DateEditorView.prototype.t = function (a, b, c) {
144
- _super.prototype.t.call(this, a, b, c);
144
+ DateEditorView.prototype.u = function (a, b, c) {
145
+ _super.prototype.u.call(this, a, b, c);
145
146
  switch (a) {
146
147
  case "FormatString":
147
- this.ah();
148
+ this.ak();
148
149
  break;
149
150
  case "ShowClearButton":
150
- if (this.v != null) {
151
- this.v.as = this.showClearButton;
151
+ if (this.y != null) {
152
+ this.y.as = this.showClearButton;
152
153
  }
153
154
  break;
154
155
  case "ShowTodayButton":
155
- if (this.v != null) {
156
- this.v.at = this.z;
156
+ if (this.y != null) {
157
+ this.y.at = this.ac;
157
158
  }
158
159
  break;
159
160
  }
160
161
  };
161
- DateEditorView.prototype.ah = function () {
162
- this.v.bo = this.ab;
162
+ DateEditorView.prototype.ak = function () {
163
+ this.y.bo = this.ae;
163
164
  };
164
- DateEditorView.prototype.u = function () {
165
- this.y = true;
166
- if (this.v != null) {
165
+ DateEditorView.prototype.w = function () {
166
+ this.ab = true;
167
+ if (this.y != null) {
167
168
  if (this.value == null) {
168
- this.v.value = dateMinValue();
169
+ this.y.value = dateMinValue();
169
170
  }
170
171
  else {
171
- this.v.value = this.value;
172
+ this.y.value = this.value;
172
173
  }
173
174
  if (this.focusOnValueChanged) {
174
- this.r();
175
+ this.s();
175
176
  }
176
177
  }
177
- this.y = false;
178
+ this.ab = false;
179
+ };
180
+ DateEditorView.prototype.r = function () {
181
+ if (this.y != null) {
182
+ this.y.aq = !this.isEnabled;
183
+ }
178
184
  };
179
- DateEditorView.prototype.q = function () {
180
- if (this.v != null) {
181
- this.v.aq = !this.isEnabled;
185
+ DateEditorView.prototype.v = function () {
186
+ _super.prototype.v.call(this);
187
+ if (this.y != null) {
188
+ this.y.de = this.textColor;
182
189
  }
183
190
  };
184
191
  DateEditorView.prototype.onDatePickerValueChanged = function (a, b) {
185
- this.aj();
192
+ this.am();
186
193
  };
187
- DateEditorView.prototype.aj = function () {
188
- if (this.y) {
194
+ DateEditorView.prototype.am = function () {
195
+ if (this.ab) {
189
196
  return;
190
197
  }
191
- if (+(this.v.value) != +(dateMinValue())) {
192
- this.p(this.v.value, false);
198
+ if (+(this.y.value) != +(dateMinValue())) {
199
+ this.q(this.y.value, false);
193
200
  }
194
- else if (+(this.v.value) == +(dateMinValue())) {
195
- this.p(null, false);
201
+ else if (+(this.y.value) == +(dateMinValue())) {
202
+ this.q(null, false);
196
203
  }
197
204
  else {
198
- this.p(this.value, false);
205
+ this.q(this.value, false);
199
206
  }
200
207
  };
201
208
  DateEditorView.prototype.onInputChanging = function (a, b) {
202
- this.o();
209
+ this.p();
203
210
  };
204
211
  DateEditorView.prototype.onDatePickerLostFocus = function (a, b) {
205
- this.n();
212
+ this.o();
206
213
  };
207
214
  DateEditorView.prototype.onDatePickerGotFocus = function (a, b) {
208
- this.m();
215
+ this.n();
209
216
  };
210
217
  DateEditorView.prototype.getEditorValue = function () {
211
- if (this.v != null) {
212
- return this.v.value;
218
+ if (this.y != null) {
219
+ return this.y.value;
213
220
  }
214
221
  return null;
215
222
  };
216
223
  DateEditorView.prototype.setEditorValue = function (a) {
217
- if (this.v != null) {
218
- this.v.value = a != null ? a : dateMinValue();
224
+ if (this.y != null) {
225
+ this.y.value = a != null ? a : dateMinValue();
219
226
  }
220
227
  };
221
228
  DateEditorView.$t = markType(DateEditorView, 'DateEditorView', BaseEditorView.$);
@@ -270,18 +270,18 @@ var EditorCell = /** @class */ /*@__PURE__*/ (function (_super) {
270
270
  }
271
271
  this.ct = new ComboEditorView(this.ab, this.f.getTheme(), this.b);
272
272
  this.ct.setFont(this.cz);
273
- this.ct.ac = this.dh;
274
- this.ct.af = this.dm;
275
- this.ct.w = this.ci;
273
+ this.ct.af = this.dh;
274
+ this.ct.ai = this.dm;
275
+ this.ct.z = this.ci;
276
276
  return this.ct;
277
277
  };
278
278
  EditorCell.prototype.ea = function (a, b) {
279
279
  if (b.g != b.d || b.h != b.e) {
280
280
  if (this.ct != null) {
281
- this.ct.ai();
281
+ this.ct.al();
282
282
  }
283
283
  if (this.cu != null) {
284
- this.cu.ad();
284
+ this.cu.ag();
285
285
  }
286
286
  this.d0();
287
287
  }
@@ -354,9 +354,9 @@ var EditorCell = /** @class */ /*@__PURE__*/ (function (_super) {
354
354
  };
355
355
  EditorCell.prototype.d2 = function () {
356
356
  if (this.ct != null) {
357
- this.ct.ac = this.dh;
358
- this.ct.af = this.dm;
359
- this.ct.w = this.ci;
357
+ this.ct.af = this.dh;
358
+ this.ct.ai = this.dm;
359
+ this.ct.z = this.ci;
360
360
  }
361
361
  };
362
362
  EditorCell.prototype.d8 = function () {
@@ -391,12 +391,12 @@ var EditorCell = /** @class */ /*@__PURE__*/ (function (_super) {
391
391
  };
392
392
  EditorCell.prototype.d4 = function () {
393
393
  if (this.cn != null && this.cu == this.cn) {
394
- this.cu.ab = this.dr;
394
+ this.cu.ae = this.dr;
395
395
  }
396
396
  };
397
397
  EditorCell.prototype.ec = function () {
398
398
  if (this.cn != null && this.cu == this.cn) {
399
- this.cu.z = this.db;
399
+ this.cu.ac = this.db;
400
400
  }
401
401
  };
402
402
  EditorCell.prototype.eh = function (a, b, c, d, e) {