igniteui-webcomponents-data-grids 7.0.1 → 7.1.0-alpha.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-webcomponents-data-grids.umd.js +8241 -9505
- package/bundles/igniteui-webcomponents-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 +0 -28
- package/esm2015/lib/CheckboxListView_combined.js +705 -730
- package/esm2015/lib/ColumnChooserView_combined.js +16 -16
- package/esm2015/lib/ColumnFilterCondition_combined.js +5150 -5835
- 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 +267 -267
- 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 +63 -65
- 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 +6 -9
- package/esm2015/lib/GridFilterDialogView_combined.js +172 -311
- package/esm2015/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +433 -271
- 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 +134 -140
- package/esm2015/lib/TextHeaderCellPresenter.js +21 -43
- package/esm2015/lib/TextIconSetConditionalStyle.js +3 -3
- package/esm2015/lib/VerticalSeparatorCell.js +32 -32
- package/esm2015/lib/igc-checkbox-list-component.js +89 -89
- package/esm2015/lib/igc-column-moving-separator-component.js +9 -9
- package/esm2015/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +193 -307
- package/esm2015/lib/igc-data-grid-component.js +1 -99
- package/esm2015/lib/igc-data-grid-filter-dialog-component.js +20 -77
- package/esm2015/lib/igc-data-grid-pager-component.js +10 -30
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-definition-base-component.js +129 -129
- package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
- package/esm2015/lib/igc-header-component.js +24 -24
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-section-header-component.js +24 -24
- package/esm2015/lib/igc-summary-row-component.js +24 -24
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-text-header-cell-info.js +4 -65
- package/esm2015/public_api.js +0 -1
- 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 +0 -28
- package/esm5/lib/CheckboxListView_combined.js +684 -709
- package/esm5/lib/ColumnChooserView_combined.js +16 -16
- package/esm5/lib/ColumnFilterCondition_combined.js +5014 -5831
- 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 +62 -64
- 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 +6 -9
- package/esm5/lib/GridFilterDialogView_combined.js +164 -331
- package/esm5/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +585 -275
- 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 +132 -138
- package/esm5/lib/TextHeaderCellPresenter.js +21 -43
- package/esm5/lib/TextIconSetConditionalStyle.js +3 -4
- package/esm5/lib/VerticalSeparatorCell.js +32 -32
- package/esm5/lib/igc-checkbox-list-component.js +89 -89
- package/esm5/lib/igc-column-moving-separator-component.js +9 -9
- package/esm5/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +193 -355
- package/esm5/lib/igc-data-grid-component.js +2 -140
- package/esm5/lib/igc-data-grid-filter-dialog-component.js +20 -101
- package/esm5/lib/igc-data-grid-pager-component.js +10 -38
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-definition-base-component.js +129 -129
- package/esm5/lib/igc-filter-row-definition-component.js +12 -12
- package/esm5/lib/igc-header-component.js +24 -24
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-section-header-component.js +24 -24
- package/esm5/lib/igc-summary-row-component.js +24 -24
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-header-cell-info.js +4 -93
- package/esm5/public_api.js +0 -1
- package/fesm2015/igniteui-webcomponents-data-grids.js +8299 -9401
- package/fesm5/igniteui-webcomponents-data-grids.js +8244 -9507
- package/lib/CheckboxListBridge.d.ts +0 -1
- package/lib/CheckboxListExternal.d.ts +0 -6
- package/lib/CheckboxListView_combined.d.ts +148 -153
- package/lib/ColumnFilterCondition_combined.d.ts +1266 -1400
- package/lib/EditorCell.d.ts +51 -51
- package/lib/FilterCell.d.ts +53 -53
- package/lib/GridCellBase.d.ts +19 -21
- package/lib/GridExternalWrapper.d.ts +0 -1
- package/lib/GridFilterDialogView_combined.d.ts +58 -81
- package/lib/GridStyleRepository.d.ts +84 -23
- 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 +24 -26
- package/lib/VerticalSeparatorCell.d.ts +4 -4
- package/lib/igc-data-grid-column-component.d.ts +0 -54
- package/lib/igc-data-grid-component.d.ts +1 -49
- package/lib/igc-data-grid-filter-dialog-component.d.ts +0 -27
- package/lib/igc-data-grid-pager-component.d.ts +0 -10
- package/lib/igc-text-header-cell-info.d.ts +0 -33
- package/package.json +4 -4
- package/public_api.d.ts +0 -1
- package/esm2015/lib/GridStyleRepositoryKeys.js +0 -11
- package/esm5/lib/GridStyleRepositoryKeys.js +0 -11
- package/lib/GridStyleRepositoryKeys.d.ts +0 -48
|
@@ -18,28 +18,28 @@ export 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.dx = 0;
|
|
21
|
+
_this.d6 = null;
|
|
22
|
+
_this.d2 = null;
|
|
23
|
+
_this.d0 = null;
|
|
25
24
|
_this.dw = 0;
|
|
26
|
-
_this.
|
|
27
|
-
_this.
|
|
28
|
-
_this.
|
|
25
|
+
_this.dv = 0;
|
|
26
|
+
_this.dy = 3;
|
|
27
|
+
_this.d8 = null;
|
|
29
28
|
_this.eb = -1;
|
|
29
|
+
_this.ea = -1;
|
|
30
|
+
_this.d4 = false;
|
|
31
|
+
_this.d7 = null;
|
|
30
32
|
_this.d5 = false;
|
|
31
|
-
_this.
|
|
32
|
-
_this.d6 = false;
|
|
33
|
-
_this.d7 = a.createElement("span");
|
|
33
|
+
_this.d6 = 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.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 @@ export 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.
|
|
53
|
+
_this.d0 = new GridFilterDialog();
|
|
54
|
+
_this.d0.bn(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.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 @@ export 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.
|
|
73
|
+
_this.d2 = new GridSortIndicator();
|
|
74
|
+
_this.d2.n = false;
|
|
75
|
+
_this.d2.m = false;
|
|
76
|
+
_this.d2.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.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.ck("ColumnOptionsIconBehavior", enumGetBox(ColumnOptionsIconBehavior_$type, b), enumGetBox(ColumnOptionsIconBehavior_$type, 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.ck("ColumnOptionsIconAlignment", enumGetBox(ColumnOptionsIconAlignment_$type, b), enumGetBox(ColumnOptionsIconAlignment_$type, 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,82 +136,82 @@ export 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
151
|
TextHeaderCell.prototype.c1 = function (a, b) {
|
|
152
152
|
_super.prototype.c1.call(this, a, b);
|
|
153
|
-
this.
|
|
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
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.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);
|
|
@@ -219,72 +219,72 @@ export 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.dv = c;
|
|
223
|
+
this.d0.k = c;
|
|
224
224
|
if (c == 2) {
|
|
225
|
-
this.ar.removeChild(this.d9);
|
|
226
225
|
this.ar.removeChild(this.d8);
|
|
226
|
+
this.ar.removeChild(this.d7);
|
|
227
|
+
this.d6.before(this.d7);
|
|
227
228
|
this.d7.before(this.d8);
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
this.
|
|
231
|
-
this.d1.l = this.dw;
|
|
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.ar.removeChild(this.
|
|
240
|
-
this.ar.removeChild(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
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.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
|
};
|
|
@@ -292,10 +292,10 @@ export 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.ej();
|
|
296
296
|
break;
|
|
297
297
|
case "ColumnOptionsIconBehavior":
|
|
298
|
-
this.
|
|
298
|
+
this.ei();
|
|
299
299
|
break;
|
|
300
300
|
}
|
|
301
301
|
};
|
|
@@ -303,28 +303,22 @@ export 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.
|
|
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;
|
|
321
|
+
if (this.d0 != null) {
|
|
328
322
|
}
|
|
329
323
|
};
|
|
330
324
|
TextHeaderCell.prototype.get_ac = function () {
|
|
@@ -7,7 +7,6 @@ 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";
|
|
11
10
|
import { TextCellModel } from "./TextCellModel";
|
|
12
11
|
import { ContentCellModelHelper } from "./ContentCellModelHelper";
|
|
13
12
|
import { TypeRegistrar, markType } from "igniteui-webcomponents-core";
|
|
@@ -32,77 +31,56 @@ export var TextHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
32
31
|
if (a.a7) {
|
|
33
32
|
if (a.bc(TextCellModel.n0)) {
|
|
34
33
|
b.kx = b.n2;
|
|
35
|
-
this.d.c8(this.d.
|
|
34
|
+
this.d.c8(this.d.d9, b.kx);
|
|
36
35
|
}
|
|
37
36
|
if (a.bc(CellModel.hi)) {
|
|
38
|
-
var c = this.d.
|
|
37
|
+
var c = this.d.d3.m;
|
|
39
38
|
if (a.bt) {
|
|
40
|
-
this.d.
|
|
39
|
+
this.d.d3.m = false;
|
|
41
40
|
}
|
|
42
|
-
this.d.
|
|
41
|
+
this.d.d3.b = a.n;
|
|
43
42
|
if (a.bt) {
|
|
44
|
-
this.d.
|
|
43
|
+
this.d.d3.m = c;
|
|
45
44
|
}
|
|
46
45
|
}
|
|
47
46
|
if (a.bc(CellModel.hj)) {
|
|
48
|
-
var d = this.d.
|
|
47
|
+
var d = this.d.d3.m;
|
|
49
48
|
if (a.bt) {
|
|
50
|
-
this.d.
|
|
49
|
+
this.d.d3.m = false;
|
|
51
50
|
}
|
|
52
|
-
this.d.
|
|
51
|
+
this.d.d3.a3 = a.ns;
|
|
53
52
|
if (a.bt) {
|
|
54
|
-
this.d.
|
|
53
|
+
this.d.d3.m = d;
|
|
55
54
|
}
|
|
56
55
|
}
|
|
57
56
|
if (a.bb("IsColumnOptionsEnabled")) {
|
|
58
|
-
var e = b.
|
|
57
|
+
var e = b.ob;
|
|
59
58
|
if (e) {
|
|
60
59
|
e = this.e();
|
|
61
60
|
}
|
|
62
|
-
this.d.
|
|
63
|
-
this.d.
|
|
64
|
-
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));
|
|
65
64
|
}
|
|
66
65
|
if (a.bb("SortIndicatorStyle")) {
|
|
67
|
-
this.d.
|
|
66
|
+
this.d.d3.f = b.n9;
|
|
68
67
|
}
|
|
69
68
|
if (a.bb("ColumnOptionsIconAlignment")) {
|
|
70
|
-
this.d.
|
|
69
|
+
this.d.dx = b.n5;
|
|
71
70
|
}
|
|
72
71
|
if (a.bb("ColumnOptionsIconBehavior")) {
|
|
73
|
-
this.d.
|
|
72
|
+
this.d.dz = b.n7;
|
|
74
73
|
}
|
|
75
74
|
if (a.bb("ColumnOptionsIconColor")) {
|
|
76
|
-
this.d.
|
|
75
|
+
this.d.d1.bw = b.on;
|
|
77
76
|
}
|
|
78
|
-
if (a.bb("Path") || (this.d.
|
|
77
|
+
if (a.bb("Path") || (this.d.d1.n != null && this.d.d1.n.grid == null)) {
|
|
79
78
|
var f = a.e.getColumn();
|
|
80
|
-
if (f != this.d.
|
|
81
|
-
this.d.
|
|
79
|
+
if (f != this.d.d1.n) {
|
|
80
|
+
this.d.d1.n = f;
|
|
82
81
|
}
|
|
83
82
|
}
|
|
84
|
-
|
|
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);
|
|
83
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d9, this.a);
|
|
106
84
|
}
|
|
107
85
|
};
|
|
108
86
|
TextHeaderCellPresenter.prototype.e = function () {
|
|
@@ -55,9 +55,9 @@ export var TextIconSetConditionalStyle = /** @class */ /*@__PURE__*/ (function (
|
|
|
55
55
|
case 3:
|
|
56
56
|
case 2:
|
|
57
57
|
case 1:
|
|
58
|
-
case 0: return [BrushUtil.
|
|
58
|
+
case 0: return [BrushUtil.j(255, 26, 199, 32), BrushUtil.j(255, 252, 171, 20), BrushUtil.j(255, 217, 76, 48)];
|
|
59
59
|
}
|
|
60
|
-
return [BrushUtil.
|
|
60
|
+
return [BrushUtil.j(255, 26, 199, 32), BrushUtil.j(255, 252, 171, 20), BrushUtil.j(255, 217, 76, 48)];
|
|
61
61
|
};
|
|
62
62
|
TextIconSetConditionalStyle.prototype.aw = function (a) {
|
|
63
63
|
var b = new Array(intDivide(a.length, 2));
|
|
@@ -68,7 +68,6 @@ export var TextIconSetConditionalStyle = /** @class */ /*@__PURE__*/ (function (
|
|
|
68
68
|
return (new TextDecoder('utf-8').decode(new Uint8Array(b)));
|
|
69
69
|
};
|
|
70
70
|
TextIconSetConditionalStyle.prototype.aq = function () {
|
|
71
|
-
var _this = this;
|
|
72
71
|
if (this.at == null) {
|
|
73
72
|
var a = new GridConditionalStyleCollection();
|
|
74
73
|
var b = this.as(this.av);
|
|
@@ -97,7 +96,7 @@ export var TextIconSetConditionalStyle = /** @class */ /*@__PURE__*/ (function (
|
|
|
97
96
|
i.cs = "FontInfo";
|
|
98
97
|
i.aj = ((function () {
|
|
99
98
|
var $ret = new GridConditionalStyleFontInfo();
|
|
100
|
-
$ret.textStyle = GridStyleRepository.
|
|
99
|
+
$ret.textStyle = GridStyleRepository.i;
|
|
101
100
|
return $ret;
|
|
102
101
|
})());
|
|
103
102
|
h.properties.add(i);
|