igniteui-angular-data-grids 20.0.0-beta.1 → 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 -4
- package/public_api.d.ts +2 -0
|
@@ -813,10 +813,10 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
813
813
|
var c_1 = this.targetGrid.groupDescriptions.j;
|
|
814
814
|
var _loop_1 = function (d) {
|
|
815
815
|
var e = new GroupInfo();
|
|
816
|
-
var f = b.i(function (g) { return g.
|
|
816
|
+
var f = b.i(function (g) { return g.lp == c_1.item(d).f; });
|
|
817
817
|
if (f != -1) {
|
|
818
|
-
if (!stringIsNullOrEmpty(b._inner[f].
|
|
819
|
-
e.c = b._inner[f].
|
|
818
|
+
if (!stringIsNullOrEmpty(b._inner[f].lw)) {
|
|
819
|
+
e.c = b._inner[f].lw;
|
|
820
820
|
}
|
|
821
821
|
else {
|
|
822
822
|
e.c = c_1.item(d).f;
|
|
@@ -850,7 +850,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
850
850
|
var h = a;
|
|
851
851
|
var i = this.targetGrid.actualColumns._inner[h.cellPath.a5];
|
|
852
852
|
var j = new ColumnGroupDescription(0);
|
|
853
|
-
j.f = i.
|
|
853
|
+
j.f = i.lp;
|
|
854
854
|
j.c = 1;
|
|
855
855
|
var k = this.targetGrid.groupDescriptions.j.contains(j);
|
|
856
856
|
j.c = 0;
|
|
@@ -298,7 +298,7 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
298
298
|
break;
|
|
299
299
|
case "FilterPlaceholderText":
|
|
300
300
|
if (this.d != null) {
|
|
301
|
-
this.d.
|
|
301
|
+
this.d.b7 = this.s;
|
|
302
302
|
}
|
|
303
303
|
break;
|
|
304
304
|
case "BaseTheme":
|
|
@@ -346,12 +346,12 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
346
346
|
for (var _b = __values(fromEnum(this.b.actualColumns)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
347
347
|
var c = _c.value;
|
|
348
348
|
a = new ColumnPinningInfo();
|
|
349
|
-
var d = c.
|
|
350
|
-
if (c.
|
|
351
|
-
d = c.
|
|
349
|
+
var d = c.lp;
|
|
350
|
+
if (c.lw != null) {
|
|
351
|
+
d = c.lw;
|
|
352
352
|
}
|
|
353
353
|
a.columnName = d;
|
|
354
|
-
if (c.
|
|
354
|
+
if (c.im == 1) {
|
|
355
355
|
a.isPinned = true;
|
|
356
356
|
}
|
|
357
357
|
else {
|
|
@@ -375,7 +375,7 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
375
375
|
}
|
|
376
376
|
this.d.showSelectAll = false;
|
|
377
377
|
if (this.s != null) {
|
|
378
|
-
this.d.
|
|
378
|
+
this.d.b7 = this.s;
|
|
379
379
|
}
|
|
380
380
|
this.d.itemsSource = b;
|
|
381
381
|
var e = "";
|
|
@@ -391,17 +391,17 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
391
391
|
var c = this.d.f.actualDataSource.getItemAtIndex(b.c);
|
|
392
392
|
var d = this.b.actualColumns.count;
|
|
393
393
|
for (var e = 0; e < d; e++) {
|
|
394
|
-
if (this.b.actualColumns._inner[e].
|
|
395
|
-
if (this.b.actualColumns._inner[e].
|
|
396
|
-
this.b.actualColumns._inner[e].
|
|
394
|
+
if (this.b.actualColumns._inner[e].lp == c.columnName || this.b.actualColumns._inner[e].mg == c.columnName || this.b.actualColumns._inner[e].lw == c.columnName) {
|
|
395
|
+
if (this.b.actualColumns._inner[e].im == 0) {
|
|
396
|
+
this.b.actualColumns._inner[e].im = 1;
|
|
397
397
|
}
|
|
398
|
-
else if (this.b.actualColumns._inner[e].
|
|
399
|
-
this.b.actualColumns._inner[e].
|
|
398
|
+
else if (this.b.actualColumns._inner[e].im == 2) {
|
|
399
|
+
this.b.actualColumns._inner[e].im = 1;
|
|
400
400
|
}
|
|
401
401
|
else {
|
|
402
|
-
this.b.actualColumns._inner[e].
|
|
402
|
+
this.b.actualColumns._inner[e].im = 0;
|
|
403
403
|
}
|
|
404
|
-
this.b.actualColumns._inner[e].
|
|
404
|
+
this.b.actualColumns._inner[e].m2("Pinned");
|
|
405
405
|
break;
|
|
406
406
|
}
|
|
407
407
|
}
|
|
@@ -721,15 +721,15 @@ var ComparisonOperatorSelector = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
721
721
|
$ret.c = false;
|
|
722
722
|
return $ret;
|
|
723
723
|
})());
|
|
724
|
-
this.n.
|
|
725
|
-
this.n.
|
|
726
|
-
this.n.
|
|
724
|
+
this.n.kl = this.n.km = 4;
|
|
725
|
+
this.n.kn = this.n.kk = 0;
|
|
726
|
+
this.n.lp = "Icon";
|
|
727
727
|
var e = this.n;
|
|
728
728
|
e.cellUpdating = delegateCombine(e.cellUpdating, runOn(this, this.el));
|
|
729
729
|
this.f.columns.add(this.n);
|
|
730
730
|
var f = new TextColumn();
|
|
731
|
-
f.
|
|
732
|
-
f.
|
|
731
|
+
f.lp = "DisplayText";
|
|
732
|
+
f.kl = 0;
|
|
733
733
|
f.g = 0;
|
|
734
734
|
this.f.columns.add(f);
|
|
735
735
|
this.d4();
|
|
@@ -1039,7 +1039,7 @@ var ComparisonOperatorSelector = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
1039
1039
|
this.d8();
|
|
1040
1040
|
};
|
|
1041
1041
|
ComparisonOperatorSelector.prototype.el = function (a, b) {
|
|
1042
|
-
this.e.t(b.content, b.cellInfo.
|
|
1042
|
+
this.e.t(b.content, b.cellInfo.ho);
|
|
1043
1043
|
};
|
|
1044
1044
|
ComparisonOperatorSelector.$t = markType(ComparisonOperatorSelector, 'ComparisonOperatorSelector', Base.$, [INotifyPropertyChanged_$type]);
|
|
1045
1045
|
ComparisonOperatorSelector.dw = "M 8 5 A 7 7 0 1 0 15 12 A 7 7 0 0 0 8 5 z M 18 7 A 5 5 0 0 0 15 8.0605469 A 7.48 7.48 0 0 1 15.490234 9.0605469 A 3.89 3.89 0 1 1 15.490234 14.880859 A 8.08 8.08 0 0 1 15 15.880859 A 5 5 0 1 0 18 7 z M 11.179688 8.8203125 L 12.310547 9.9394531 L 7.0703125 15.179688 L 3.6894531 11.810547 L 4.8203125 10.689453 L 7.0703125 12.939453 L 11.179688 8.8203125 z M 16.560547 9.7792969 L 15.779297 10.560547 L 17.210938 12 L 15.779297 13.439453 L 16.560547 14.220703 L 18 12.789062 L 19.439453 14.220703 L 20.220703 13.439453 L 18.789062 12 L 20.220703 10.560547 L 19.439453 9.7792969 L 18 11.210938 L 16.560547 9.7792969 z ";
|
|
@@ -57,7 +57,7 @@ var ContentCellModelHelper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
57
57
|
};
|
|
58
58
|
ContentCellModelHelper.a = function (a, b, c, d, e) {
|
|
59
59
|
if (b.a3) {
|
|
60
|
-
if (b.a8(CellModel.fa) || b.a8(CellModel.eg) || b.a8(CellModel.
|
|
60
|
+
if (b.a8(CellModel.fa) || b.a8(CellModel.eg) || b.a8(CellModel.hd) || b.a7("IsRowPinned") || b.a7("IsRowSticky") || b.a7("PinnedRowOpacity")) {
|
|
61
61
|
var f = Math.min(1, Math.max(0, b.ct));
|
|
62
62
|
var g = b.cg * (1 - f);
|
|
63
63
|
d.setRawStyleProperty("opacity", g.toString());
|
|
@@ -66,9 +66,9 @@ var ContentCellModelHelper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
if (b.a8(CellModel.er)) {
|
|
69
|
-
ContentCellModelHelper.d(d, b.
|
|
69
|
+
ContentCellModelHelper.d(d, b.l0);
|
|
70
70
|
if (b.bi) {
|
|
71
|
-
e.cf(b.
|
|
71
|
+
e.cf(b.l0);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
if (b.a8(CellModel.gg)) {
|
|
@@ -88,7 +88,7 @@ var ContentCellModelHelper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
88
88
|
break;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
if (b.a8(CellModel.fw) || b.a8(CellModel.
|
|
91
|
+
if (b.a8(CellModel.fw) || b.a8(CellModel.hc)) {
|
|
92
92
|
var h = b.g;
|
|
93
93
|
var i = b.i;
|
|
94
94
|
ContentCellModelHelper.c(c, d, h);
|
|
@@ -216,7 +216,7 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
216
216
|
if (v.bh) {
|
|
217
217
|
m = true;
|
|
218
218
|
}
|
|
219
|
-
if (v.u == 1 && v.
|
|
219
|
+
if (v.u == 1 && v.hi != n) {
|
|
220
220
|
m = true;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
@@ -272,7 +272,7 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
272
272
|
ag.nativeCell.isRemoved = false;
|
|
273
273
|
}
|
|
274
274
|
af.u = 2;
|
|
275
|
-
var al = (af.g0 + intDivide(af.
|
|
275
|
+
var al = (af.g0 + intDivide(af.he, 2));
|
|
276
276
|
var am = (af.g2 + intDivide(af.fu, 2));
|
|
277
277
|
var an = (al - b) / this.f.actualVisibleRegion.width;
|
|
278
278
|
var ao = (am - a) / this.f.actualVisibleRegion.height;
|
|
@@ -294,15 +294,15 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
294
294
|
aj.setRawStyleProperty("clip", this.y(af));
|
|
295
295
|
}
|
|
296
296
|
else {
|
|
297
|
-
if (Rect.l_op_Inequality(af.
|
|
298
|
-
aj.setRawStyleProperty("clip", this.x(af.
|
|
297
|
+
if (Rect.l_op_Inequality(af.mi, Rect.empty)) {
|
|
298
|
+
aj.setRawStyleProperty("clip", this.x(af.mi));
|
|
299
299
|
}
|
|
300
300
|
else {
|
|
301
301
|
aj.setRawStyleProperty("clip", "auto");
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
af.
|
|
305
|
+
af.ky();
|
|
306
306
|
if (ai) {
|
|
307
307
|
var ap = af.s.nativeCell;
|
|
308
308
|
ap.co(z);
|
|
@@ -318,9 +318,9 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
318
318
|
ar.b6(aq, y.c, y.d, af.cu, af.cv, z);
|
|
319
319
|
aq.z();
|
|
320
320
|
}
|
|
321
|
-
af.
|
|
321
|
+
af.kr();
|
|
322
322
|
if (m) {
|
|
323
|
-
af.
|
|
323
|
+
af.hi = n;
|
|
324
324
|
if (!ai) {
|
|
325
325
|
aj.setRawStyleProperty("z-index", x.toString());
|
|
326
326
|
}
|
|
@@ -544,7 +544,7 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
544
544
|
DataGridCellLayoutPanel.prototype.y = function (a) {
|
|
545
545
|
var b = a.cu < this.g.cn ? this.g.cn - a.cu : 0;
|
|
546
546
|
var c = 0;
|
|
547
|
-
var d = this.g.cy == -1 ? a.
|
|
547
|
+
var d = this.g.cy == -1 ? a.he : (a.cu + a.he > this.g.co) ? a.he - (a.cu + a.he - this.g.co) : a.he;
|
|
548
548
|
var e = a.fu;
|
|
549
549
|
return this.x(new Rect(0, b, c, d, e));
|
|
550
550
|
};
|
|
@@ -811,10 +811,10 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
811
811
|
this.s = 0;
|
|
812
812
|
this.t = 0;
|
|
813
813
|
for (var b = 0; b < a; b++) {
|
|
814
|
-
if (this.e.actualColumns._inner[b].
|
|
814
|
+
if (this.e.actualColumns._inner[b].jp == true) {
|
|
815
815
|
this.s++;
|
|
816
816
|
}
|
|
817
|
-
if (this.e.actualColumns._inner[b].
|
|
817
|
+
if (this.e.actualColumns._inner[b].im == 1) {
|
|
818
818
|
this.t++;
|
|
819
819
|
}
|
|
820
820
|
}
|
|
@@ -29,18 +29,22 @@ var DateTimeCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
31
|
if (a.a3) {
|
|
32
|
-
if (a.a8(DateTimeCellModel.
|
|
32
|
+
if (a.a8(DateTimeCellModel.mv) || a.a8(DateTimeCellModel.mw) || a.a8(DateTimeCellModel.mu) || a.a8(DateTimeCellModel.gj) || a.a8(DateTimeCellModel.hb)) {
|
|
33
33
|
this.e(b);
|
|
34
|
-
this.d.cl.setRawText(b.
|
|
34
|
+
this.d.cl.setRawText(b.j3);
|
|
35
35
|
}
|
|
36
36
|
ContentCellModelHelper.a(this.a.ae, b, this.a.ah, this.d.cl, this.a);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
DateTimeCellPresenter.prototype.e = function (a) {
|
|
40
|
-
a.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
if (a.ki != null) {
|
|
41
|
+
a.j3 = a.ki;
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
a.j3 = a.m7(a.mt);
|
|
45
|
+
if (a.j3 == stringEmpty()) {
|
|
46
|
+
if (a.hn != null && !(typeCast(Date_$type, a.hn) !== null)) {
|
|
47
|
+
a.j3 = a.hn.toString();
|
|
44
48
|
}
|
|
45
49
|
}
|
|
46
50
|
};
|
|
@@ -30,45 +30,45 @@ var EditorCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
30
30
|
_super.prototype.b.call(this, a);
|
|
31
31
|
var b = a;
|
|
32
32
|
if (b.a3) {
|
|
33
|
-
if (b.a8(EditorCellModel.
|
|
34
|
-
this.d.cr = b.
|
|
35
|
-
this.d.dk = b.
|
|
36
|
-
this.d.dq = b.
|
|
37
|
-
this.d.cl = b.
|
|
33
|
+
if (b.a8(EditorCellModel.m3) || b.a8(EditorCellModel.m1) || b.a8(EditorCellModel.m2) || b.a8(EditorCellModel.m4)) {
|
|
34
|
+
this.d.cr = b.mq;
|
|
35
|
+
this.d.dk = b.nd;
|
|
36
|
+
this.d.dq = b.nm;
|
|
37
|
+
this.d.cl = b.mk;
|
|
38
38
|
}
|
|
39
|
-
if (b.a8(EditorCellModel.
|
|
40
|
-
this.d.cn = b.
|
|
39
|
+
if (b.a8(EditorCellModel.mz)) {
|
|
40
|
+
this.d.cn = b.mm;
|
|
41
41
|
}
|
|
42
42
|
if (b.a8(EditorCellModel.gj)) {
|
|
43
|
-
this.d.dl = b.
|
|
43
|
+
this.d.dl = b.hn;
|
|
44
44
|
}
|
|
45
|
-
if (b.a8(EditorCellModel.
|
|
46
|
-
this.d.eg(b.
|
|
45
|
+
if (b.a8(EditorCellModel.m5)) {
|
|
46
|
+
this.d.eg(b.mo == null);
|
|
47
47
|
}
|
|
48
48
|
if (b.a8(CellModel.fs)) {
|
|
49
49
|
this.d.c2 = b.ag;
|
|
50
50
|
}
|
|
51
|
-
if (b.a8(EditorCellModel.
|
|
52
|
-
if (stringIsNullOrWhiteSpace(b.
|
|
51
|
+
if (b.a8(EditorCellModel.m6)) {
|
|
52
|
+
if (stringIsNullOrWhiteSpace(b.nr)) {
|
|
53
53
|
this.d.c9 = false;
|
|
54
54
|
this.d.d3();
|
|
55
55
|
}
|
|
56
56
|
else {
|
|
57
57
|
this.d.c9 = true;
|
|
58
|
-
this.d.ek(b.
|
|
58
|
+
this.d.ek(b.nr, b.cu, b.cv, b.he, b.fu);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
if (b.a8(EditorCellModel.e9)) {
|
|
62
|
-
this.d.dd = Rect.l_op_Equality(b.
|
|
62
|
+
this.d.dd = Rect.l_op_Equality(b.mi, Rect.empty) ? false : true;
|
|
63
63
|
}
|
|
64
|
-
if (b.a8(EditorCellModel.
|
|
65
|
-
this.d.du = b.
|
|
64
|
+
if (b.a8(EditorCellModel.m0)) {
|
|
65
|
+
this.d.du = b.nj;
|
|
66
66
|
}
|
|
67
|
-
if (b.a8(EditorCellModel.
|
|
68
|
-
this.d.de = b.
|
|
67
|
+
if (b.a8(EditorCellModel.m9)) {
|
|
68
|
+
this.d.de = b.mw;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
if (b.a8(EditorCellModel.
|
|
71
|
+
if (b.a8(EditorCellModel.m7)) {
|
|
72
72
|
this.d.bh();
|
|
73
73
|
}
|
|
74
74
|
};
|
|
@@ -31,20 +31,20 @@ var FilterCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
31
31
|
FilterCellPresenter.prototype.e = function (a) {
|
|
32
32
|
var b = a;
|
|
33
33
|
if (a.a3) {
|
|
34
|
-
if (b.a8(FilterCellModel.
|
|
35
|
-
this.d.cm = b.
|
|
34
|
+
if (b.a8(FilterCellModel.m1)) {
|
|
35
|
+
this.d.cm = b.mo;
|
|
36
36
|
}
|
|
37
37
|
if (b.a8(CellModel.fs)) {
|
|
38
38
|
this.d.c1 = b.ag;
|
|
39
39
|
}
|
|
40
|
-
if (b.a8(FilterCellModel.
|
|
41
|
-
this.d.cl = b.
|
|
40
|
+
if (b.a8(FilterCellModel.m4)) {
|
|
41
|
+
this.d.cl = b.mm;
|
|
42
42
|
}
|
|
43
|
-
if (b.a8(FilterCellModel.
|
|
44
|
-
this.d.cu = b.
|
|
43
|
+
if (b.a8(FilterCellModel.m3)) {
|
|
44
|
+
this.d.cu = b.ms;
|
|
45
45
|
}
|
|
46
|
-
if (b.a8(FilterCellModel.
|
|
47
|
-
if (b.
|
|
46
|
+
if (b.a8(FilterCellModel.m5)) {
|
|
47
|
+
if (b.mu) {
|
|
48
48
|
this.d.dp();
|
|
49
49
|
}
|
|
50
50
|
else {
|
|
@@ -52,12 +52,12 @@ var FilterCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
if (b.a8(FilterCellModel.er)) {
|
|
55
|
-
this.d.ea = b.
|
|
55
|
+
this.d.ea = b.l0;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
if (a.bj || a.bo) {
|
|
59
|
-
if (b.a8(FilterCellModel.
|
|
60
|
-
this.d.d8(b.cu, b.cv, b.
|
|
59
|
+
if (b.a8(FilterCellModel.hg) || b.a8(FilterCellModel.hh) || b.a8(FilterCellModel.hf) || b.a8(FilterCellModel.fv)) {
|
|
60
|
+
this.d.d8(b.cu, b.cv, b.he, b.fu);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
import { __extends } from "tslib";
|
|
8
|
+
import { Base, markType } from "igniteui-angular-core";
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
var FormatCellEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
13
|
+
__extends(FormatCellEventArgs, _super);
|
|
14
|
+
function FormatCellEventArgs() {
|
|
15
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
16
|
+
_this.c = 0;
|
|
17
|
+
_this._item = null;
|
|
18
|
+
_this.e = null;
|
|
19
|
+
_this.f = null;
|
|
20
|
+
_this.b = false;
|
|
21
|
+
_this.a = false;
|
|
22
|
+
return _this;
|
|
23
|
+
}
|
|
24
|
+
Object.defineProperty(FormatCellEventArgs.prototype, "item", {
|
|
25
|
+
get: function () {
|
|
26
|
+
return this._item;
|
|
27
|
+
},
|
|
28
|
+
set: function (a) {
|
|
29
|
+
this._item = a;
|
|
30
|
+
},
|
|
31
|
+
enumerable: false,
|
|
32
|
+
configurable: true
|
|
33
|
+
});
|
|
34
|
+
FormatCellEventArgs.$t = markType(FormatCellEventArgs, 'FormatCellEventArgs');
|
|
35
|
+
return FormatCellEventArgs;
|
|
36
|
+
}(Base));
|
|
37
|
+
export { FormatCellEventArgs };
|
package/esm5/lib/GridCellBase.js
CHANGED
|
@@ -160,7 +160,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
160
160
|
if (this.c != null && this.c.filterUIType != 0) {
|
|
161
161
|
return false;
|
|
162
162
|
}
|
|
163
|
-
if (!this.column.
|
|
163
|
+
if (!this.column.jn) {
|
|
164
164
|
return false;
|
|
165
165
|
}
|
|
166
166
|
if (this.c == null || this.c.actualDataSource == null || !this.c.actualDataSource.isGroupingSupported || !this.c.actualDataSource.isFilteringSupported) {
|
|
@@ -294,7 +294,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
294
294
|
configurable: true
|
|
295
295
|
});
|
|
296
296
|
GridColumnFilterOptions.prototype.cu = function () {
|
|
297
|
-
var a = this.bx.
|
|
297
|
+
var a = this.bx.a0();
|
|
298
298
|
this.bw.al(!a);
|
|
299
299
|
var b = this.b3();
|
|
300
300
|
this.bw.am(b);
|
|
@@ -350,7 +350,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
350
350
|
}
|
|
351
351
|
this.column.g1 = i;
|
|
352
352
|
}
|
|
353
|
-
this.column.
|
|
353
|
+
this.column.m2("Filtered");
|
|
354
354
|
};
|
|
355
355
|
GridColumnFilterOptions.prototype.provideClearFiltersSection = function (a) {
|
|
356
356
|
this.bw.ah(a);
|
|
@@ -392,7 +392,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
392
392
|
GridColumnFilterOptions.prototype.co = function () {
|
|
393
393
|
var a = this.column;
|
|
394
394
|
var b = this.c;
|
|
395
|
-
var c = (null != a) ? a.
|
|
395
|
+
var c = (null != a) ? a.lp : null;
|
|
396
396
|
var d = null;
|
|
397
397
|
var e = null;
|
|
398
398
|
if (b != null) {
|
|
@@ -453,7 +453,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
453
453
|
GridColumnFilterOptions.prototype.cv = function () {
|
|
454
454
|
var e_2, _a;
|
|
455
455
|
var a = this.column;
|
|
456
|
-
var b = (null != a) ? a.
|
|
456
|
+
var b = (null != a) ? a.lp : null;
|
|
457
457
|
var c = true;
|
|
458
458
|
var d = toNullable(ColumnComparisonConditionOperatorType_$type, null);
|
|
459
459
|
var e = this.b4();
|
|
@@ -475,15 +475,15 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
if (e.count == 0 || !c) {
|
|
478
|
-
this.bx.
|
|
478
|
+
this.bx.ea();
|
|
479
479
|
return;
|
|
480
480
|
}
|
|
481
481
|
switch (d.value) {
|
|
482
482
|
case 0:
|
|
483
|
-
this.bx.
|
|
483
|
+
this.bx.c8();
|
|
484
484
|
break;
|
|
485
485
|
case 1:
|
|
486
|
-
this.bx.
|
|
486
|
+
this.bx.ea();
|
|
487
487
|
break;
|
|
488
488
|
}
|
|
489
489
|
var h = this.bx.keys;
|
|
@@ -541,9 +541,9 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
541
541
|
GridColumnFilterOptions.prototype.cw = function () {
|
|
542
542
|
if (null != this.bx) {
|
|
543
543
|
this.bx.density = this.b0;
|
|
544
|
-
this.bx.
|
|
544
|
+
this.bx.b7 = this.cc;
|
|
545
545
|
this.bx.backgroundColor = this.bo;
|
|
546
|
-
this.bx.
|
|
546
|
+
this.bx.fe = this.br;
|
|
547
547
|
this.bx.baseTheme = this.i;
|
|
548
548
|
this.bx.updateHrMargin(new Thickness(1, -7, 3, -7, 3));
|
|
549
549
|
}
|
|
@@ -129,7 +129,7 @@ var GridColumnGroupOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
129
129
|
if (null == this.c) {
|
|
130
130
|
return false;
|
|
131
131
|
}
|
|
132
|
-
return this.column.
|
|
132
|
+
return this.column.jc;
|
|
133
133
|
};
|
|
134
134
|
GridColumnGroupOptions.prototype.bj = function (a, b) {
|
|
135
135
|
if (null != a) {
|
|
@@ -178,7 +178,7 @@ var GridColumnGroupOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
178
178
|
if (null != a) {
|
|
179
179
|
var c = a.grid;
|
|
180
180
|
if (null != c) {
|
|
181
|
-
var d = a.
|
|
181
|
+
var d = a.lp;
|
|
182
182
|
var e = c.groupDescriptions.j;
|
|
183
183
|
for (var f = 0; f < e.count; f++) {
|
|
184
184
|
var g = e.item(f);
|
|
@@ -203,13 +203,13 @@ var GridColumnGroupOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
203
203
|
var a = this.c;
|
|
204
204
|
var b = this.column;
|
|
205
205
|
if (null != a && null != b) {
|
|
206
|
-
var c = new ColumnGroupDescription(1, b.
|
|
206
|
+
var c = new ColumnGroupDescription(1, b.lp);
|
|
207
207
|
var d = b.hr;
|
|
208
208
|
var e = d != 0 ? GridColumnOptionsUtilities.c(d) : 0;
|
|
209
209
|
c.c = e;
|
|
210
210
|
a.groupDescriptions.g(c);
|
|
211
211
|
b.hr = 0;
|
|
212
|
-
b.
|
|
212
|
+
b.m2("Grouped");
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
GridColumnGroupOptions.prototype.b8 = function () {
|
|
@@ -221,7 +221,7 @@ var GridColumnGroupOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
221
221
|
var d = ((function () { var e = _this.b3(c_1); c_1 = e.p0; return e.ret; })());
|
|
222
222
|
if (c_1 != -1) {
|
|
223
223
|
a.groupDescriptions.d(c_1);
|
|
224
|
-
b.
|
|
224
|
+
b.m2("Grouped");
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
};
|
|
@@ -144,15 +144,15 @@ var GridColumnHideOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
144
144
|
get: function () {
|
|
145
145
|
var a = this.column;
|
|
146
146
|
if (null != a) {
|
|
147
|
-
return a.
|
|
147
|
+
return a.jp;
|
|
148
148
|
}
|
|
149
149
|
return false;
|
|
150
150
|
},
|
|
151
151
|
set: function (a) {
|
|
152
152
|
var b = this.column;
|
|
153
153
|
if (null != b) {
|
|
154
|
-
b.
|
|
155
|
-
b.
|
|
154
|
+
b.jp = a;
|
|
155
|
+
b.m2("Hidden");
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
enumerable: false,
|
|
@@ -305,7 +305,7 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
305
305
|
Object.defineProperty(GridColumnOptions.prototype, "dx", {
|
|
306
306
|
get: function () {
|
|
307
307
|
var a = this.column;
|
|
308
|
-
return (null != a) ? a.
|
|
308
|
+
return (null != a) ? a.k4 : "(No column selected)";
|
|
309
309
|
},
|
|
310
310
|
enumerable: false,
|
|
311
311
|
configurable: true
|
|
@@ -222,7 +222,7 @@ var GridColumnPinOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
222
222
|
};
|
|
223
223
|
GridColumnPinOptions.prototype.a6 = function () {
|
|
224
224
|
var a = this.column;
|
|
225
|
-
this.b3 = a != null ? a.
|
|
225
|
+
this.b3 = a != null ? a.im : 0;
|
|
226
226
|
_super.prototype.a6.call(this);
|
|
227
227
|
};
|
|
228
228
|
GridColumnPinOptions.prototype.a7 = function (a, b) {
|
|
@@ -233,7 +233,7 @@ var GridColumnPinOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
233
233
|
}
|
|
234
234
|
switch (b.propertyName) {
|
|
235
235
|
case "Pinned":
|
|
236
|
-
this.b3 = c != null ? c.
|
|
236
|
+
this.b3 = c != null ? c.im : 0;
|
|
237
237
|
this.b2.m();
|
|
238
238
|
break;
|
|
239
239
|
}
|
|
@@ -251,7 +251,7 @@ var GridColumnPinOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
251
251
|
get: function () {
|
|
252
252
|
var a = this.column;
|
|
253
253
|
if (null != a) {
|
|
254
|
-
return a.
|
|
254
|
+
return a.im;
|
|
255
255
|
}
|
|
256
256
|
return this.b3;
|
|
257
257
|
},
|
|
@@ -261,7 +261,7 @@ var GridColumnPinOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
261
261
|
var c = this.column;
|
|
262
262
|
if (null != b && null != c) {
|
|
263
263
|
b.pinColumn(c, this.b3);
|
|
264
|
-
c.
|
|
264
|
+
c.m2("Pinned");
|
|
265
265
|
}
|
|
266
266
|
},
|
|
267
267
|
enumerable: false,
|