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
|
@@ -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.
|
|
20
|
-
_this.
|
|
21
|
-
_this.
|
|
22
|
-
_this.
|
|
23
|
-
_this.
|
|
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.
|
|
35
|
-
_this.
|
|
36
|
-
_this.
|
|
37
|
-
_this.
|
|
38
|
-
_this.
|
|
39
|
-
_this.
|
|
40
|
-
_this.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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, "
|
|
49
|
+
Object.defineProperty(DateEditorView.prototype, "ae", {
|
|
49
50
|
get: function () {
|
|
50
|
-
return this.
|
|
51
|
+
return this.ad;
|
|
51
52
|
},
|
|
52
53
|
set: function (a) {
|
|
53
|
-
var b = this.
|
|
54
|
-
this.
|
|
55
|
-
if (b != this.
|
|
56
|
-
this.
|
|
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, "
|
|
63
|
+
Object.defineProperty(DateEditorView.prototype, "ac", {
|
|
63
64
|
get: function () {
|
|
64
|
-
return this.
|
|
65
|
+
return this.aa;
|
|
65
66
|
},
|
|
66
67
|
set: function (a) {
|
|
67
|
-
var b = this.
|
|
68
|
-
this.
|
|
69
|
-
if (b != this.
|
|
70
|
-
this.
|
|
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.
|
|
78
|
-
if (this.
|
|
79
|
-
this.
|
|
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.
|
|
84
|
-
var a = this.
|
|
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.
|
|
87
|
+
var b = this.y;
|
|
87
88
|
b.gotFocus = delegateCombine(b.gotFocus, runOn(this, this.onDatePickerGotFocus));
|
|
88
|
-
var c = this.
|
|
89
|
+
var c = this.y;
|
|
89
90
|
c.lostFocus = delegateCombine(c.lostFocus, runOn(this, this.onDatePickerLostFocus));
|
|
90
|
-
var d = this.
|
|
91
|
+
var d = this.y;
|
|
91
92
|
d.keyDown = delegateCombine(d.keyDown, runOn(this, this.onInputKeyDown));
|
|
92
|
-
var e = this.
|
|
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.
|
|
98
|
-
var a = this.
|
|
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.
|
|
101
|
+
var b = this.y;
|
|
101
102
|
b.gotFocus = delegateRemove(b.gotFocus, runOn(this, this.onDatePickerGotFocus));
|
|
102
|
-
var c = this.
|
|
103
|
+
var c = this.y;
|
|
103
104
|
c.lostFocus = delegateRemove(c.lostFocus, runOn(this, this.onDatePickerLostFocus));
|
|
104
|
-
var d = this.
|
|
105
|
+
var d = this.y;
|
|
105
106
|
d.keyDown = delegateRemove(d.keyDown, runOn(this, this.onInputKeyDown));
|
|
106
|
-
var e = this.
|
|
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.
|
|
112
|
-
this.
|
|
112
|
+
if (this.y != null) {
|
|
113
|
+
this.ab = true;
|
|
113
114
|
this.focus();
|
|
114
|
-
this.
|
|
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.
|
|
133
|
-
if (this.
|
|
134
|
-
this.
|
|
135
|
-
this.
|
|
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.
|
|
139
|
-
if (this.
|
|
140
|
-
this.
|
|
139
|
+
DateEditorView.prototype.ag = function () {
|
|
140
|
+
if (this.y != null) {
|
|
141
|
+
this.y.cc();
|
|
141
142
|
}
|
|
142
143
|
};
|
|
143
|
-
DateEditorView.prototype.
|
|
144
|
-
_super.prototype.
|
|
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.
|
|
148
|
+
this.ak();
|
|
148
149
|
break;
|
|
149
150
|
case "ShowClearButton":
|
|
150
|
-
if (this.
|
|
151
|
-
this.
|
|
151
|
+
if (this.y != null) {
|
|
152
|
+
this.y.as = this.showClearButton;
|
|
152
153
|
}
|
|
153
154
|
break;
|
|
154
155
|
case "ShowTodayButton":
|
|
155
|
-
if (this.
|
|
156
|
-
this.
|
|
156
|
+
if (this.y != null) {
|
|
157
|
+
this.y.at = this.ac;
|
|
157
158
|
}
|
|
158
159
|
break;
|
|
159
160
|
}
|
|
160
161
|
};
|
|
161
|
-
DateEditorView.prototype.
|
|
162
|
-
this.
|
|
162
|
+
DateEditorView.prototype.ak = function () {
|
|
163
|
+
this.y.bo = this.ae;
|
|
163
164
|
};
|
|
164
|
-
DateEditorView.prototype.
|
|
165
|
-
this.
|
|
166
|
-
if (this.
|
|
165
|
+
DateEditorView.prototype.w = function () {
|
|
166
|
+
this.ab = true;
|
|
167
|
+
if (this.y != null) {
|
|
167
168
|
if (this.value == null) {
|
|
168
|
-
this.
|
|
169
|
+
this.y.value = dateMinValue();
|
|
169
170
|
}
|
|
170
171
|
else {
|
|
171
|
-
this.
|
|
172
|
+
this.y.value = this.value;
|
|
172
173
|
}
|
|
173
174
|
if (this.focusOnValueChanged) {
|
|
174
|
-
this.
|
|
175
|
+
this.s();
|
|
175
176
|
}
|
|
176
177
|
}
|
|
177
|
-
this.
|
|
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.
|
|
180
|
-
|
|
181
|
-
|
|
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.
|
|
192
|
+
this.am();
|
|
186
193
|
};
|
|
187
|
-
DateEditorView.prototype.
|
|
188
|
-
if (this.
|
|
194
|
+
DateEditorView.prototype.am = function () {
|
|
195
|
+
if (this.ab) {
|
|
189
196
|
return;
|
|
190
197
|
}
|
|
191
|
-
if (+(this.
|
|
192
|
-
this.
|
|
198
|
+
if (+(this.y.value) != +(dateMinValue())) {
|
|
199
|
+
this.q(this.y.value, false);
|
|
193
200
|
}
|
|
194
|
-
else if (+(this.
|
|
195
|
-
this.
|
|
201
|
+
else if (+(this.y.value) == +(dateMinValue())) {
|
|
202
|
+
this.q(null, false);
|
|
196
203
|
}
|
|
197
204
|
else {
|
|
198
|
-
this.
|
|
205
|
+
this.q(this.value, false);
|
|
199
206
|
}
|
|
200
207
|
};
|
|
201
208
|
DateEditorView.prototype.onInputChanging = function (a, b) {
|
|
202
|
-
this.
|
|
209
|
+
this.p();
|
|
203
210
|
};
|
|
204
211
|
DateEditorView.prototype.onDatePickerLostFocus = function (a, b) {
|
|
205
|
-
this.
|
|
212
|
+
this.o();
|
|
206
213
|
};
|
|
207
214
|
DateEditorView.prototype.onDatePickerGotFocus = function (a, b) {
|
|
208
|
-
this.
|
|
215
|
+
this.n();
|
|
209
216
|
};
|
|
210
217
|
DateEditorView.prototype.getEditorValue = function () {
|
|
211
|
-
if (this.
|
|
212
|
-
return this.
|
|
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.
|
|
218
|
-
this.
|
|
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.$);
|
package/esm5/lib/EditorCell.js
CHANGED
|
@@ -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.
|
|
274
|
-
this.ct.
|
|
275
|
-
this.ct.
|
|
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.
|
|
281
|
+
this.ct.al();
|
|
282
282
|
}
|
|
283
283
|
if (this.cu != null) {
|
|
284
|
-
this.cu.
|
|
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.
|
|
358
|
-
this.ct.
|
|
359
|
-
this.ct.
|
|
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.
|
|
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.
|
|
399
|
+
this.cu.ac = this.db;
|
|
400
400
|
}
|
|
401
401
|
};
|
|
402
402
|
EditorCell.prototype.eh = function (a, b, c, d, e) {
|