igniteui-angular-data-grids 20.1.0 → 20.2.0-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 +5727 -5576
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +9 -9
- package/esm2015/lib/CanvasContentCellModelHelper.js +9 -9
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +7 -7
- package/esm2015/lib/CanvasImageCellPresenter.js +9 -9
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCell.js +1 -1
- package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +40 -37
- package/esm2015/lib/CheckboxListBridge.js +4 -0
- package/esm2015/lib/CheckboxListView_combined.js +778 -743
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +2894 -2867
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +13 -13
- package/esm2015/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/EditorCell.js +303 -303
- package/esm2015/lib/EditorCellPresenter.js +27 -27
- package/esm2015/lib/EditorRowCell.js +1 -1
- package/esm2015/lib/FilterCell.js +272 -272
- package/esm2015/lib/FilterCellPresenter.js +16 -16
- package/esm2015/lib/GridCellBase.js +354 -335
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +6 -6
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +1 -1
- package/esm2015/lib/GridSortIndicatorView_combined.js +15 -8
- package/esm2015/lib/ISummaryChooserView_combined.js +9 -9
- package/esm2015/lib/ImageCell.js +59 -59
- package/esm2015/lib/ImageCellPresenter.js +17 -17
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm2015/lib/NumericCell.js +8 -8
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +21 -21
- package/esm2015/lib/SectionHeaderCell.js +15 -15
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SortIndicatorStyle.js +6 -2
- package/esm2015/lib/SummaryCell.js +40 -40
- package/esm2015/lib/SummaryCellPresenter.js +10 -10
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +5 -5
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/TextCell.js +32 -32
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +153 -153
- package/esm2015/lib/TextHeaderCellPresenter.js +25 -25
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +164 -155
- package/esm2015/lib/igx-checkbox-list-component.js +82 -66
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +87 -76
- 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-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/esm5/lib/AccessibilityRow.js +1 -1
- package/esm5/lib/CanvasCellPresenterBase.js +9 -9
- package/esm5/lib/CanvasContentCellModelHelper.js +9 -9
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +7 -7
- package/esm5/lib/CanvasImageCellPresenter.js +9 -9
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCell.js +1 -1
- package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +3 -3
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +40 -37
- package/esm5/lib/CheckboxListBridge.js +4 -0
- package/esm5/lib/CheckboxListView_combined.js +760 -725
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +2735 -2700
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +13 -13
- package/esm5/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/EditorCell.js +285 -285
- package/esm5/lib/EditorCellPresenter.js +27 -27
- package/esm5/lib/EditorRowCell.js +1 -1
- package/esm5/lib/FilterCell.js +262 -262
- package/esm5/lib/FilterCellPresenter.js +16 -16
- package/esm5/lib/GridCellBase.js +349 -326
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnHideOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +6 -6
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +1 -1
- package/esm5/lib/GridSortIndicatorView_combined.js +15 -10
- package/esm5/lib/ISummaryChooserView_combined.js +9 -9
- package/esm5/lib/ImageCell.js +59 -59
- package/esm5/lib/ImageCellPresenter.js +17 -17
- package/esm5/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm5/lib/NumericCell.js +8 -8
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +21 -21
- package/esm5/lib/SectionHeaderCell.js +15 -15
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SortIndicatorStyle.js +6 -2
- package/esm5/lib/SummaryCell.js +40 -40
- package/esm5/lib/SummaryCellPresenter.js +10 -10
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +5 -5
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/TextCell.js +32 -32
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +151 -151
- package/esm5/lib/TextHeaderCellPresenter.js +25 -25
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +168 -155
- package/esm5/lib/igx-checkbox-list-component.js +82 -66
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +91 -76
- 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-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/fesm2015/igniteui-angular-data-grids.js +5924 -5791
- package/fesm5/igniteui-angular-data-grids.js +5729 -5578
- package/lib/CheckboxListBridge.d.ts +1 -0
- package/lib/CheckboxListViewExternal.d.ts +1 -0
- package/lib/CheckboxListView_combined.d.ts +185 -179
- package/lib/ColumnFilterCondition_combined.d.ts +820 -813
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +105 -102
- package/lib/ImageCell.d.ts +17 -17
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +3 -3
- package/lib/SortIndicatorStyle.d.ts +5 -1
- package/lib/SummaryCell.d.ts +9 -9
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +29 -29
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igx-cell-info.d.ts +6 -0
- package/lib/igx-checkbox-list-component.d.ts +10 -0
- package/lib/igx-data-grid-column-component.d.ts +7 -1
- package/package.json +4 -4
|
@@ -18,28 +18,28 @@ var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
18
18
|
__extends(TextHeaderCell, _super);
|
|
19
19
|
function TextHeaderCell(a) {
|
|
20
20
|
var _this = _super.call(this, a) || this;
|
|
21
|
-
_this.
|
|
22
|
-
_this.
|
|
23
|
-
_this.
|
|
24
|
-
_this.
|
|
25
|
-
_this.
|
|
26
|
-
_this.
|
|
27
|
-
_this.
|
|
28
|
-
_this.
|
|
29
|
-
_this.
|
|
30
|
-
_this.
|
|
31
|
-
_this.
|
|
32
|
-
_this.
|
|
33
|
-
_this.
|
|
34
|
-
_this.
|
|
35
|
-
_this.
|
|
36
|
-
_this.
|
|
37
|
-
_this.
|
|
38
|
-
_this.
|
|
39
|
-
_this.
|
|
40
|
-
_this.
|
|
41
|
-
_this.
|
|
42
|
-
_this.
|
|
21
|
+
_this.d6 = null;
|
|
22
|
+
_this.d2 = null;
|
|
23
|
+
_this.d0 = null;
|
|
24
|
+
_this.dw = 0;
|
|
25
|
+
_this.dv = 0;
|
|
26
|
+
_this.dy = 3;
|
|
27
|
+
_this.d8 = null;
|
|
28
|
+
_this.eb = -1;
|
|
29
|
+
_this.ea = -1;
|
|
30
|
+
_this.d4 = false;
|
|
31
|
+
_this.d7 = null;
|
|
32
|
+
_this.d5 = false;
|
|
33
|
+
_this.d6 = a.createElement("span");
|
|
34
|
+
_this.ar.setRawStyleProperty("text-align", "left");
|
|
35
|
+
_this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
36
|
+
_this.d6.setRawStyleProperty("display", "inline-block");
|
|
37
|
+
_this.d6.setRawStyleProperty("line-height", "normal");
|
|
38
|
+
_this.d6.setRawStyleProperty("vertical-align", "middle");
|
|
39
|
+
_this.d6.setRawStyleProperty("overflow", "hidden");
|
|
40
|
+
_this.d6.setRawStyleProperty("white-space", "nowrap");
|
|
41
|
+
_this.d6.setRawStyleProperty("text-overflow", "ellipsis");
|
|
42
|
+
_this.ar.append(_this.d6);
|
|
43
43
|
var b = 18;
|
|
44
44
|
var c = 18;
|
|
45
45
|
var d = a.createElement("div");
|
|
@@ -48,17 +48,17 @@ var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
48
48
|
d.setRawStyleProperty("vertical-align", "middle");
|
|
49
49
|
d.setRawStyleProperty("width", b + "px");
|
|
50
50
|
d.setRawStyleProperty("height", c + "px");
|
|
51
|
-
_this.
|
|
51
|
+
_this.d7 = d;
|
|
52
52
|
var e = a.getSubRenderer(d);
|
|
53
|
-
_this.
|
|
54
|
-
_this.
|
|
55
|
-
_this.
|
|
56
|
-
_this.
|
|
57
|
-
_this.
|
|
58
|
-
var f = _this.
|
|
59
|
-
_this.
|
|
60
|
-
_this.
|
|
61
|
-
_this.
|
|
53
|
+
_this.d0 = new GridFilterDialog();
|
|
54
|
+
_this.d0.bn(e, _this.ar, a);
|
|
55
|
+
_this.ar.append(d);
|
|
56
|
+
_this.d0.be(b, c);
|
|
57
|
+
_this.d0.ak = 24;
|
|
58
|
+
var f = _this.d0.ab;
|
|
59
|
+
_this.d0.ab = false;
|
|
60
|
+
_this.d0.bb();
|
|
61
|
+
_this.d0.ab = f;
|
|
62
62
|
var g = 18;
|
|
63
63
|
var h = 18;
|
|
64
64
|
d = a.createElement("div");
|
|
@@ -68,67 +68,67 @@ var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
68
68
|
d.setRawStyleProperty("width", "0px");
|
|
69
69
|
d.setRawStyleProperty("height", h + "px");
|
|
70
70
|
d.setRawStyleProperty("margin", "0 0 0 5px");
|
|
71
|
-
_this.
|
|
71
|
+
_this.d8 = d;
|
|
72
72
|
e = a.getSubRenderer(d);
|
|
73
|
-
_this.
|
|
74
|
-
_this.
|
|
75
|
-
_this.
|
|
76
|
-
_this.
|
|
77
|
-
_this.
|
|
78
|
-
_this.
|
|
79
|
-
var i = _this.
|
|
80
|
-
i.propertyChanged = delegateCombine(i.propertyChanged, runOn(_this, _this.
|
|
81
|
-
var j = _this.
|
|
82
|
-
j.dialogOpening = delegateCombine(j.dialogOpening, runOn(_this, _this.
|
|
83
|
-
var k = _this.
|
|
84
|
-
k.filterChanging = delegateCombine(k.filterChanging, runOn(_this, _this.
|
|
85
|
-
var l = _this.
|
|
86
|
-
l.filterChanged = delegateCombine(l.filterChanged, runOn(_this, _this.
|
|
87
|
-
_this.
|
|
88
|
-
_this.
|
|
73
|
+
_this.d2 = new GridSortIndicator();
|
|
74
|
+
_this.d2.n = false;
|
|
75
|
+
_this.d2.m = false;
|
|
76
|
+
_this.d2.a0(e);
|
|
77
|
+
_this.ar.append(d);
|
|
78
|
+
_this.d2.au(g, h);
|
|
79
|
+
var i = _this.d2;
|
|
80
|
+
i.propertyChanged = delegateCombine(i.propertyChanged, runOn(_this, _this.ee));
|
|
81
|
+
var j = _this.d0;
|
|
82
|
+
j.dialogOpening = delegateCombine(j.dialogOpening, runOn(_this, _this.ef));
|
|
83
|
+
var k = _this.d0;
|
|
84
|
+
k.filterChanging = delegateCombine(k.filterChanging, runOn(_this, _this.eh));
|
|
85
|
+
var l = _this.d0;
|
|
86
|
+
l.filterChanged = delegateCombine(l.filterChanged, runOn(_this, _this.eg));
|
|
87
|
+
_this.ar.listen("mouseenter", runOn(_this, _this.el));
|
|
88
|
+
_this.ar.listen("mouseleave", runOn(_this, _this.ek));
|
|
89
89
|
return _this;
|
|
90
90
|
}
|
|
91
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
91
|
+
Object.defineProperty(TextHeaderCell.prototype, "d9", {
|
|
92
92
|
get: function () {
|
|
93
|
-
return this.
|
|
93
|
+
return this.d6;
|
|
94
94
|
},
|
|
95
95
|
enumerable: false,
|
|
96
96
|
configurable: true
|
|
97
97
|
});
|
|
98
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
98
|
+
Object.defineProperty(TextHeaderCell.prototype, "d3", {
|
|
99
99
|
get: function () {
|
|
100
|
-
return this.
|
|
100
|
+
return this.d2;
|
|
101
101
|
},
|
|
102
102
|
enumerable: false,
|
|
103
103
|
configurable: true
|
|
104
104
|
});
|
|
105
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
105
|
+
Object.defineProperty(TextHeaderCell.prototype, "d1", {
|
|
106
106
|
get: function () {
|
|
107
|
-
return this.
|
|
107
|
+
return this.d0;
|
|
108
108
|
},
|
|
109
109
|
enumerable: false,
|
|
110
110
|
configurable: true
|
|
111
111
|
});
|
|
112
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
112
|
+
Object.defineProperty(TextHeaderCell.prototype, "dz", {
|
|
113
113
|
get: function () {
|
|
114
|
-
return this.
|
|
114
|
+
return this.dy;
|
|
115
115
|
},
|
|
116
116
|
set: function (a) {
|
|
117
|
-
var b = this.
|
|
118
|
-
this.
|
|
119
|
-
this.
|
|
117
|
+
var b = this.dy;
|
|
118
|
+
this.dy = a;
|
|
119
|
+
this.ck("ColumnOptionsIconBehavior", enumGetBox(ColumnOptionsIconBehavior_$type, b), enumGetBox(ColumnOptionsIconBehavior_$type, this.dy));
|
|
120
120
|
},
|
|
121
121
|
enumerable: false,
|
|
122
122
|
configurable: true
|
|
123
123
|
});
|
|
124
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
124
|
+
Object.defineProperty(TextHeaderCell.prototype, "dx", {
|
|
125
125
|
get: function () {
|
|
126
|
-
return this.
|
|
126
|
+
return this.dw;
|
|
127
127
|
},
|
|
128
128
|
set: function (a) {
|
|
129
|
-
var b = this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
129
|
+
var b = this.dw;
|
|
130
|
+
this.dw = a;
|
|
131
|
+
this.ck("ColumnOptionsIconAlignment", enumGetBox(ColumnOptionsIconAlignment_$type, b), enumGetBox(ColumnOptionsIconAlignment_$type, this.dw));
|
|
132
132
|
},
|
|
133
133
|
enumerable: false,
|
|
134
134
|
configurable: true
|
|
@@ -136,166 +136,166 @@ var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
136
136
|
TextHeaderCell.prototype.af = function (a) {
|
|
137
137
|
return true;
|
|
138
138
|
};
|
|
139
|
-
TextHeaderCell.prototype.
|
|
140
|
-
_super.prototype.
|
|
139
|
+
TextHeaderCell.prototype.db = function (a, b) {
|
|
140
|
+
_super.prototype.db.call(this, a, b);
|
|
141
141
|
a -= 21;
|
|
142
|
-
if (this.
|
|
142
|
+
if (this.d5) {
|
|
143
143
|
a -= 15;
|
|
144
144
|
}
|
|
145
145
|
var c = Math.max(0, a - b);
|
|
146
|
-
if (c != this.
|
|
147
|
-
this.
|
|
148
|
-
this.
|
|
146
|
+
if (c != this.eb) {
|
|
147
|
+
this.eb = c;
|
|
148
|
+
this.d6.setRawStyleProperty("max-width", c.toString() + "px");
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
|
-
TextHeaderCell.prototype.
|
|
152
|
-
_super.prototype.
|
|
153
|
-
this.
|
|
151
|
+
TextHeaderCell.prototype.c1 = function (a, b) {
|
|
152
|
+
_super.prototype.c1.call(this, a, b);
|
|
153
|
+
this.d6.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
154
154
|
var c = Math.max(0, a - b);
|
|
155
|
-
if (this.
|
|
156
|
-
this.
|
|
157
|
-
this.
|
|
155
|
+
if (this.ea != c) {
|
|
156
|
+
this.ea = c;
|
|
157
|
+
this.d6.setRawStyleProperty("max-height", c.toString() + "px");
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
|
-
TextHeaderCell.prototype.
|
|
161
|
-
_super.prototype.
|
|
162
|
-
if (a == this.
|
|
163
|
-
this.
|
|
160
|
+
TextHeaderCell.prototype.c0 = function (a, b) {
|
|
161
|
+
_super.prototype.c0.call(this, a, b);
|
|
162
|
+
if (a == this.d6) {
|
|
163
|
+
this.d6.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
164
164
|
}
|
|
165
165
|
};
|
|
166
|
-
TextHeaderCell.prototype.
|
|
167
|
-
this.
|
|
166
|
+
TextHeaderCell.prototype.dc = function (a, b, c, d) {
|
|
167
|
+
this.d0.bd();
|
|
168
168
|
};
|
|
169
|
-
TextHeaderCell.prototype.
|
|
169
|
+
TextHeaderCell.prototype.ee = function (a, b) {
|
|
170
170
|
switch (b.propertyName) {
|
|
171
171
|
case "CurrentOpacity":
|
|
172
|
-
if (this.
|
|
173
|
-
this.
|
|
174
|
-
if (this.
|
|
175
|
-
this.
|
|
172
|
+
if (this.d3.t > 0) {
|
|
173
|
+
this.d8.setRawStyleProperty("width", "18px");
|
|
174
|
+
if (this.dv == 2) {
|
|
175
|
+
this.d8.setRawStyleProperty("margin", "0 5px 0 0");
|
|
176
176
|
}
|
|
177
177
|
else {
|
|
178
|
-
this.
|
|
178
|
+
this.d8.setRawStyleProperty("margin", "0 0 0 5px");
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
182
|
+
this.d8.setRawStyleProperty("width", "0px");
|
|
183
|
+
this.d8.setRawStyleProperty("margin", "0");
|
|
184
184
|
}
|
|
185
185
|
break;
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
TextHeaderCell.prototype.
|
|
188
|
+
TextHeaderCell.prototype.el = function (a) {
|
|
189
189
|
if (this.b.isGridDragging) {
|
|
190
190
|
return;
|
|
191
191
|
}
|
|
192
|
-
this.
|
|
193
|
-
switch (this.
|
|
192
|
+
this.d0.ba();
|
|
193
|
+
switch (this.dz) {
|
|
194
194
|
case 2:
|
|
195
195
|
case 3:
|
|
196
|
-
this.
|
|
196
|
+
this.d0.br();
|
|
197
197
|
break;
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
|
-
TextHeaderCell.prototype.
|
|
201
|
-
switch (this.
|
|
200
|
+
TextHeaderCell.prototype.ek = function (a) {
|
|
201
|
+
switch (this.dz) {
|
|
202
202
|
case 2:
|
|
203
203
|
case 3:
|
|
204
|
-
this.
|
|
204
|
+
this.d0.bb();
|
|
205
205
|
break;
|
|
206
206
|
}
|
|
207
207
|
};
|
|
208
|
-
TextHeaderCell.prototype.
|
|
208
|
+
TextHeaderCell.prototype.eg = function (a, b) {
|
|
209
209
|
this.b.columnFilterChanged(b.a);
|
|
210
210
|
};
|
|
211
|
-
TextHeaderCell.prototype.
|
|
211
|
+
TextHeaderCell.prototype.eh = function (a, b) {
|
|
212
212
|
this.b.columnFilterChanging(b.a);
|
|
213
213
|
};
|
|
214
|
-
TextHeaderCell.prototype.
|
|
214
|
+
TextHeaderCell.prototype.ef = function (a, b) {
|
|
215
215
|
if (this.b != null) {
|
|
216
216
|
b.a = this.f.getColumn();
|
|
217
217
|
this.b.cancelEditMode(false);
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
|
-
TextHeaderCell.prototype.
|
|
221
|
-
_super.prototype.
|
|
222
|
-
this.
|
|
223
|
-
this.
|
|
220
|
+
TextHeaderCell.prototype.ci = function (a, b, c) {
|
|
221
|
+
_super.prototype.ci.call(this, a, b, c);
|
|
222
|
+
this.dv = c;
|
|
223
|
+
this.d0.k = c;
|
|
224
224
|
if (c == 2) {
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
229
|
-
if (this.
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
225
|
+
this.ar.removeChild(this.d8);
|
|
226
|
+
this.ar.removeChild(this.d7);
|
|
227
|
+
this.d6.before(this.d7);
|
|
228
|
+
this.d7.before(this.d8);
|
|
229
|
+
if (this.dx == 1) {
|
|
230
|
+
this.d7.setRawStyleProperty("margin", "0 5px 0 0");
|
|
231
|
+
this.d0.l = this.dv;
|
|
232
232
|
}
|
|
233
233
|
else {
|
|
234
|
-
this.
|
|
235
|
-
this.
|
|
234
|
+
this.d7.setRawStyleProperty("margin", "0");
|
|
235
|
+
this.d0.l = 0;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
else {
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
243
|
-
if (this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
239
|
+
this.ar.removeChild(this.d8);
|
|
240
|
+
this.ar.removeChild(this.d6);
|
|
241
|
+
this.d7.before(this.d6);
|
|
242
|
+
this.d7.before(this.d8);
|
|
243
|
+
if (this.dx == 1) {
|
|
244
|
+
this.d7.setRawStyleProperty("margin", "0 0 0 5px");
|
|
245
|
+
this.d0.l = this.dv;
|
|
246
246
|
}
|
|
247
247
|
else {
|
|
248
|
-
this.
|
|
249
|
-
this.
|
|
248
|
+
this.d7.setRawStyleProperty("margin", "0");
|
|
249
|
+
this.d0.l = 2;
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
|
-
TextHeaderCell.prototype.
|
|
254
|
-
_super.prototype.
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
253
|
+
TextHeaderCell.prototype.c6 = function (a, b, c, d) {
|
|
254
|
+
_super.prototype.c6.call(this, a, b, c, d);
|
|
255
|
+
this.d0.an = a;
|
|
256
|
+
this.d0.ao = c;
|
|
257
257
|
};
|
|
258
|
-
TextHeaderCell.prototype.
|
|
259
|
-
if (this.
|
|
260
|
-
if (this.
|
|
261
|
-
this.
|
|
258
|
+
TextHeaderCell.prototype.ej = function () {
|
|
259
|
+
if (this.dx == 2 || this.dx == 0) {
|
|
260
|
+
if (this.dv == 2) {
|
|
261
|
+
this.d0.l = 0;
|
|
262
262
|
}
|
|
263
263
|
else {
|
|
264
|
-
this.
|
|
264
|
+
this.d0.l = 2;
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
else {
|
|
268
|
-
this.
|
|
269
|
-
if (this.
|
|
270
|
-
this.
|
|
268
|
+
this.d0.l = this.dv;
|
|
269
|
+
if (this.dv == 2) {
|
|
270
|
+
this.d7.setRawStyleProperty("margin", "0 5px 0 0");
|
|
271
271
|
}
|
|
272
272
|
else {
|
|
273
|
-
this.
|
|
273
|
+
this.d7.setRawStyleProperty("margin", "0 0 0 5px");
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
|
-
TextHeaderCell.prototype.
|
|
278
|
-
switch (this.
|
|
277
|
+
TextHeaderCell.prototype.ei = function () {
|
|
278
|
+
switch (this.dz) {
|
|
279
279
|
case 1:
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
280
|
+
this.d0.ab = false;
|
|
281
|
+
this.d0.br();
|
|
282
282
|
break;
|
|
283
283
|
case 2:
|
|
284
|
-
this.
|
|
284
|
+
this.d0.ab = false;
|
|
285
285
|
break;
|
|
286
286
|
case 3:
|
|
287
|
-
this.
|
|
287
|
+
this.d0.ab = true;
|
|
288
288
|
break;
|
|
289
289
|
}
|
|
290
290
|
};
|
|
291
|
-
TextHeaderCell.prototype.
|
|
292
|
-
_super.prototype.
|
|
291
|
+
TextHeaderCell.prototype.ck = function (a, b, c) {
|
|
292
|
+
_super.prototype.ck.call(this, a, b, c);
|
|
293
293
|
switch (a) {
|
|
294
294
|
case "ColumnOptionsIconAlignment":
|
|
295
|
-
this.
|
|
295
|
+
this.ej();
|
|
296
296
|
break;
|
|
297
297
|
case "ColumnOptionsIconBehavior":
|
|
298
|
-
this.
|
|
298
|
+
this.ei();
|
|
299
299
|
break;
|
|
300
300
|
}
|
|
301
301
|
};
|
|
@@ -303,22 +303,22 @@ var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
303
303
|
if (e_.button == 2) {
|
|
304
304
|
return;
|
|
305
305
|
}
|
|
306
|
-
var b = this.
|
|
306
|
+
var b = this.d0.ad(e_);
|
|
307
307
|
if (b) {
|
|
308
|
-
this.
|
|
308
|
+
this.d4 = true;
|
|
309
309
|
return;
|
|
310
310
|
}
|
|
311
311
|
_super.prototype.onContactStarted.call(this, e_, a);
|
|
312
312
|
};
|
|
313
313
|
TextHeaderCell.prototype.onContactCompleted = function (e_, a) {
|
|
314
|
-
if (!this.
|
|
314
|
+
if (!this.d4) {
|
|
315
315
|
_super.prototype.onContactCompleted.call(this, e_, a);
|
|
316
316
|
}
|
|
317
|
-
this.
|
|
317
|
+
this.d4 = false;
|
|
318
318
|
};
|
|
319
319
|
TextHeaderCell.prototype.detach = function () {
|
|
320
320
|
_super.prototype.detach.call(this);
|
|
321
|
-
if (this.
|
|
321
|
+
if (this.d0 != null) {
|
|
322
322
|
}
|
|
323
323
|
};
|
|
324
324
|
TextHeaderCell.prototype.get_ac = function () {
|
|
@@ -29,58 +29,58 @@ var TextHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
31
|
if (a.a7) {
|
|
32
|
-
if (a.bc(TextCellModel.
|
|
33
|
-
b.
|
|
34
|
-
this.d.
|
|
32
|
+
if (a.bc(TextCellModel.n0)) {
|
|
33
|
+
b.kx = b.n2;
|
|
34
|
+
this.d.c8(this.d.d9, b.kx);
|
|
35
35
|
}
|
|
36
|
-
if (a.bc(CellModel.
|
|
37
|
-
var c = this.d.
|
|
36
|
+
if (a.bc(CellModel.hi)) {
|
|
37
|
+
var c = this.d.d3.m;
|
|
38
38
|
if (a.bt) {
|
|
39
|
-
this.d.
|
|
39
|
+
this.d.d3.m = false;
|
|
40
40
|
}
|
|
41
|
-
this.d.
|
|
41
|
+
this.d.d3.b = a.n;
|
|
42
42
|
if (a.bt) {
|
|
43
|
-
this.d.
|
|
43
|
+
this.d.d3.m = c;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
if (a.bc(CellModel.
|
|
47
|
-
var d = this.d.
|
|
46
|
+
if (a.bc(CellModel.hj)) {
|
|
47
|
+
var d = this.d.d3.m;
|
|
48
48
|
if (a.bt) {
|
|
49
|
-
this.d.
|
|
49
|
+
this.d.d3.m = false;
|
|
50
50
|
}
|
|
51
|
-
this.d.
|
|
51
|
+
this.d.d3.a3 = a.ns;
|
|
52
52
|
if (a.bt) {
|
|
53
|
-
this.d.
|
|
53
|
+
this.d.d3.m = d;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
if (a.bb("IsColumnOptionsEnabled")) {
|
|
57
|
-
var e = b.
|
|
57
|
+
var e = b.ob;
|
|
58
58
|
if (e) {
|
|
59
59
|
e = this.e();
|
|
60
60
|
}
|
|
61
|
-
this.d.
|
|
62
|
-
this.d.
|
|
63
|
-
this.a.
|
|
61
|
+
this.d.d5 = e;
|
|
62
|
+
this.d.d7.setRawStyleProperty("display", e ? "inline-block" : "none");
|
|
63
|
+
this.a.db(a.h5, (a.g0 + a.g2 + a.fg + a.fj));
|
|
64
64
|
}
|
|
65
65
|
if (a.bb("SortIndicatorStyle")) {
|
|
66
|
-
this.d.
|
|
66
|
+
this.d.d3.f = b.n9;
|
|
67
67
|
}
|
|
68
68
|
if (a.bb("ColumnOptionsIconAlignment")) {
|
|
69
|
-
this.d.
|
|
69
|
+
this.d.dx = b.n5;
|
|
70
70
|
}
|
|
71
71
|
if (a.bb("ColumnOptionsIconBehavior")) {
|
|
72
|
-
this.d.
|
|
72
|
+
this.d.dz = b.n7;
|
|
73
73
|
}
|
|
74
74
|
if (a.bb("ColumnOptionsIconColor")) {
|
|
75
|
-
this.d.
|
|
75
|
+
this.d.d1.bw = b.on;
|
|
76
76
|
}
|
|
77
|
-
if (a.bb("Path") || (this.d.
|
|
77
|
+
if (a.bb("Path") || (this.d.d1.n != null && this.d.d1.n.grid == null)) {
|
|
78
78
|
var f = a.e.getColumn();
|
|
79
|
-
if (f != this.d.
|
|
80
|
-
this.d.
|
|
79
|
+
if (f != this.d.d1.n) {
|
|
80
|
+
this.d.d1.n = f;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
ContentCellModelHelper.a(this.a.
|
|
83
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d9, this.a);
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
TextHeaderCellPresenter.prototype.e = function () {
|
|
@@ -15,57 +15,57 @@ var VerticalSeparatorCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
15
15
|
__extends(VerticalSeparatorCell, _super);
|
|
16
16
|
function VerticalSeparatorCell(a) {
|
|
17
17
|
var _this = _super.call(this, a) || this;
|
|
18
|
-
_this.
|
|
19
|
-
_this.
|
|
20
|
-
_this.
|
|
21
|
-
_this.
|
|
22
|
-
_this.
|
|
23
|
-
_this.
|
|
24
|
-
_this.
|
|
25
|
-
_this.
|
|
18
|
+
_this.dw = null;
|
|
19
|
+
_this.dv = null;
|
|
20
|
+
_this.dx = 0;
|
|
21
|
+
_this.dy = 0;
|
|
22
|
+
_this.dw = a.createElement("div");
|
|
23
|
+
_this.dw.setRawStyleProperty("position", "absolute");
|
|
24
|
+
_this.dw.setRawStyleProperty("pointer-events", "none");
|
|
25
|
+
_this.ar.append(_this.dw);
|
|
26
26
|
return _this;
|
|
27
27
|
}
|
|
28
|
-
VerticalSeparatorCell.prototype.
|
|
28
|
+
VerticalSeparatorCell.prototype.cx = function (a, b, c, d, e) {
|
|
29
29
|
if (a == null) {
|
|
30
|
-
if (this.
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
30
|
+
if (this.dv != null) {
|
|
31
|
+
this.dv.remove();
|
|
32
|
+
this.dv = null;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
36
|
+
this.dz();
|
|
37
|
+
this.dx = b;
|
|
38
|
+
this.dy = d;
|
|
39
39
|
}
|
|
40
|
-
this.
|
|
40
|
+
this.d0();
|
|
41
41
|
};
|
|
42
|
-
VerticalSeparatorCell.prototype.
|
|
43
|
-
_super.prototype.
|
|
44
|
-
this.
|
|
42
|
+
VerticalSeparatorCell.prototype.db = function (a, b) {
|
|
43
|
+
_super.prototype.db.call(this, a, b);
|
|
44
|
+
this.d0();
|
|
45
45
|
};
|
|
46
|
-
VerticalSeparatorCell.prototype.
|
|
47
|
-
this.
|
|
46
|
+
VerticalSeparatorCell.prototype.cw = function (a) {
|
|
47
|
+
this.dw.setRawStyleProperty("background-color", a.colorString);
|
|
48
48
|
};
|
|
49
|
-
VerticalSeparatorCell.prototype.
|
|
50
|
-
if (this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
49
|
+
VerticalSeparatorCell.prototype.d0 = function () {
|
|
50
|
+
if (this.dv != null) {
|
|
51
|
+
this.dw.setRawStyleProperty("height", "100%");
|
|
52
|
+
this.dw.setRawStyleProperty("width", this.ar.width() - (this.dx + this.dy) + "px");
|
|
53
|
+
this.dw.setRawStyleProperty("left", intDivide(this.ar.width(), 2) + "px");
|
|
54
|
+
this.dv.setRawStyleProperty("width", "100%");
|
|
55
|
+
this.dv.setRawStyleProperty("height", "100%");
|
|
56
56
|
}
|
|
57
57
|
else {
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
58
|
+
this.dw.setRawStyleProperty("height", "100%");
|
|
59
|
+
this.dw.setRawStyleProperty("width", this.ar.width() + "px");
|
|
60
|
+
this.dw.setRawStyleProperty("left", "0px");
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
|
-
VerticalSeparatorCell.prototype.
|
|
64
|
-
if (this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
63
|
+
VerticalSeparatorCell.prototype.dz = function () {
|
|
64
|
+
if (this.dv == null) {
|
|
65
|
+
this.dv = this.am.createElement("div");
|
|
66
|
+
this.dv.setRawStyleProperty("position", "absolute");
|
|
67
|
+
this.dv.setRawStyleProperty("background-color", "rgba(0,0,0,0)");
|
|
68
|
+
this.ar.getNativeElement().insertBefore(this.dv.getNativeElement(), this.dw.getNativeElement());
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
VerticalSeparatorCell.$t = markType(VerticalSeparatorCell, 'VerticalSeparatorCell', GridCellBase.$);
|