igniteui-angular-data-grids 20.0.0 → 20.0.1-beta.0
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-angular-data-grids.umd.js +3900 -3533
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +3 -3
- package/esm2015/lib/CanvasContentCellModelHelper.js +4 -4
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +10 -6
- package/esm2015/lib/CanvasGridCellBase.js +1 -1
- package/esm2015/lib/CanvasImageCellPresenter.js +6 -6
- package/esm2015/lib/CanvasNumericCellPresenter.js +9 -6
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTextCellPresenter.js +20 -15
- package/esm2015/lib/CanvasTextHeaderCell.js +4 -4
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CellPresenterBase.js +5 -5
- package/esm2015/lib/CheckboxListView_combined.js +479 -435
- package/esm2015/lib/ColumnChooserView_combined.js +13 -13
- package/esm2015/lib/ColumnFilterCondition_combined.js +2442 -2384
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +13 -13
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm2015/lib/ContentCellModelHelper.js +4 -4
- package/esm2015/lib/DataGridCellLayoutPanel.js +8 -8
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +10 -6
- package/esm2015/lib/EditorCellPresenter.js +19 -19
- package/esm2015/lib/FilterCellPresenter.js +11 -11
- package/esm2015/lib/FormatCellEventArgs.js +31 -0
- package/esm2015/lib/GridCellBase.js +1 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +9 -4
- package/esm2015/lib/GridSortIndicatorView_combined.js +136 -120
- package/esm2015/lib/ISummaryChooserView_combined.js +9 -9
- package/esm2015/lib/ImageCellPresenter.js +6 -6
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm2015/lib/NumericCellPresenter.js +9 -6
- package/esm2015/lib/PropertyEditorView_combined.js +17 -17
- package/esm2015/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/SummaryCellPresenter.js +6 -6
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/TextCellPresenter.js +20 -15
- package/esm2015/lib/TextHeaderCell.js +6 -5
- package/esm2015/lib/TextHeaderCellPresenter.js +16 -16
- package/esm2015/lib/igx-cell-info.js +58 -49
- package/esm2015/lib/igx-checkbox-list-component.js +58 -55
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +121 -97
- package/esm2015/lib/igx-data-grid-sort-indicator-component.js +20 -12
- package/esm2015/lib/igx-date-time-cell-info.js +12 -12
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-editor-cell-info.js +23 -23
- package/esm2015/lib/igx-filter-cell-info.js +26 -26
- package/esm2015/lib/igx-format-cell-event-args.js +82 -0
- package/esm2015/lib/igx-image-cell-info.js +6 -6
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-numeric-cell-info.js +26 -26
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-template-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-text-cell-info.js +2 -2
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +10 -10
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/CanvasCellPresenterBase.js +3 -3
- package/esm5/lib/CanvasContentCellModelHelper.js +4 -4
- package/esm5/lib/CanvasDateTimeCellPresenter.js +10 -6
- package/esm5/lib/CanvasGridCellBase.js +1 -1
- package/esm5/lib/CanvasImageCellPresenter.js +6 -6
- package/esm5/lib/CanvasNumericCellPresenter.js +9 -6
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CanvasTextCellPresenter.js +20 -15
- package/esm5/lib/CanvasTextHeaderCell.js +4 -4
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +9 -9
- package/esm5/lib/CellPresenterBase.js +5 -5
- package/esm5/lib/CheckboxListView_combined.js +461 -413
- package/esm5/lib/ColumnChooserView_combined.js +13 -13
- package/esm5/lib/ColumnFilterCondition_combined.js +2343 -2281
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +13 -13
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm5/lib/ContentCellModelHelper.js +4 -4
- package/esm5/lib/DataGridCellLayoutPanel.js +8 -8
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +10 -6
- package/esm5/lib/EditorCellPresenter.js +19 -19
- package/esm5/lib/FilterCellPresenter.js +11 -11
- package/esm5/lib/FormatCellEventArgs.js +37 -0
- package/esm5/lib/GridCellBase.js +1 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +9 -4
- package/esm5/lib/GridSortIndicatorView_combined.js +135 -115
- package/esm5/lib/ISummaryChooserView_combined.js +9 -9
- package/esm5/lib/ImageCellPresenter.js +6 -6
- package/esm5/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm5/lib/NumericCellPresenter.js +9 -6
- package/esm5/lib/PropertyEditorView_combined.js +17 -17
- package/esm5/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/SummaryCellPresenter.js +6 -6
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/TextCellPresenter.js +20 -15
- package/esm5/lib/TextHeaderCell.js +6 -5
- package/esm5/lib/TextHeaderCellPresenter.js +16 -16
- package/esm5/lib/igx-cell-info.js +62 -49
- package/esm5/lib/igx-checkbox-list-component.js +62 -55
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +126 -97
- package/esm5/lib/igx-data-grid-sort-indicator-component.js +24 -12
- package/esm5/lib/igx-date-time-cell-info.js +12 -12
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-editor-cell-info.js +23 -23
- package/esm5/lib/igx-filter-cell-info.js +26 -26
- package/esm5/lib/igx-format-cell-event-args.js +112 -0
- package/esm5/lib/igx-image-cell-info.js +6 -6
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-numeric-cell-info.js +26 -26
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-template-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-text-cell-info.js +2 -2
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +10 -10
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-angular-data-grids.js +3969 -3666
- package/fesm5/igniteui-angular-data-grids.js +3900 -3535
- package/lib/CanvasTextCellPresenter.d.ts +1 -0
- package/lib/CheckboxListView_combined.d.ts +127 -120
- package/lib/ColumnFilterCondition_combined.d.ts +643 -636
- package/lib/FormatCellEventArgs.d.ts +15 -0
- package/lib/GridSortIndicatorView_combined.d.ts +41 -38
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TextCellPresenter.d.ts +1 -0
- package/lib/igx-cell-info.d.ts +5 -0
- package/lib/igx-checkbox-list-component.d.ts +2 -0
- package/lib/igx-data-grid-column-component.d.ts +10 -1
- package/lib/igx-data-grid-sort-indicator-component.d.ts +4 -1
- package/lib/igx-format-cell-event-args.d.ts +45 -0
- package/package.json +4 -5
- package/public_api.d.ts +2 -0
|
@@ -137,7 +137,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
137
137
|
if (this.c == null || this.column == null) {
|
|
138
138
|
return false;
|
|
139
139
|
}
|
|
140
|
-
return this.column.
|
|
140
|
+
return this.column.jd && this.c.summaryScope != 3;
|
|
141
141
|
};
|
|
142
142
|
GridColumnSummaryOptions.prototype.be = function (a, b, c) {
|
|
143
143
|
_super.prototype.be.call(this, a, b, c);
|
|
@@ -167,7 +167,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
167
167
|
if (this.bw != null) {
|
|
168
168
|
var a = this.bw.a();
|
|
169
169
|
for (var b = 0; b < a.length; b++) {
|
|
170
|
-
var c = new ColumnSummaryDescription(1, this.column.
|
|
170
|
+
var c = new ColumnSummaryDescription(1, this.column.lp);
|
|
171
171
|
switch (a[b]) {
|
|
172
172
|
case "avg":
|
|
173
173
|
c.i = 3;
|
|
@@ -187,7 +187,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
187
187
|
}
|
|
188
188
|
for (var d = 0; d < this.c.summaryDescriptions.j.count; d++) {
|
|
189
189
|
var e = this.c.summaryDescriptions.j.item(d);
|
|
190
|
-
if (e.ah == this.column.
|
|
190
|
+
if (e.ah == this.column.lp && e.i == c.i) {
|
|
191
191
|
this.c.summaryDescriptions.j.removeAt(d);
|
|
192
192
|
d--;
|
|
193
193
|
}
|
|
@@ -195,7 +195,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
195
195
|
}
|
|
196
196
|
var f = this.bw.b();
|
|
197
197
|
for (var g = 0; g < f.length; g++) {
|
|
198
|
-
var h = new ColumnSummaryDescription(1, this.column.
|
|
198
|
+
var h = new ColumnSummaryDescription(1, this.column.lp);
|
|
199
199
|
switch (f[g]) {
|
|
200
200
|
case "avg":
|
|
201
201
|
h.i = 3;
|
|
@@ -216,14 +216,14 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
216
216
|
var i = false;
|
|
217
217
|
for (var j = 0; j < this.c.summaryDescriptions.j.count; j++) {
|
|
218
218
|
var k = this.c.summaryDescriptions.j.item(j);
|
|
219
|
-
if (k.ah == this.column.
|
|
219
|
+
if (k.ah == this.column.lp && k.i == h.i) {
|
|
220
220
|
i = true;
|
|
221
221
|
break;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
if (!i) {
|
|
225
225
|
this.c.summaryDescriptions.j.add(h);
|
|
226
|
-
this.column.
|
|
226
|
+
this.column.m2("Summed");
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
}
|
|
@@ -242,7 +242,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
242
242
|
this.b7 = 0;
|
|
243
243
|
for (var a = 0; a < this.c.summaryDescriptions.j.count; a++) {
|
|
244
244
|
var b = this.c.summaryDescriptions.j.item(a);
|
|
245
|
-
if (b.ah == this.column.
|
|
245
|
+
if (b.ah == this.column.lp) {
|
|
246
246
|
switch (b.i) {
|
|
247
247
|
case 3:
|
|
248
248
|
this.bw.a4("avg", true);
|
|
@@ -41,7 +41,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
41
41
|
var column_ = TypeRegistrar.create("IgxTextColumnComponent");
|
|
42
42
|
var b = (column_._implementation);
|
|
43
43
|
var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
44
|
-
b.
|
|
44
|
+
b.lp = a;
|
|
45
45
|
return b;
|
|
46
46
|
}
|
|
47
47
|
return null;
|
|
@@ -51,7 +51,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
51
51
|
var column_ = TypeRegistrar.create("IgxNumericColumnComponent");
|
|
52
52
|
var b = (column_._implementation);
|
|
53
53
|
var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
54
|
-
b.
|
|
54
|
+
b.lp = a;
|
|
55
55
|
return b;
|
|
56
56
|
}
|
|
57
57
|
return null;
|
|
@@ -61,7 +61,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
61
61
|
var column_ = TypeRegistrar.create("IgxDateTimeColumnComponent");
|
|
62
62
|
var b = (column_._implementation);
|
|
63
63
|
var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
64
|
-
b.
|
|
64
|
+
b.lp = a;
|
|
65
65
|
return b;
|
|
66
66
|
}
|
|
67
67
|
return null;
|
|
@@ -71,7 +71,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
71
71
|
var column_ = TypeRegistrar.create("IgxImageColumnComponent");
|
|
72
72
|
var b = (column_._implementation);
|
|
73
73
|
var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
74
|
-
b.
|
|
74
|
+
b.lp = a;
|
|
75
75
|
return b;
|
|
76
76
|
}
|
|
77
77
|
return null;
|
|
@@ -81,7 +81,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
81
81
|
var column_ = TypeRegistrar.create("IgxTemplateColumnComponent");
|
|
82
82
|
var b = (column_._implementation);
|
|
83
83
|
var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
84
|
-
b.
|
|
84
|
+
b.lp = a;
|
|
85
85
|
return b;
|
|
86
86
|
}
|
|
87
87
|
return null;
|
|
@@ -91,7 +91,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
91
91
|
var column_ = TypeRegistrar.create("IgxComboBoxColumnComponent");
|
|
92
92
|
var b = (column_._implementation);
|
|
93
93
|
var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
94
|
-
b.
|
|
94
|
+
b.lp = a;
|
|
95
95
|
return b;
|
|
96
96
|
}
|
|
97
97
|
return null;
|
|
@@ -10,6 +10,7 @@ import { Path } from "igniteui-angular-core";
|
|
|
10
10
|
import { KeyFrameAnimationFactory } from "igniteui-angular-core";
|
|
11
11
|
import { AnimationKeyFrameEffect } from "igniteui-angular-core";
|
|
12
12
|
import { AnimationKeyFrameEffectTiming } from "igniteui-angular-core";
|
|
13
|
+
import { NativeUI } from "igniteui-angular-core";
|
|
13
14
|
import { NativeUIComponent } from "igniteui-angular-core";
|
|
14
15
|
import { CellContentHorizontalAlignment_$type } from "./CellContentHorizontalAlignment";
|
|
15
16
|
import { intDivide, isNaN_ } from "igniteui-angular-core";
|
|
@@ -31,7 +32,6 @@ import { ColumnComparisonFilterCondition } from "./ColumnComparisonFilterConditi
|
|
|
31
32
|
import { ColumnComparisonConditionOperatorType_$type } from "./ColumnComparisonConditionOperatorType";
|
|
32
33
|
import { Geometry } from "igniteui-angular-core";
|
|
33
34
|
import { GridStyleRepository } from "./GridStyleRepository";
|
|
34
|
-
import { NativeUI } from "igniteui-angular-core";
|
|
35
35
|
import { FilterDialogRenderCompletedEventArgs } from "./FilterDialogRenderCompletedEventArgs";
|
|
36
36
|
import { ToolActionIconMenuInfo } from "igniteui-angular-core";
|
|
37
37
|
import { SvgIconRegistry } from "igniteui-angular-core";
|
|
@@ -94,6 +94,7 @@ var GridFilterDialogView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
94
94
|
this.m.rootWrapper.addClass("ig-filter-icon");
|
|
95
95
|
this.m.rootWrapper.setStyleProperty("cursor", "pointer");
|
|
96
96
|
this.q = this.m.rootWrapper;
|
|
97
|
+
NativeUI.y(this.q, 0);
|
|
97
98
|
var e = this.h;
|
|
98
99
|
var f = Math.round(d.rootWrapper.width());
|
|
99
100
|
var g = Math.round(d.rootWrapper.height());
|
|
@@ -481,7 +482,7 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
481
482
|
});
|
|
482
483
|
Object.defineProperty(GridFilterDialog.prototype, "ac", {
|
|
483
484
|
get: function () {
|
|
484
|
-
return this.v.bx;
|
|
485
|
+
return this.v != null ? this.v.bx : false;
|
|
485
486
|
},
|
|
486
487
|
enumerable: false,
|
|
487
488
|
configurable: true
|
|
@@ -554,7 +555,7 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
554
555
|
if (this.n.grid != null) {
|
|
555
556
|
this.n.grid.va();
|
|
556
557
|
}
|
|
557
|
-
this.n.
|
|
558
|
+
this.n.mz();
|
|
558
559
|
}
|
|
559
560
|
if (this.dialogOpening != null) {
|
|
560
561
|
var c = new GridFilterDialogOpeningEventArgs();
|
|
@@ -790,7 +791,7 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
790
791
|
GridFilterDialog.prototype.br = function () {
|
|
791
792
|
var _this = this;
|
|
792
793
|
this.y = false;
|
|
793
|
-
if (NativeUI.g(this.s.q) == 1) {
|
|
794
|
+
if (this.s.q == null || NativeUI.g(this.s.q) == 1) {
|
|
794
795
|
return;
|
|
795
796
|
}
|
|
796
797
|
if (this.ab) {
|
|
@@ -811,6 +812,9 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
811
812
|
var _this = this;
|
|
812
813
|
this.y = true;
|
|
813
814
|
if (!this.ac) {
|
|
815
|
+
if (this.s.q == null || NativeUI.g(this.s.q) == 0) {
|
|
816
|
+
return;
|
|
817
|
+
}
|
|
814
818
|
if (this.ab) {
|
|
815
819
|
this.a9();
|
|
816
820
|
if (this.w.playbackRate < 0) {
|
|
@@ -870,6 +874,7 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
870
874
|
a.iconName = "DotDotDot";
|
|
871
875
|
a.iconViewBoxWidth = 24;
|
|
872
876
|
a.iconViewBoxHeight = 24;
|
|
877
|
+
a.iconStrokeWidth = 0;
|
|
873
878
|
a.paddingBottom = 0;
|
|
874
879
|
a.paddingTop = 0;
|
|
875
880
|
a.paddingRight = 0;
|