igniteui-webcomponents-data-grids 7.1.0-alpha.1 → 7.1.0-alpha.2
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-data-grids.umd.js +44020 -42109
- package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +4 -4
- package/esm2015/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +13 -13
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- 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 +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +25 -25
- package/esm2015/lib/CheckboxListBridge.js +36 -36
- package/esm2015/lib/CheckboxListView_combined.js +416 -411
- package/esm2015/lib/ColumnChooserView_combined.js +13 -13
- package/esm2015/lib/ColumnFilterCondition_combined.js +6915 -5977
- package/esm2015/lib/ColumnGroupingView_combined.js +13 -13
- package/esm2015/lib/ColumnOptionsIconAlignment.js +9 -1
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +5 -5
- package/esm2015/lib/DataGridCellLayoutPanel.js +14 -14
- package/esm2015/lib/DataGridLocaleEn.js +3 -0
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +16 -16
- package/esm2015/lib/DataGridToolbarView_combined.js +1 -1
- package/esm2015/lib/DateTimeCellPresenter.js +8 -8
- package/esm2015/lib/Dragger.js +4 -4
- package/esm2015/lib/EditorCellPresenter.js +21 -21
- package/esm2015/lib/FilterCellPresenter.js +12 -12
- package/esm2015/lib/GridCellBase.js +6 -6
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +9 -9
- 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/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExpansionIndicatorView_combined.js +5 -5
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +363 -258
- package/esm2015/lib/GridIconRepository.js +92 -0
- package/esm2015/lib/GridSortIndicatorView_combined.js +24 -20
- package/esm2015/lib/GridStyleRepository.js +6 -3
- package/esm2015/lib/ICheckboxListView.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +7 -7
- package/esm2015/lib/ImageCellPresenter.js +7 -7
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +7 -7
- package/esm2015/lib/NumericCellPresenter.js +8 -8
- package/esm2015/lib/PropertyEditorView_combined.js +23 -23
- 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 +3 -3
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/TextCellPresenter.js +9 -9
- package/esm2015/lib/TextHeaderCell.js +62 -27
- package/esm2015/lib/TextHeaderCellPresenter.js +44 -25
- package/esm2015/lib/igc-cell-info.js +97 -91
- package/esm2015/lib/igc-checkbox-list-component.js +57 -58
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-binding-event-args.js +27 -22
- package/esm2015/lib/igc-data-grid-column-component.js +271 -188
- package/esm2015/lib/igc-data-grid-component.js +135 -0
- package/esm2015/lib/igc-data-grid-filter-dialog-component.js +109 -38
- package/esm2015/lib/igc-date-time-cell-info.js +12 -12
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-date-time-column-module.js +2 -0
- package/esm2015/lib/igc-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- package/esm2015/lib/igc-filter-row-definition-module.js +2 -0
- package/esm2015/lib/igc-image-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-image-column-module.js +2 -0
- package/esm2015/lib/igc-numeric-cell-info.js +26 -26
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-numeric-column-module.js +2 -0
- package/esm2015/lib/igc-row-separator-module.js +2 -0
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-module.js +2 -0
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-template-cell-info.js +2 -2
- package/esm2015/lib/igc-template-column-module.js +2 -0
- package/esm2015/lib/igc-template-header-cell-info.js +2 -2
- package/esm2015/lib/igc-template-header-module.js +2 -0
- package/esm2015/lib/igc-template-section-header-module.js +4 -0
- package/esm2015/lib/igc-text-cell-info.js +2 -2
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-text-column-module.js +2 -0
- package/esm2015/lib/igc-text-header-cell-info.js +74 -24
- package/esm2015/lib/igc-text-header-module.js +2 -0
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/CanvasCellPresenterBase.js +4 -4
- package/esm5/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +13 -13
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- 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 +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +25 -25
- package/esm5/lib/CheckboxListBridge.js +36 -36
- package/esm5/lib/CheckboxListView_combined.js +399 -394
- package/esm5/lib/ColumnChooserView_combined.js +13 -13
- package/esm5/lib/ColumnFilterCondition_combined.js +6922 -5827
- package/esm5/lib/ColumnGroupingView_combined.js +13 -13
- package/esm5/lib/ColumnOptionsIconAlignment.js +9 -1
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +5 -5
- package/esm5/lib/DataGridCellLayoutPanel.js +14 -14
- package/esm5/lib/DataGridLocaleEn.js +3 -0
- package/esm5/lib/DataGridScrollerKeyboardListener.js +16 -16
- package/esm5/lib/DataGridToolbarView_combined.js +1 -1
- package/esm5/lib/DateTimeCellPresenter.js +8 -8
- package/esm5/lib/Dragger.js +4 -4
- package/esm5/lib/EditorCellPresenter.js +21 -21
- package/esm5/lib/FilterCellPresenter.js +12 -12
- package/esm5/lib/GridCellBase.js +6 -6
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +9 -9
- 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/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExpansionIndicatorView_combined.js +5 -5
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +377 -244
- package/esm5/lib/GridIconRepository.js +97 -0
- package/esm5/lib/GridSortIndicatorView_combined.js +24 -20
- package/esm5/lib/GridStyleRepository.js +10 -3
- package/esm5/lib/ICheckboxListView.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +7 -7
- package/esm5/lib/ImageCellPresenter.js +7 -7
- package/esm5/lib/MultiColumnComboBoxView_combined.js +7 -7
- package/esm5/lib/NumericCellPresenter.js +8 -8
- package/esm5/lib/PropertyEditorView_combined.js +23 -23
- 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 +3 -3
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/TextCellPresenter.js +9 -9
- package/esm5/lib/TextHeaderCell.js +62 -27
- package/esm5/lib/TextHeaderCellPresenter.js +44 -25
- package/esm5/lib/igc-cell-info.js +101 -91
- package/esm5/lib/igc-checkbox-list-component.js +57 -58
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-binding-event-args.js +27 -22
- package/esm5/lib/igc-data-grid-column-component.js +311 -188
- package/esm5/lib/igc-data-grid-component.js +177 -0
- package/esm5/lib/igc-data-grid-filter-dialog-component.js +133 -38
- package/esm5/lib/igc-date-time-cell-info.js +12 -12
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-date-time-column-module.js +2 -0
- package/esm5/lib/igc-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- package/esm5/lib/igc-filter-row-definition-module.js +2 -0
- package/esm5/lib/igc-image-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-image-column-module.js +2 -0
- package/esm5/lib/igc-numeric-cell-info.js +26 -26
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-numeric-column-module.js +2 -0
- package/esm5/lib/igc-row-separator-module.js +2 -0
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-module.js +2 -0
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-template-cell-info.js +2 -2
- package/esm5/lib/igc-template-column-module.js +2 -0
- package/esm5/lib/igc-template-header-cell-info.js +2 -2
- package/esm5/lib/igc-template-header-module.js +2 -0
- package/esm5/lib/igc-template-section-header-module.js +4 -0
- package/esm5/lib/igc-text-cell-info.js +2 -2
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-column-module.js +2 -0
- package/esm5/lib/igc-text-header-cell-info.js +98 -24
- package/esm5/lib/igc-text-header-module.js +2 -0
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-webcomponents-data-grids.js +38809 -37228
- package/fesm5/igniteui-webcomponents-data-grids.js +44020 -42111
- package/lib/CheckboxListView_combined.d.ts +104 -104
- package/lib/ColumnFilterCondition_combined.d.ts +1518 -1434
- package/lib/ColumnOptionsIconAlignment.d.ts +9 -1
- package/lib/DataGridLocaleEn.d.ts +3 -0
- package/lib/GridFilterDialogView_combined.d.ts +100 -80
- package/lib/GridIconRepository.d.ts +44 -0
- package/lib/GridSortIndicatorView_combined.d.ts +5 -4
- package/lib/GridStyleRepository.d.ts +3 -2
- package/lib/ICheckboxListView.d.ts +38 -0
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/igc-cell-info.d.ts +4 -0
- package/lib/igc-data-grid-column-component.d.ts +23 -0
- package/lib/igc-data-grid-component.d.ts +43 -0
- package/lib/igc-data-grid-filter-dialog-component.d.ts +30 -0
- package/lib/igc-text-header-cell-info.d.ts +15 -0
- package/package.json +4 -4
- package/public_api.d.ts +2 -0
|
@@ -28,24 +28,24 @@ export var SectionHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_
|
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
30
|
if (a.a7) {
|
|
31
|
-
if (a.bc(SectionHeaderCellModel.
|
|
32
|
-
if (b.
|
|
33
|
-
if (b.
|
|
34
|
-
b.
|
|
31
|
+
if (a.bc(SectionHeaderCellModel.n7) || a.bc(SectionHeaderCellModel.n9) || a.bc(SectionHeaderCellModel.n8) || a.bc(SectionHeaderCellModel.ob)) {
|
|
32
|
+
if (b.n3 == null || (b.n3.length == 0 && b.oh == null)) {
|
|
33
|
+
if (b.ig == null) {
|
|
34
|
+
b.ky = "";
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
37
|
-
b.
|
|
37
|
+
b.ky = b.ig.toString();
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
if (b.
|
|
42
|
-
b.
|
|
41
|
+
if (b.of != null && b.n6 == 0) {
|
|
42
|
+
b.ky = b.oh + " " + b.of;
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
|
-
b.
|
|
45
|
+
b.ky = b.oh;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
this.d.c8(this.d.dx, b.
|
|
48
|
+
this.d.c8(this.d.dx, b.ky);
|
|
49
49
|
}
|
|
50
50
|
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dx, this.a);
|
|
51
51
|
}
|
|
@@ -31,18 +31,18 @@ export var SummaryCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
31
31
|
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dz, this.a);
|
|
32
32
|
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d0, this.a);
|
|
33
33
|
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
34
|
-
if (b.
|
|
35
|
-
this.d.c8(this.d.dz, b.
|
|
34
|
+
if (b.n9 != null) {
|
|
35
|
+
this.d.c8(this.d.dz, b.n9);
|
|
36
36
|
}
|
|
37
|
-
if (b.
|
|
38
|
-
this.d.c8(this.d.d0, b.
|
|
37
|
+
if (b.ob != null) {
|
|
38
|
+
this.d.c8(this.d.d0, b.ob);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
if (a.bb("SummaryLabelTextColor")) {
|
|
42
|
-
this.d.dz.setRawStyleProperty("color", b.
|
|
42
|
+
this.d.dz.setRawStyleProperty("color", b.og._fill);
|
|
43
43
|
}
|
|
44
44
|
if (a.bb("SummaryLabelFontInfo")) {
|
|
45
|
-
var c = b.
|
|
45
|
+
var c = b.n2;
|
|
46
46
|
if (c == null) {
|
|
47
47
|
c = FontUtil.getDefaultFont(this.a.am);
|
|
48
48
|
}
|
|
@@ -30,12 +30,12 @@ export var TemplateCellPresenter = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
30
30
|
_super.prototype.b.call(this, a);
|
|
31
31
|
var b = a;
|
|
32
32
|
var c = this.d.actualColumns._inner[a.l.a5];
|
|
33
|
-
if (a.bc(CellModel.
|
|
33
|
+
if (a.bc(CellModel.fp) || a.bc(CellModel.h5)) {
|
|
34
34
|
var d = Math.min(1, Math.max(0, a.c7));
|
|
35
35
|
var e = a.cs * (1 - d);
|
|
36
36
|
this.e.dx.element.setRawStyleProperty("opacity", e.toString());
|
|
37
37
|
}
|
|
38
|
-
c.
|
|
38
|
+
c.rx(a, this.e.dx);
|
|
39
39
|
};
|
|
40
40
|
TemplateCellPresenter.$t = markType(TemplateCellPresenter, 'TemplateCellPresenter', CellPresenterBase.$);
|
|
41
41
|
return TemplateCellPresenter;
|
|
@@ -29,10 +29,10 @@ export var TemplateHeader = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
29
29
|
TemplateHeader.prototype.eq = function (a, b, c, d) {
|
|
30
30
|
_super.prototype.eq.call(this, a, b, c, d);
|
|
31
31
|
var e = a;
|
|
32
|
-
var f = b.
|
|
33
|
-
e.
|
|
32
|
+
var f = b.ci(a.l);
|
|
33
|
+
e.n3 = f.mi;
|
|
34
34
|
e.n = f.hu;
|
|
35
|
-
e.
|
|
35
|
+
e.n6 = f.jv;
|
|
36
36
|
};
|
|
37
37
|
TemplateHeader.prototype.ht = function (a, b) {
|
|
38
38
|
if (this.cellUpdating != null) {
|
|
@@ -16,40 +16,40 @@ export var TemplateHeaderCellModel = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
16
16
|
__extends(TemplateHeaderCellModel, _super);
|
|
17
17
|
function TemplateHeaderCellModel() {
|
|
18
18
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
-
_this.
|
|
19
|
+
_this.n5 = false;
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
22
|
-
Object.defineProperty(TemplateHeaderCellModel.prototype, "
|
|
22
|
+
Object.defineProperty(TemplateHeaderCellModel.prototype, "n6", {
|
|
23
23
|
get: function () {
|
|
24
|
-
return this.
|
|
24
|
+
return this.n5;
|
|
25
25
|
},
|
|
26
26
|
set: function (a) {
|
|
27
|
-
var b = this.
|
|
28
|
-
this.
|
|
29
|
-
if (this.
|
|
30
|
-
this.
|
|
27
|
+
var b = this.n5;
|
|
28
|
+
this.n5 = a;
|
|
29
|
+
if (this.n5 != b) {
|
|
30
|
+
this.mg("IsFilterUIVisible", TemplateHeaderCellModel.n7, b, this.n5);
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
enumerable: false,
|
|
34
34
|
configurable: true
|
|
35
35
|
});
|
|
36
|
-
TemplateHeaderCellModel.prototype.
|
|
37
|
-
_super.prototype.
|
|
36
|
+
TemplateHeaderCellModel.prototype.mp = function (a, b) {
|
|
37
|
+
_super.prototype.mp.call(this, a, b);
|
|
38
38
|
if (a == "IsFilterUIVisible") {
|
|
39
|
-
this.
|
|
39
|
+
this.n6 = b;
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
TemplateHeaderCellModel.prototype.
|
|
42
|
+
TemplateHeaderCellModel.prototype.l1 = function (a) {
|
|
43
43
|
switch (a) {
|
|
44
44
|
case "IsFilterUIVisible": return Boolean_$type;
|
|
45
45
|
}
|
|
46
|
-
return _super.prototype.
|
|
46
|
+
return _super.prototype.l1.call(this, a);
|
|
47
47
|
};
|
|
48
|
-
TemplateHeaderCellModel.prototype.
|
|
48
|
+
TemplateHeaderCellModel.prototype.ie = function (a) {
|
|
49
49
|
if (a == "IsFilterUIVisible") {
|
|
50
|
-
return this.
|
|
50
|
+
return this.n6;
|
|
51
51
|
}
|
|
52
|
-
return _super.prototype.
|
|
52
|
+
return _super.prototype.ie.call(this, a);
|
|
53
53
|
};
|
|
54
54
|
TemplateHeaderCellModel.prototype.b = function (a) {
|
|
55
55
|
if (a == null) {
|
|
@@ -57,10 +57,10 @@ export var TemplateHeaderCellModel = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
57
57
|
}
|
|
58
58
|
a = _super.prototype.b.call(this, a);
|
|
59
59
|
var b = a;
|
|
60
|
-
b.ae = this.
|
|
60
|
+
b.ae = this.n3;
|
|
61
61
|
return b;
|
|
62
62
|
};
|
|
63
63
|
TemplateHeaderCellModel.$t = markType(TemplateHeaderCellModel, 'TemplateHeaderCellModel', TemplateCellModel.$);
|
|
64
|
-
TemplateHeaderCellModel.
|
|
64
|
+
TemplateHeaderCellModel.n7 = CellModel.f8("IsFilterUIVisible");
|
|
65
65
|
return TemplateHeaderCellModel;
|
|
66
66
|
}(TemplateCellModel));
|
|
@@ -30,7 +30,7 @@ export var TemplateHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (
|
|
|
30
30
|
_super.prototype.b.call(this, a);
|
|
31
31
|
var b = this.d.actualColumns._inner[a.l.a5];
|
|
32
32
|
var c = b.header;
|
|
33
|
-
if (a.bc(CellModel.
|
|
33
|
+
if (a.bc(CellModel.fp) || a.bc(CellModel.h5)) {
|
|
34
34
|
var d = Math.min(1, Math.max(0, a.c7));
|
|
35
35
|
var e = a.cs * (1 - d);
|
|
36
36
|
this.e.dx.element.setRawStyleProperty("opacity", e.toString());
|
|
@@ -28,26 +28,26 @@ export var TextCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
30
|
if (a.a7) {
|
|
31
|
-
if (a.bc(TextCellModel.
|
|
32
|
-
b.
|
|
33
|
-
this.d.c8(this.d.dx, b.
|
|
31
|
+
if (a.bc(TextCellModel.n1) || a.bc(TextCellModel.h3) || a.bc(TextCellModel.gy)) {
|
|
32
|
+
b.ky = this.e(b);
|
|
33
|
+
this.d.c8(this.d.dx, b.ky);
|
|
34
34
|
}
|
|
35
35
|
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dx, this.a);
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
TextCellPresenter.prototype.e = function (a) {
|
|
39
|
-
if (a.
|
|
40
|
-
return a.
|
|
39
|
+
if (a.lu != null) {
|
|
40
|
+
return a.lu;
|
|
41
41
|
}
|
|
42
|
-
if (a.
|
|
43
|
-
return a.
|
|
42
|
+
if (a.n3 != null) {
|
|
43
|
+
return a.n3;
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
|
-
if (a.
|
|
46
|
+
if (a.ig == null) {
|
|
47
47
|
return "";
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
|
-
return a.
|
|
50
|
+
return a.ig.toString();
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
};
|
|
@@ -51,14 +51,14 @@ export var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
51
51
|
_this.d8 = d;
|
|
52
52
|
var e = a.getSubRenderer(d);
|
|
53
53
|
_this.d1 = new GridFilterDialog();
|
|
54
|
-
_this.d1.
|
|
54
|
+
_this.d1.ca(e, _this.ar, a);
|
|
55
55
|
_this.ar.append(d);
|
|
56
|
-
_this.d1.
|
|
57
|
-
_this.d1.
|
|
58
|
-
var f = _this.d1.
|
|
59
|
-
_this.d1.
|
|
60
|
-
_this.d1.
|
|
61
|
-
_this.d1.
|
|
56
|
+
_this.d1.b1(b, c);
|
|
57
|
+
_this.d1.ar = 24;
|
|
58
|
+
var f = _this.d1.ai;
|
|
59
|
+
_this.d1.ai = false;
|
|
60
|
+
_this.d1.by();
|
|
61
|
+
_this.d1.ai = f;
|
|
62
62
|
var g = 18;
|
|
63
63
|
var h = 18;
|
|
64
64
|
d = a.createElement("div");
|
|
@@ -164,7 +164,7 @@ export var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164
164
|
}
|
|
165
165
|
};
|
|
166
166
|
TextHeaderCell.prototype.dd = function (a, b, c, d) {
|
|
167
|
-
this.d1.
|
|
167
|
+
this.d1.b0();
|
|
168
168
|
};
|
|
169
169
|
TextHeaderCell.prototype.ef = function (a, b) {
|
|
170
170
|
switch (b.propertyName) {
|
|
@@ -189,11 +189,10 @@ export var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
189
189
|
if (this.b.isGridDragging) {
|
|
190
190
|
return;
|
|
191
191
|
}
|
|
192
|
-
this.d1.bk();
|
|
193
192
|
switch (this.d0) {
|
|
194
193
|
case 2:
|
|
195
194
|
case 3:
|
|
196
|
-
this.d1.
|
|
195
|
+
this.d1.ce();
|
|
197
196
|
break;
|
|
198
197
|
}
|
|
199
198
|
};
|
|
@@ -201,7 +200,7 @@ export var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
201
200
|
switch (this.d0) {
|
|
202
201
|
case 2:
|
|
203
202
|
case 3:
|
|
204
|
-
this.d1.
|
|
203
|
+
this.d1.by();
|
|
205
204
|
break;
|
|
206
205
|
}
|
|
207
206
|
};
|
|
@@ -222,29 +221,55 @@ export var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
222
221
|
this.dw = c;
|
|
223
222
|
this.d1.k = c;
|
|
224
223
|
if (c == 2) {
|
|
225
|
-
this.ar.removeChild(this.d9);
|
|
226
|
-
this.ar.removeChild(this.d8);
|
|
227
|
-
this.d7.before(this.d8);
|
|
228
|
-
this.d8.before(this.d9);
|
|
229
224
|
if (this.dy == 1) {
|
|
225
|
+
this.ar.removeChild(this.d9);
|
|
226
|
+
this.ar.removeChild(this.d8);
|
|
227
|
+
this.d7.before(this.d8);
|
|
228
|
+
this.d8.before(this.d9);
|
|
230
229
|
this.d8.setRawStyleProperty("margin", "0 5px 0 0");
|
|
231
230
|
this.d1.l = this.dw;
|
|
232
231
|
}
|
|
232
|
+
else if (this.dy == 4) {
|
|
233
|
+
this.ar.removeChild(this.d9);
|
|
234
|
+
this.ar.removeChild(this.d8);
|
|
235
|
+
this.ar.append(this.d8);
|
|
236
|
+
this.d7.before(this.d9);
|
|
237
|
+
this.d8.setRawStyleProperty("margin", "0 0 0 5px");
|
|
238
|
+
this.d1.l = 2;
|
|
239
|
+
}
|
|
233
240
|
else {
|
|
241
|
+
this.ar.removeChild(this.d9);
|
|
242
|
+
this.ar.removeChild(this.d8);
|
|
243
|
+
this.d7.before(this.d8);
|
|
244
|
+
this.d8.before(this.d9);
|
|
234
245
|
this.d8.setRawStyleProperty("margin", "0");
|
|
235
246
|
this.d1.l = 0;
|
|
236
247
|
}
|
|
237
248
|
}
|
|
238
249
|
else {
|
|
239
|
-
this.ar.removeChild(this.d9);
|
|
240
|
-
this.ar.removeChild(this.d7);
|
|
241
|
-
this.d8.before(this.d7);
|
|
242
|
-
this.d8.before(this.d9);
|
|
243
250
|
if (this.dy == 1) {
|
|
251
|
+
this.ar.removeChild(this.d9);
|
|
252
|
+
this.ar.removeChild(this.d7);
|
|
253
|
+
this.d8.before(this.d7);
|
|
254
|
+
this.d8.before(this.d9);
|
|
244
255
|
this.d8.setRawStyleProperty("margin", "0 0 0 5px");
|
|
245
256
|
this.d1.l = this.dw;
|
|
246
257
|
}
|
|
258
|
+
else if (this.dy == 3) {
|
|
259
|
+
this.ar.removeChild(this.d9);
|
|
260
|
+
this.ar.removeChild(this.d7);
|
|
261
|
+
this.ar.removeChild(this.d8);
|
|
262
|
+
this.ar.append(this.d8);
|
|
263
|
+
this.ar.append(this.d7);
|
|
264
|
+
this.ar.append(this.d9);
|
|
265
|
+
this.d8.setRawStyleProperty("margin", "0 5px 0 0");
|
|
266
|
+
this.d1.l = 0;
|
|
267
|
+
}
|
|
247
268
|
else {
|
|
269
|
+
this.ar.removeChild(this.d9);
|
|
270
|
+
this.ar.removeChild(this.d7);
|
|
271
|
+
this.d8.before(this.d7);
|
|
272
|
+
this.d8.before(this.d9);
|
|
248
273
|
this.d8.setRawStyleProperty("margin", "0");
|
|
249
274
|
this.d1.l = 2;
|
|
250
275
|
}
|
|
@@ -252,17 +277,26 @@ export var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
252
277
|
};
|
|
253
278
|
TextHeaderCell.prototype.c6 = function (a, b, c, d) {
|
|
254
279
|
_super.prototype.c6.call(this, a, b, c, d);
|
|
255
|
-
this.d1.
|
|
256
|
-
this.d1.
|
|
280
|
+
this.d1.av = a;
|
|
281
|
+
this.d1.aw = c;
|
|
257
282
|
};
|
|
258
283
|
TextHeaderCell.prototype.ek = function () {
|
|
259
|
-
if (this.dy ==
|
|
284
|
+
if (this.dy == 3) {
|
|
285
|
+
this.d1.l = 0;
|
|
286
|
+
this.d8.setRawStyleProperty("margin", "0");
|
|
287
|
+
}
|
|
288
|
+
else if (this.dy == 4) {
|
|
289
|
+
this.d1.l = 2;
|
|
290
|
+
this.d8.setRawStyleProperty("margin", "0");
|
|
291
|
+
}
|
|
292
|
+
else if (this.dy == 2 || this.dy == 0) {
|
|
260
293
|
if (this.dw == 2) {
|
|
261
294
|
this.d1.l = 0;
|
|
262
295
|
}
|
|
263
296
|
else {
|
|
264
297
|
this.d1.l = 2;
|
|
265
298
|
}
|
|
299
|
+
this.d8.setRawStyleProperty("margin", "0");
|
|
266
300
|
}
|
|
267
301
|
else {
|
|
268
302
|
this.d1.l = this.dw;
|
|
@@ -273,18 +307,19 @@ export var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
273
307
|
this.d8.setRawStyleProperty("margin", "0 0 0 5px");
|
|
274
308
|
}
|
|
275
309
|
}
|
|
310
|
+
this.ci(this.ar, this.d7, this.dw);
|
|
276
311
|
};
|
|
277
312
|
TextHeaderCell.prototype.ej = function () {
|
|
278
313
|
switch (this.d0) {
|
|
279
314
|
case 1:
|
|
280
|
-
this.d1.
|
|
281
|
-
this.d1.
|
|
315
|
+
this.d1.ai = false;
|
|
316
|
+
this.d1.ce();
|
|
282
317
|
break;
|
|
283
318
|
case 2:
|
|
284
|
-
this.d1.
|
|
319
|
+
this.d1.ai = false;
|
|
285
320
|
break;
|
|
286
321
|
case 3:
|
|
287
|
-
this.d1.
|
|
322
|
+
this.d1.ai = true;
|
|
288
323
|
break;
|
|
289
324
|
}
|
|
290
325
|
};
|
|
@@ -303,7 +338,7 @@ export var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
303
338
|
if (e_.button == 2) {
|
|
304
339
|
return;
|
|
305
340
|
}
|
|
306
|
-
var b = this.d1.
|
|
341
|
+
var b = this.d1.ak(e_);
|
|
307
342
|
if (b) {
|
|
308
343
|
this.d5 = true;
|
|
309
344
|
return;
|
|
@@ -30,11 +30,11 @@ export var TextHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
30
30
|
_super.prototype.b.call(this, a);
|
|
31
31
|
var b = a;
|
|
32
32
|
if (a.a7) {
|
|
33
|
-
if (a.bc(TextCellModel.
|
|
34
|
-
b.
|
|
35
|
-
this.d.c8(this.d.ea, b.
|
|
33
|
+
if (a.bc(TextCellModel.n1)) {
|
|
34
|
+
b.ky = b.n3;
|
|
35
|
+
this.d.c8(this.d.ea, b.ky);
|
|
36
36
|
}
|
|
37
|
-
if (a.bc(CellModel.
|
|
37
|
+
if (a.bc(CellModel.hj)) {
|
|
38
38
|
var c = this.d.d4.m;
|
|
39
39
|
if (a.bt) {
|
|
40
40
|
this.d.d4.m = false;
|
|
@@ -44,63 +44,82 @@ export var TextHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
44
44
|
this.d.d4.m = c;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
if (a.bc(CellModel.
|
|
47
|
+
if (a.bc(CellModel.hk)) {
|
|
48
48
|
var d = this.d.d4.m;
|
|
49
49
|
if (a.bt) {
|
|
50
50
|
this.d.d4.m = false;
|
|
51
51
|
}
|
|
52
|
-
this.d.d4.a3 = a.
|
|
52
|
+
this.d.d4.a3 = a.nt;
|
|
53
53
|
if (a.bt) {
|
|
54
54
|
this.d.d4.m = d;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
if (a.bb("IsColumnOptionsEnabled")) {
|
|
58
|
-
var e = b.
|
|
58
|
+
var e = b.oi;
|
|
59
59
|
if (e) {
|
|
60
60
|
e = this.e();
|
|
61
61
|
}
|
|
62
62
|
this.d.d6 = e;
|
|
63
63
|
this.d.d8.setRawStyleProperty("display", e ? "inline-block" : "none");
|
|
64
|
-
this.a.dc(a.
|
|
64
|
+
this.a.dc(a.h6, (a.g1 + a.g3 + a.fg + a.fj));
|
|
65
65
|
}
|
|
66
66
|
if (a.bb("SortIndicatorStyle")) {
|
|
67
|
-
this.d.d4.f = b.
|
|
67
|
+
this.d.d4.f = b.oa;
|
|
68
68
|
}
|
|
69
69
|
if (a.bb("ColumnOptionsIconAlignment")) {
|
|
70
|
-
this.d.dy = b.
|
|
70
|
+
this.d.dy = b.n6;
|
|
71
71
|
}
|
|
72
72
|
if (a.bb("ColumnOptionsIconBehavior")) {
|
|
73
|
-
this.d.d0 = b.
|
|
73
|
+
this.d.d0 = b.n8;
|
|
74
74
|
}
|
|
75
75
|
if (a.bb("ColumnOptionsIconColor")) {
|
|
76
|
-
this.d.d2.
|
|
76
|
+
this.d.d2.c1 = b.p1;
|
|
77
77
|
}
|
|
78
78
|
if (a.bb("Path") || (this.d.d2.n != null && this.d.d2.n.grid == null)) {
|
|
79
79
|
var f = a.e.getColumn();
|
|
80
80
|
if (f != this.d.d2.n) {
|
|
81
81
|
this.d.d2.n = f;
|
|
82
|
+
this.d.d2.bx();
|
|
82
83
|
}
|
|
83
84
|
}
|
|
84
|
-
if (a.bc(TextHeaderCellModel.
|
|
85
|
-
this.d.da(b.
|
|
85
|
+
if (a.bc(TextHeaderCellModel.oz)) {
|
|
86
|
+
this.d.da(b.oc);
|
|
87
|
+
}
|
|
88
|
+
if (a.bc(TextHeaderCellModel.ol)) {
|
|
89
|
+
this.d.d2.ct = b.pw;
|
|
90
|
+
}
|
|
91
|
+
if (a.bc(TextHeaderCellModel.ox)) {
|
|
92
|
+
this.d.d2.cz = b.p3;
|
|
86
93
|
}
|
|
87
|
-
if (a.bc(TextHeaderCellModel.
|
|
88
|
-
this.d.d2.
|
|
94
|
+
if (a.bc(TextHeaderCellModel.oy)) {
|
|
95
|
+
this.d.d2.ab = b.og;
|
|
96
|
+
}
|
|
97
|
+
if (a.bc(TextHeaderCellModel.oq)) {
|
|
98
|
+
this.d.d2.cx = b.p0;
|
|
99
|
+
}
|
|
100
|
+
if (a.bc(TextHeaderCellModel.o0)) {
|
|
101
|
+
this.d.d2.c0 = b.p4;
|
|
102
|
+
}
|
|
103
|
+
if (a.bc(TextHeaderCellModel.op)) {
|
|
104
|
+
this.d.d2.cw = b.pz;
|
|
105
|
+
}
|
|
106
|
+
if (a.bc(TextHeaderCellModel.ow)) {
|
|
107
|
+
this.d.d2.cy = b.p2;
|
|
89
108
|
}
|
|
90
109
|
if (a.bc(TextHeaderCellModel.om)) {
|
|
91
|
-
this.d.d2.
|
|
110
|
+
this.d.d2.cu = b.px;
|
|
92
111
|
}
|
|
93
|
-
if (a.bc(TextHeaderCellModel.
|
|
94
|
-
this.d.d2.
|
|
112
|
+
if (a.bc(TextHeaderCellModel.on)) {
|
|
113
|
+
this.d.d2.cv = b.py;
|
|
95
114
|
}
|
|
96
|
-
if (a.bc(TextHeaderCellModel.
|
|
97
|
-
this.d.d2.
|
|
115
|
+
if (a.bc(TextHeaderCellModel.oo)) {
|
|
116
|
+
this.d.d2.aa = b.of;
|
|
98
117
|
}
|
|
99
|
-
if (a.bc(TextHeaderCellModel.
|
|
100
|
-
this.d.d2.
|
|
118
|
+
if (a.bc(TextHeaderCellModel.ok)) {
|
|
119
|
+
this.d.d2.cs = b.pv;
|
|
101
120
|
}
|
|
102
|
-
if (a.bc(TextHeaderCellModel.
|
|
103
|
-
this.d.d2.
|
|
121
|
+
if (a.bc(TextHeaderCellModel.ov)) {
|
|
122
|
+
this.d.d2.ax = b.ou;
|
|
104
123
|
}
|
|
105
124
|
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.ea, this.a);
|
|
106
125
|
}
|