igniteui-angular-data-grids 21.0.0-beta.0 → 21.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 +9371 -8077
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +1 -1
- package/esm2015/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CellPresenterBase.js +10 -10
- package/esm2015/lib/CheckboxListBridge.js +28 -0
- package/esm2015/lib/CheckboxListView_combined.js +730 -705
- package/esm2015/lib/ColumnChooserView_combined.js +16 -16
- package/esm2015/lib/ColumnFilterCondition_combined.js +5835 -5150
- package/esm2015/lib/ColumnGroupingView_combined.js +14 -14
- package/esm2015/lib/ColumnPinningView_combined.js +16 -16
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm2015/lib/ContentCellModelHelper.js +3 -3
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +12 -12
- package/esm2015/lib/DateTimeCellPresenter.js +2 -2
- package/esm2015/lib/DraggerView.js +3 -3
- package/esm2015/lib/EditorCell.js +266 -266
- package/esm2015/lib/EditorCellPresenter.js +15 -15
- package/esm2015/lib/FilterCell.js +261 -261
- package/esm2015/lib/FilterCellPresenter.js +8 -8
- package/esm2015/lib/GridCellBase.js +65 -63
- package/esm2015/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm2015/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm2015/lib/GridExternalWrapper.js +9 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +311 -172
- package/esm2015/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +271 -433
- package/esm2015/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
- package/esm2015/lib/ImageCell.js +55 -55
- package/esm2015/lib/ImageCellPresenter.js +8 -8
- package/esm2015/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm2015/lib/NumericCell.js +4 -4
- package/esm2015/lib/NumericCellPresenter.js +2 -2
- package/esm2015/lib/PropertyEditorView_combined.js +22 -22
- package/esm2015/lib/SectionHeaderCell.js +8 -8
- package/esm2015/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm2015/lib/SummaryCell.js +25 -25
- package/esm2015/lib/SummaryCellPresenter.js +5 -5
- package/esm2015/lib/TemplateCell.js +11 -11
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +7 -7
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +22 -22
- package/esm2015/lib/TextCellPresenter.js +2 -2
- package/esm2015/lib/TextHeaderCell.js +140 -134
- package/esm2015/lib/TextHeaderCellPresenter.js +43 -21
- package/esm2015/lib/TextIconSetConditionalStyle.js +3 -3
- package/esm2015/lib/VerticalSeparatorCell.js +32 -32
- package/esm2015/lib/igx-checkbox-list-component.js +69 -69
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +265 -139
- package/esm2015/lib/igx-data-grid-component.js +110 -2
- package/esm2015/lib/igx-data-grid-filter-dialog-component.js +79 -16
- package/esm2015/lib/igx-data-grid-pager-component.js +32 -10
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-definition-base-component.js +89 -89
- package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
- package/esm2015/lib/igx-header-component.js +16 -16
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-component.js +16 -16
- package/esm2015/lib/igx-summary-row-component.js +16 -16
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +65 -4
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/CanvasCellPresenterBase.js +1 -1
- package/esm5/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CellPresenterBase.js +10 -10
- package/esm5/lib/CheckboxListBridge.js +28 -0
- package/esm5/lib/CheckboxListView_combined.js +709 -684
- package/esm5/lib/ColumnChooserView_combined.js +16 -16
- package/esm5/lib/ColumnFilterCondition_combined.js +5822 -5005
- package/esm5/lib/ColumnGroupingView_combined.js +14 -14
- package/esm5/lib/ColumnPinningView_combined.js +16 -16
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm5/lib/ContentCellModelHelper.js +3 -3
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +12 -12
- package/esm5/lib/DateTimeCellPresenter.js +2 -2
- package/esm5/lib/DraggerView.js +3 -3
- package/esm5/lib/EditorCell.js +256 -256
- package/esm5/lib/EditorCellPresenter.js +15 -15
- package/esm5/lib/FilterCell.js +252 -252
- package/esm5/lib/FilterCellPresenter.js +8 -8
- package/esm5/lib/GridCellBase.js +64 -62
- package/esm5/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm5/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm5/lib/GridExternalWrapper.js +9 -6
- package/esm5/lib/GridFilterDialogView_combined.js +331 -164
- package/esm5/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +275 -585
- package/esm5/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +11 -11
- package/esm5/lib/ImageCell.js +54 -54
- package/esm5/lib/ImageCellPresenter.js +8 -8
- package/esm5/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm5/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm5/lib/NumericCell.js +4 -4
- package/esm5/lib/NumericCellPresenter.js +2 -2
- package/esm5/lib/PropertyEditorView_combined.js +22 -22
- package/esm5/lib/SectionHeaderCell.js +8 -8
- package/esm5/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm5/lib/SummaryCell.js +26 -26
- package/esm5/lib/SummaryCellPresenter.js +5 -5
- package/esm5/lib/TemplateCell.js +11 -11
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +7 -7
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +22 -22
- package/esm5/lib/TextCellPresenter.js +2 -2
- package/esm5/lib/TextHeaderCell.js +138 -132
- package/esm5/lib/TextHeaderCellPresenter.js +43 -21
- package/esm5/lib/TextIconSetConditionalStyle.js +4 -3
- package/esm5/lib/VerticalSeparatorCell.js +32 -32
- package/esm5/lib/igx-checkbox-list-component.js +69 -69
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +313 -139
- package/esm5/lib/igx-data-grid-component.js +151 -3
- package/esm5/lib/igx-data-grid-filter-dialog-component.js +103 -16
- package/esm5/lib/igx-data-grid-pager-component.js +40 -10
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-definition-base-component.js +89 -89
- package/esm5/lib/igx-filter-row-definition-component.js +8 -8
- package/esm5/lib/igx-header-component.js +16 -16
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-component.js +16 -16
- package/esm5/lib/igx-summary-row-component.js +16 -16
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +93 -4
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-angular-data-grids.js +9273 -8141
- package/fesm5/igniteui-angular-data-grids.js +9373 -8080
- package/lib/CheckboxListBridge.d.ts +1 -0
- package/lib/CheckboxListExternal.d.ts +6 -0
- package/lib/CheckboxListView_combined.d.ts +153 -148
- package/lib/ColumnFilterCondition_combined.d.ts +1402 -1268
- package/lib/EditorCell.d.ts +51 -51
- package/lib/FilterCell.d.ts +53 -53
- package/lib/GridCellBase.d.ts +21 -19
- package/lib/GridExternalWrapper.d.ts +1 -0
- package/lib/GridFilterDialogView_combined.d.ts +81 -58
- package/lib/GridStyleRepository.d.ts +23 -84
- package/lib/GridStyleRepositoryKeys.d.ts +48 -0
- package/lib/ImageCell.d.ts +14 -14
- package/lib/SectionHeaderCell.d.ts +2 -2
- package/lib/SummaryCell.d.ts +4 -4
- package/lib/TemplateCell.d.ts +3 -3
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +4 -4
- package/lib/TextHeaderCell.d.ts +26 -24
- package/lib/VerticalSeparatorCell.d.ts +4 -4
- package/lib/igx-data-grid-column-component.d.ts +55 -1
- package/lib/igx-data-grid-component.d.ts +51 -2
- package/lib/igx-data-grid-filter-dialog-component.d.ts +28 -1
- package/lib/igx-data-grid-pager-component.d.ts +11 -1
- package/lib/igx-text-header-cell-info.d.ts +34 -0
- package/package.json +4 -4
- package/public_api.d.ts +1 -0
|
@@ -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.
|
|
21
|
+
_this.d7 = null;
|
|
22
|
+
_this.d3 = null;
|
|
23
|
+
_this.d1 = null;
|
|
24
|
+
_this.dx = 0;
|
|
24
25
|
_this.dw = 0;
|
|
25
|
-
_this.
|
|
26
|
-
_this.
|
|
27
|
-
_this.
|
|
26
|
+
_this.dz = 3;
|
|
27
|
+
_this.d9 = null;
|
|
28
|
+
_this.ec = -1;
|
|
28
29
|
_this.eb = -1;
|
|
29
|
-
_this.ea = -1;
|
|
30
|
-
_this.d4 = false;
|
|
31
|
-
_this.d7 = null;
|
|
32
30
|
_this.d5 = false;
|
|
33
|
-
_this.
|
|
31
|
+
_this.d8 = null;
|
|
32
|
+
_this.d6 = false;
|
|
33
|
+
_this.d7 = a.createElement("span");
|
|
34
34
|
_this.ar.setRawStyleProperty("text-align", "left");
|
|
35
35
|
_this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
36
|
-
_this.
|
|
37
|
-
_this.
|
|
38
|
-
_this.
|
|
39
|
-
_this.
|
|
40
|
-
_this.
|
|
41
|
-
_this.
|
|
42
|
-
_this.ar.append(_this.
|
|
36
|
+
_this.d7.setRawStyleProperty("display", "inline-block");
|
|
37
|
+
_this.d7.setRawStyleProperty("line-height", "normal");
|
|
38
|
+
_this.d7.setRawStyleProperty("vertical-align", "middle");
|
|
39
|
+
_this.d7.setRawStyleProperty("overflow", "hidden");
|
|
40
|
+
_this.d7.setRawStyleProperty("white-space", "nowrap");
|
|
41
|
+
_this.d7.setRawStyleProperty("text-overflow", "ellipsis");
|
|
42
|
+
_this.ar.append(_this.d7);
|
|
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.d8 = d;
|
|
52
52
|
var e = a.getSubRenderer(d);
|
|
53
|
-
_this.
|
|
54
|
-
_this.
|
|
53
|
+
_this.d1 = new GridFilterDialog();
|
|
54
|
+
_this.d1.bx(e, _this.ar, a);
|
|
55
55
|
_this.ar.append(d);
|
|
56
|
-
_this.
|
|
57
|
-
_this.
|
|
58
|
-
var f = _this.
|
|
59
|
-
_this.
|
|
60
|
-
_this.
|
|
61
|
-
_this.
|
|
56
|
+
_this.d1.bo(b, c);
|
|
57
|
+
_this.d1.am = 24;
|
|
58
|
+
var f = _this.d1.ad;
|
|
59
|
+
_this.d1.ad = false;
|
|
60
|
+
_this.d1.bl();
|
|
61
|
+
_this.d1.ad = 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.d9 = d;
|
|
72
72
|
e = a.getSubRenderer(d);
|
|
73
|
-
_this.
|
|
74
|
-
_this.
|
|
75
|
-
_this.
|
|
76
|
-
_this.
|
|
73
|
+
_this.d3 = new GridSortIndicator();
|
|
74
|
+
_this.d3.n = false;
|
|
75
|
+
_this.d3.m = false;
|
|
76
|
+
_this.d3.a0(e);
|
|
77
77
|
_this.ar.append(d);
|
|
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.ar.listen("mouseenter", runOn(_this, _this.
|
|
88
|
-
_this.ar.listen("mouseleave", runOn(_this, _this.
|
|
78
|
+
_this.d3.au(g, h);
|
|
79
|
+
var i = _this.d3;
|
|
80
|
+
i.propertyChanged = delegateCombine(i.propertyChanged, runOn(_this, _this.ef));
|
|
81
|
+
var j = _this.d1;
|
|
82
|
+
j.dialogOpening = delegateCombine(j.dialogOpening, runOn(_this, _this.eg));
|
|
83
|
+
var k = _this.d1;
|
|
84
|
+
k.filterChanging = delegateCombine(k.filterChanging, runOn(_this, _this.ei));
|
|
85
|
+
var l = _this.d1;
|
|
86
|
+
l.filterChanged = delegateCombine(l.filterChanged, runOn(_this, _this.eh));
|
|
87
|
+
_this.ar.listen("mouseenter", runOn(_this, _this.em));
|
|
88
|
+
_this.ar.listen("mouseleave", runOn(_this, _this.el));
|
|
89
89
|
return _this;
|
|
90
90
|
}
|
|
91
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
91
|
+
Object.defineProperty(TextHeaderCell.prototype, "ea", {
|
|
92
92
|
get: function () {
|
|
93
|
-
return this.
|
|
93
|
+
return this.d7;
|
|
94
94
|
},
|
|
95
95
|
enumerable: false,
|
|
96
96
|
configurable: true
|
|
97
97
|
});
|
|
98
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
98
|
+
Object.defineProperty(TextHeaderCell.prototype, "d4", {
|
|
99
99
|
get: function () {
|
|
100
|
-
return this.
|
|
100
|
+
return this.d3;
|
|
101
101
|
},
|
|
102
102
|
enumerable: false,
|
|
103
103
|
configurable: true
|
|
104
104
|
});
|
|
105
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
105
|
+
Object.defineProperty(TextHeaderCell.prototype, "d2", {
|
|
106
106
|
get: function () {
|
|
107
|
-
return this.
|
|
107
|
+
return this.d1;
|
|
108
108
|
},
|
|
109
109
|
enumerable: false,
|
|
110
110
|
configurable: true
|
|
111
111
|
});
|
|
112
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
112
|
+
Object.defineProperty(TextHeaderCell.prototype, "d0", {
|
|
113
113
|
get: function () {
|
|
114
|
-
return this.
|
|
114
|
+
return this.dz;
|
|
115
115
|
},
|
|
116
116
|
set: function (a) {
|
|
117
|
-
var b = this.
|
|
118
|
-
this.
|
|
119
|
-
this.ck("ColumnOptionsIconBehavior", enumGetBox(ColumnOptionsIconBehavior_$type, b), enumGetBox(ColumnOptionsIconBehavior_$type, this.
|
|
117
|
+
var b = this.dz;
|
|
118
|
+
this.dz = a;
|
|
119
|
+
this.ck("ColumnOptionsIconBehavior", enumGetBox(ColumnOptionsIconBehavior_$type, b), enumGetBox(ColumnOptionsIconBehavior_$type, this.dz));
|
|
120
120
|
},
|
|
121
121
|
enumerable: false,
|
|
122
122
|
configurable: true
|
|
123
123
|
});
|
|
124
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
124
|
+
Object.defineProperty(TextHeaderCell.prototype, "dy", {
|
|
125
125
|
get: function () {
|
|
126
|
-
return this.
|
|
126
|
+
return this.dx;
|
|
127
127
|
},
|
|
128
128
|
set: function (a) {
|
|
129
|
-
var b = this.
|
|
130
|
-
this.
|
|
131
|
-
this.ck("ColumnOptionsIconAlignment", enumGetBox(ColumnOptionsIconAlignment_$type, b), enumGetBox(ColumnOptionsIconAlignment_$type, this.
|
|
129
|
+
var b = this.dx;
|
|
130
|
+
this.dx = a;
|
|
131
|
+
this.ck("ColumnOptionsIconAlignment", enumGetBox(ColumnOptionsIconAlignment_$type, b), enumGetBox(ColumnOptionsIconAlignment_$type, this.dx));
|
|
132
132
|
},
|
|
133
133
|
enumerable: false,
|
|
134
134
|
configurable: true
|
|
@@ -136,82 +136,82 @@ 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.dc = function (a, b) {
|
|
140
|
+
_super.prototype.dc.call(this, a, b);
|
|
141
141
|
a -= 21;
|
|
142
|
-
if (this.
|
|
142
|
+
if (this.d6) {
|
|
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.ec) {
|
|
147
|
+
this.ec = c;
|
|
148
|
+
this.d7.setRawStyleProperty("max-width", c.toString() + "px");
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
TextHeaderCell.prototype.c1 = function (a, b) {
|
|
152
152
|
_super.prototype.c1.call(this, a, b);
|
|
153
|
-
this.
|
|
153
|
+
this.d7.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.eb != c) {
|
|
156
|
+
this.eb = c;
|
|
157
|
+
this.d7.setRawStyleProperty("max-height", c.toString() + "px");
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
160
|
TextHeaderCell.prototype.c0 = function (a, b) {
|
|
161
161
|
_super.prototype.c0.call(this, a, b);
|
|
162
|
-
if (a == this.
|
|
163
|
-
this.
|
|
162
|
+
if (a == this.d7) {
|
|
163
|
+
this.d7.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
164
164
|
}
|
|
165
165
|
};
|
|
166
|
-
TextHeaderCell.prototype.
|
|
167
|
-
this.
|
|
166
|
+
TextHeaderCell.prototype.dd = function (a, b, c, d) {
|
|
167
|
+
this.d1.bn();
|
|
168
168
|
};
|
|
169
|
-
TextHeaderCell.prototype.
|
|
169
|
+
TextHeaderCell.prototype.ef = 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.d4.t > 0) {
|
|
173
|
+
this.d9.setRawStyleProperty("width", "18px");
|
|
174
|
+
if (this.dw == 2) {
|
|
175
|
+
this.d9.setRawStyleProperty("margin", "0 5px 0 0");
|
|
176
176
|
}
|
|
177
177
|
else {
|
|
178
|
-
this.
|
|
178
|
+
this.d9.setRawStyleProperty("margin", "0 0 0 5px");
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
182
|
+
this.d9.setRawStyleProperty("width", "0px");
|
|
183
|
+
this.d9.setRawStyleProperty("margin", "0");
|
|
184
184
|
}
|
|
185
185
|
break;
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
TextHeaderCell.prototype.
|
|
188
|
+
TextHeaderCell.prototype.em = function (a) {
|
|
189
189
|
if (this.b.isGridDragging) {
|
|
190
190
|
return;
|
|
191
191
|
}
|
|
192
|
-
this.
|
|
193
|
-
switch (this.
|
|
192
|
+
this.d1.bk();
|
|
193
|
+
switch (this.d0) {
|
|
194
194
|
case 2:
|
|
195
195
|
case 3:
|
|
196
|
-
this.
|
|
196
|
+
this.d1.b1();
|
|
197
197
|
break;
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
|
-
TextHeaderCell.prototype.
|
|
201
|
-
switch (this.
|
|
200
|
+
TextHeaderCell.prototype.el = function (a) {
|
|
201
|
+
switch (this.d0) {
|
|
202
202
|
case 2:
|
|
203
203
|
case 3:
|
|
204
|
-
this.
|
|
204
|
+
this.d1.bl();
|
|
205
205
|
break;
|
|
206
206
|
}
|
|
207
207
|
};
|
|
208
|
-
TextHeaderCell.prototype.
|
|
208
|
+
TextHeaderCell.prototype.eh = function (a, b) {
|
|
209
209
|
this.b.columnFilterChanged(b.a);
|
|
210
210
|
};
|
|
211
|
-
TextHeaderCell.prototype.
|
|
211
|
+
TextHeaderCell.prototype.ei = function (a, b) {
|
|
212
212
|
this.b.columnFilterChanging(b.a);
|
|
213
213
|
};
|
|
214
|
-
TextHeaderCell.prototype.
|
|
214
|
+
TextHeaderCell.prototype.eg = function (a, b) {
|
|
215
215
|
if (this.b != null) {
|
|
216
216
|
b.a = this.f.getColumn();
|
|
217
217
|
this.b.cancelEditMode(false);
|
|
@@ -219,72 +219,72 @@ var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
219
219
|
};
|
|
220
220
|
TextHeaderCell.prototype.ci = function (a, b, c) {
|
|
221
221
|
_super.prototype.ci.call(this, a, b, c);
|
|
222
|
-
this.
|
|
223
|
-
this.
|
|
222
|
+
this.dw = c;
|
|
223
|
+
this.d1.k = c;
|
|
224
224
|
if (c == 2) {
|
|
225
|
+
this.ar.removeChild(this.d9);
|
|
225
226
|
this.ar.removeChild(this.d8);
|
|
226
|
-
this.ar.removeChild(this.d7);
|
|
227
|
-
this.d6.before(this.d7);
|
|
228
227
|
this.d7.before(this.d8);
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
this.
|
|
228
|
+
this.d8.before(this.d9);
|
|
229
|
+
if (this.dy == 1) {
|
|
230
|
+
this.d8.setRawStyleProperty("margin", "0 5px 0 0");
|
|
231
|
+
this.d1.l = this.dw;
|
|
232
232
|
}
|
|
233
233
|
else {
|
|
234
|
-
this.
|
|
235
|
-
this.
|
|
234
|
+
this.d8.setRawStyleProperty("margin", "0");
|
|
235
|
+
this.d1.l = 0;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
else {
|
|
239
|
-
this.ar.removeChild(this.
|
|
240
|
-
this.ar.removeChild(this.
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
243
|
-
if (this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
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
|
+
if (this.dy == 1) {
|
|
244
|
+
this.d8.setRawStyleProperty("margin", "0 0 0 5px");
|
|
245
|
+
this.d1.l = this.dw;
|
|
246
246
|
}
|
|
247
247
|
else {
|
|
248
|
-
this.
|
|
249
|
-
this.
|
|
248
|
+
this.d8.setRawStyleProperty("margin", "0");
|
|
249
|
+
this.d1.l = 2;
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
253
|
TextHeaderCell.prototype.c6 = function (a, b, c, d) {
|
|
254
254
|
_super.prototype.c6.call(this, a, b, c, d);
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
255
|
+
this.d1.ap = a;
|
|
256
|
+
this.d1.aq = c;
|
|
257
257
|
};
|
|
258
|
-
TextHeaderCell.prototype.
|
|
259
|
-
if (this.
|
|
260
|
-
if (this.
|
|
261
|
-
this.
|
|
258
|
+
TextHeaderCell.prototype.ek = function () {
|
|
259
|
+
if (this.dy == 2 || this.dy == 0) {
|
|
260
|
+
if (this.dw == 2) {
|
|
261
|
+
this.d1.l = 0;
|
|
262
262
|
}
|
|
263
263
|
else {
|
|
264
|
-
this.
|
|
264
|
+
this.d1.l = 2;
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
else {
|
|
268
|
-
this.
|
|
269
|
-
if (this.
|
|
270
|
-
this.
|
|
268
|
+
this.d1.l = this.dw;
|
|
269
|
+
if (this.dw == 2) {
|
|
270
|
+
this.d8.setRawStyleProperty("margin", "0 5px 0 0");
|
|
271
271
|
}
|
|
272
272
|
else {
|
|
273
|
-
this.
|
|
273
|
+
this.d8.setRawStyleProperty("margin", "0 0 0 5px");
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
|
-
TextHeaderCell.prototype.
|
|
278
|
-
switch (this.
|
|
277
|
+
TextHeaderCell.prototype.ej = function () {
|
|
278
|
+
switch (this.d0) {
|
|
279
279
|
case 1:
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
280
|
+
this.d1.ad = false;
|
|
281
|
+
this.d1.b1();
|
|
282
282
|
break;
|
|
283
283
|
case 2:
|
|
284
|
-
this.
|
|
284
|
+
this.d1.ad = false;
|
|
285
285
|
break;
|
|
286
286
|
case 3:
|
|
287
|
-
this.
|
|
287
|
+
this.d1.ad = true;
|
|
288
288
|
break;
|
|
289
289
|
}
|
|
290
290
|
};
|
|
@@ -292,10 +292,10 @@ var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
292
292
|
_super.prototype.ck.call(this, a, b, c);
|
|
293
293
|
switch (a) {
|
|
294
294
|
case "ColumnOptionsIconAlignment":
|
|
295
|
-
this.
|
|
295
|
+
this.ek();
|
|
296
296
|
break;
|
|
297
297
|
case "ColumnOptionsIconBehavior":
|
|
298
|
-
this.
|
|
298
|
+
this.ej();
|
|
299
299
|
break;
|
|
300
300
|
}
|
|
301
301
|
};
|
|
@@ -303,22 +303,28 @@ 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.d1.af(e_);
|
|
307
307
|
if (b) {
|
|
308
|
-
this.
|
|
308
|
+
this.d5 = 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.d5) {
|
|
315
315
|
_super.prototype.onContactCompleted.call(this, e_, a);
|
|
316
316
|
}
|
|
317
|
-
this.
|
|
317
|
+
this.d5 = false;
|
|
318
318
|
};
|
|
319
319
|
TextHeaderCell.prototype.detach = function () {
|
|
320
320
|
_super.prototype.detach.call(this);
|
|
321
|
-
if (this.
|
|
321
|
+
if (this.d1 != null) {
|
|
322
|
+
}
|
|
323
|
+
};
|
|
324
|
+
TextHeaderCell.prototype.da = function (a) {
|
|
325
|
+
_super.prototype.da.call(this, a);
|
|
326
|
+
if (this.d2 != null) {
|
|
327
|
+
this.d2.x = a;
|
|
322
328
|
}
|
|
323
329
|
};
|
|
324
330
|
TextHeaderCell.prototype.get_ac = function () {
|
|
@@ -7,6 +7,7 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { CellPresenterBase } from "./CellPresenterBase";
|
|
9
9
|
import { CellModel } from "./CellModel";
|
|
10
|
+
import { TextHeaderCellModel } from "./TextHeaderCellModel";
|
|
10
11
|
import { TextCellModel } from "./TextCellModel";
|
|
11
12
|
import { ContentCellModelHelper } from "./ContentCellModelHelper";
|
|
12
13
|
import { TypeRegistrar, markType } from "igniteui-angular-core";
|
|
@@ -31,56 +32,77 @@ var TextHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
31
32
|
if (a.a7) {
|
|
32
33
|
if (a.bc(TextCellModel.n0)) {
|
|
33
34
|
b.kx = b.n2;
|
|
34
|
-
this.d.c8(this.d.
|
|
35
|
+
this.d.c8(this.d.ea, b.kx);
|
|
35
36
|
}
|
|
36
37
|
if (a.bc(CellModel.hi)) {
|
|
37
|
-
var c = this.d.
|
|
38
|
+
var c = this.d.d4.m;
|
|
38
39
|
if (a.bt) {
|
|
39
|
-
this.d.
|
|
40
|
+
this.d.d4.m = false;
|
|
40
41
|
}
|
|
41
|
-
this.d.
|
|
42
|
+
this.d.d4.b = a.n;
|
|
42
43
|
if (a.bt) {
|
|
43
|
-
this.d.
|
|
44
|
+
this.d.d4.m = c;
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
47
|
if (a.bc(CellModel.hj)) {
|
|
47
|
-
var d = this.d.
|
|
48
|
+
var d = this.d.d4.m;
|
|
48
49
|
if (a.bt) {
|
|
49
|
-
this.d.
|
|
50
|
+
this.d.d4.m = false;
|
|
50
51
|
}
|
|
51
|
-
this.d.
|
|
52
|
+
this.d.d4.a3 = a.ns;
|
|
52
53
|
if (a.bt) {
|
|
53
|
-
this.d.
|
|
54
|
+
this.d.d4.m = d;
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
if (a.bb("IsColumnOptionsEnabled")) {
|
|
57
|
-
var e = b.
|
|
58
|
+
var e = b.od;
|
|
58
59
|
if (e) {
|
|
59
60
|
e = this.e();
|
|
60
61
|
}
|
|
61
|
-
this.d.
|
|
62
|
-
this.d.
|
|
63
|
-
this.a.
|
|
62
|
+
this.d.d6 = e;
|
|
63
|
+
this.d.d8.setRawStyleProperty("display", e ? "inline-block" : "none");
|
|
64
|
+
this.a.dc(a.h5, (a.g0 + a.g2 + a.fg + a.fj));
|
|
64
65
|
}
|
|
65
66
|
if (a.bb("SortIndicatorStyle")) {
|
|
66
|
-
this.d.
|
|
67
|
+
this.d.d4.f = b.n9;
|
|
67
68
|
}
|
|
68
69
|
if (a.bb("ColumnOptionsIconAlignment")) {
|
|
69
|
-
this.d.
|
|
70
|
+
this.d.dy = b.n5;
|
|
70
71
|
}
|
|
71
72
|
if (a.bb("ColumnOptionsIconBehavior")) {
|
|
72
|
-
this.d.
|
|
73
|
+
this.d.d0 = b.n7;
|
|
73
74
|
}
|
|
74
75
|
if (a.bb("ColumnOptionsIconColor")) {
|
|
75
|
-
this.d.
|
|
76
|
+
this.d.d2.ci = b.pd;
|
|
76
77
|
}
|
|
77
|
-
if (a.bb("Path") || (this.d.
|
|
78
|
+
if (a.bb("Path") || (this.d.d2.n != null && this.d.d2.n.grid == null)) {
|
|
78
79
|
var f = a.e.getColumn();
|
|
79
|
-
if (f != this.d.
|
|
80
|
-
this.d.
|
|
80
|
+
if (f != this.d.d2.n) {
|
|
81
|
+
this.d.d2.n = f;
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
|
-
|
|
84
|
+
if (a.bc(TextHeaderCellModel.on)) {
|
|
85
|
+
this.d.da(b.ob);
|
|
86
|
+
}
|
|
87
|
+
if (a.bc(TextHeaderCellModel.of)) {
|
|
88
|
+
this.d.d2.cd = b.pa;
|
|
89
|
+
}
|
|
90
|
+
if (a.bc(TextHeaderCellModel.om)) {
|
|
91
|
+
this.d.d2.ch = b.pf;
|
|
92
|
+
}
|
|
93
|
+
if (a.bc(TextHeaderCellModel.ol)) {
|
|
94
|
+
this.d.d2.cg = b.pe;
|
|
95
|
+
}
|
|
96
|
+
if (a.bc(TextHeaderCellModel.og)) {
|
|
97
|
+
this.d.d2.ce = b.pb;
|
|
98
|
+
}
|
|
99
|
+
if (a.bc(TextHeaderCellModel.oh)) {
|
|
100
|
+
this.d.d2.cf = b.pc;
|
|
101
|
+
}
|
|
102
|
+
if (a.bc(TextHeaderCellModel.oe)) {
|
|
103
|
+
this.d.d2.cc = b.o9;
|
|
104
|
+
}
|
|
105
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.ea, this.a);
|
|
84
106
|
}
|
|
85
107
|
};
|
|
86
108
|
TextHeaderCellPresenter.prototype.e = function () {
|
|
@@ -55,9 +55,9 @@ var TextIconSetConditionalStyle = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
55
55
|
case 3:
|
|
56
56
|
case 2:
|
|
57
57
|
case 1:
|
|
58
|
-
case 0: return [BrushUtil.
|
|
58
|
+
case 0: return [BrushUtil.l(255, 26, 199, 32), BrushUtil.l(255, 252, 171, 20), BrushUtil.l(255, 217, 76, 48)];
|
|
59
59
|
}
|
|
60
|
-
return [BrushUtil.
|
|
60
|
+
return [BrushUtil.l(255, 26, 199, 32), BrushUtil.l(255, 252, 171, 20), BrushUtil.l(255, 217, 76, 48)];
|
|
61
61
|
};
|
|
62
62
|
TextIconSetConditionalStyle.prototype.aw = function (a) {
|
|
63
63
|
var b = new Array(intDivide(a.length, 2));
|
|
@@ -68,6 +68,7 @@ var TextIconSetConditionalStyle = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
68
68
|
return (new TextDecoder('utf-8').decode(new Uint8Array(b)));
|
|
69
69
|
};
|
|
70
70
|
TextIconSetConditionalStyle.prototype.aq = function () {
|
|
71
|
+
var _this = this;
|
|
71
72
|
if (this.at == null) {
|
|
72
73
|
var a = new GridConditionalStyleCollection();
|
|
73
74
|
var b = this.as(this.av);
|
|
@@ -96,7 +97,7 @@ var TextIconSetConditionalStyle = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
96
97
|
i.cs = "FontInfo";
|
|
97
98
|
i.aj = ((function () {
|
|
98
99
|
var $ret = new GridConditionalStyleFontInfo();
|
|
99
|
-
$ret.textStyle = GridStyleRepository.
|
|
100
|
+
$ret.textStyle = GridStyleRepository.d(_this.g.grid.theme, 33);
|
|
100
101
|
return $ret;
|
|
101
102
|
})());
|
|
102
103
|
h.properties.add(i);
|