igniteui-webcomponents-data-grids 7.1.0-alpha.2 → 7.1.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-webcomponents-data-grids.umd.js +7623 -7085
- package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +4 -4
- package/esm2015/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +2 -2
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +37 -34
- package/esm2015/lib/CheckboxListView_combined.js +24 -24
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +5293 -5010
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +11 -11
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm2015/lib/ContentCellModelHelper.js +10 -10
- package/esm2015/lib/DataGridCellLayoutPanel.js +10 -10
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/EditorCell.js +292 -292
- package/esm2015/lib/EditorCellPresenter.js +26 -26
- package/esm2015/lib/FilterCell.js +269 -269
- package/esm2015/lib/FilterCellPresenter.js +15 -15
- package/esm2015/lib/GridCellBase.js +167 -150
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +7 -7
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +118 -113
- package/esm2015/lib/GridStyleRepositoryKeys.js +1 -1
- package/esm2015/lib/ImageCell.js +57 -57
- package/esm2015/lib/ImageCellPresenter.js +15 -15
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +9 -9
- package/esm2015/lib/NumericCell.js +8 -8
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +19 -19
- package/esm2015/lib/SectionHeaderCell.js +20 -20
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +45 -45
- package/esm2015/lib/SummaryCellPresenter.js +10 -10
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +3 -3
- package/esm2015/lib/TemplateHeader.js +4 -4
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm2015/lib/TemplateSectionHeader.js +1 -1
- package/esm2015/lib/TextCell.js +29 -29
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +184 -184
- package/esm2015/lib/TextHeaderCellPresenter.js +52 -52
- package/esm2015/lib/TextIconSetConditionalStyle.js +1 -1
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igc-cell-info.js +97 -79
- 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 +291 -261
- package/esm2015/lib/igc-data-grid-component.js +20 -0
- package/esm2015/lib/igc-date-time-cell-info.js +12 -12
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-definition-base-component.js +12 -12
- package/esm2015/lib/igc-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
- package/esm2015/lib/igc-header-component.js +24 -24
- package/esm2015/lib/igc-image-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-cell-info.js +35 -26
- package/esm2015/lib/igc-numeric-column-component.js +46 -35
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-component.js +58 -24
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-summary-row-component.js +24 -24
- package/esm2015/lib/igc-template-cell-info.js +2 -2
- package/esm2015/lib/igc-template-header-cell-info.js +2 -2
- package/esm2015/lib/igc-text-cell-info.js +2 -2
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-text-header-cell-info.js +38 -38
- package/esm5/lib/CanvasCellPresenterBase.js +4 -4
- package/esm5/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +2 -2
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +37 -34
- package/esm5/lib/CheckboxListView_combined.js +24 -24
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +5100 -4765
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +11 -11
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm5/lib/ContentCellModelHelper.js +10 -10
- package/esm5/lib/DataGridCellLayoutPanel.js +10 -10
- package/esm5/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/EditorCell.js +277 -277
- package/esm5/lib/EditorCellPresenter.js +26 -26
- package/esm5/lib/FilterCell.js +259 -259
- package/esm5/lib/FilterCellPresenter.js +15 -15
- package/esm5/lib/GridCellBase.js +164 -143
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +7 -7
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +118 -113
- package/esm5/lib/GridStyleRepositoryKeys.js +1 -1
- package/esm5/lib/ImageCell.js +57 -57
- package/esm5/lib/ImageCellPresenter.js +15 -15
- package/esm5/lib/MultiColumnComboBoxView_combined.js +9 -9
- package/esm5/lib/NumericCell.js +8 -8
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +19 -19
- package/esm5/lib/SectionHeaderCell.js +20 -20
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +45 -45
- package/esm5/lib/SummaryCellPresenter.js +10 -10
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +3 -3
- package/esm5/lib/TemplateHeader.js +4 -4
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm5/lib/TemplateSectionHeader.js +1 -1
- package/esm5/lib/TextCell.js +29 -29
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +182 -182
- package/esm5/lib/TextHeaderCellPresenter.js +52 -52
- package/esm5/lib/TextIconSetConditionalStyle.js +1 -1
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igc-cell-info.js +105 -79
- 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 +303 -261
- package/esm5/lib/igc-data-grid-component.js +28 -0
- package/esm5/lib/igc-date-time-cell-info.js +12 -12
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-definition-base-component.js +12 -12
- package/esm5/lib/igc-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- package/esm5/lib/igc-filter-row-definition-component.js +12 -12
- package/esm5/lib/igc-header-component.js +24 -24
- package/esm5/lib/igc-image-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-cell-info.js +39 -26
- package/esm5/lib/igc-numeric-column-component.js +50 -35
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-component.js +74 -24
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-summary-row-component.js +24 -24
- package/esm5/lib/igc-template-cell-info.js +2 -2
- package/esm5/lib/igc-template-header-cell-info.js +2 -2
- package/esm5/lib/igc-text-cell-info.js +2 -2
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-header-cell-info.js +38 -38
- package/fesm2015/igniteui-webcomponents-data-grids.js +7778 -7348
- package/fesm5/igniteui-webcomponents-data-grids.js +7623 -7085
- package/lib/ColumnFilterCondition_combined.d.ts +1341 -1292
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +64 -61
- package/lib/GridStyleRepositoryKeys.d.ts +28 -27
- package/lib/ImageCell.d.ts +17 -17
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +4 -4
- package/lib/SummaryCell.d.ts +10 -10
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeader.d.ts +1 -1
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +1 -1
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +30 -30
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igc-cell-info.d.ts +10 -0
- package/lib/igc-data-grid-column-component.d.ts +15 -0
- package/lib/igc-data-grid-component.d.ts +10 -0
- package/lib/igc-numeric-cell-info.d.ts +5 -0
- package/lib/igc-numeric-column-component.d.ts +6 -0
- package/lib/igc-section-header-component.d.ts +14 -0
- package/package.json +4 -4
|
@@ -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.
|
|
25
|
-
_this.
|
|
26
|
-
_this.
|
|
27
|
-
_this.
|
|
28
|
-
_this.
|
|
29
|
-
_this.
|
|
30
|
-
_this.
|
|
31
|
-
_this.
|
|
32
|
-
_this.
|
|
33
|
-
_this.
|
|
21
|
+
_this.ea = null;
|
|
22
|
+
_this.d6 = null;
|
|
23
|
+
_this.d4 = null;
|
|
24
|
+
_this.d0 = 0;
|
|
25
|
+
_this.dz = 0;
|
|
26
|
+
_this.d2 = 3;
|
|
27
|
+
_this.ec = null;
|
|
28
|
+
_this.ef = -1;
|
|
29
|
+
_this.ee = -1;
|
|
30
|
+
_this.d8 = false;
|
|
31
|
+
_this.eb = null;
|
|
32
|
+
_this.d9 = false;
|
|
33
|
+
_this.ea = 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.ea.setRawStyleProperty("display", "inline-block");
|
|
37
|
+
_this.ea.setRawStyleProperty("line-height", "normal");
|
|
38
|
+
_this.ea.setRawStyleProperty("vertical-align", "middle");
|
|
39
|
+
_this.ea.setRawStyleProperty("overflow", "hidden");
|
|
40
|
+
_this.ea.setRawStyleProperty("white-space", "nowrap");
|
|
41
|
+
_this.ea.setRawStyleProperty("text-overflow", "ellipsis");
|
|
42
|
+
_this.ar.append(_this.ea);
|
|
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.eb = d;
|
|
52
52
|
var e = a.getSubRenderer(d);
|
|
53
|
-
_this.
|
|
54
|
-
_this.
|
|
53
|
+
_this.d4 = new GridFilterDialog();
|
|
54
|
+
_this.d4.ca(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.d4.b1(b, c);
|
|
57
|
+
_this.d4.ar = 24;
|
|
58
|
+
var f = _this.d4.ai;
|
|
59
|
+
_this.d4.ai = false;
|
|
60
|
+
_this.d4.by();
|
|
61
|
+
_this.d4.ai = 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.ec = d;
|
|
72
72
|
e = a.getSubRenderer(d);
|
|
73
|
-
_this.
|
|
74
|
-
_this.
|
|
75
|
-
_this.
|
|
76
|
-
_this.
|
|
73
|
+
_this.d6 = new GridSortIndicator();
|
|
74
|
+
_this.d6.n = false;
|
|
75
|
+
_this.d6.m = false;
|
|
76
|
+
_this.d6.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.d6.au(g, h);
|
|
79
|
+
var i = _this.d6;
|
|
80
|
+
i.propertyChanged = delegateCombine(i.propertyChanged, runOn(_this, _this.ei));
|
|
81
|
+
var j = _this.d4;
|
|
82
|
+
j.dialogOpening = delegateCombine(j.dialogOpening, runOn(_this, _this.ej));
|
|
83
|
+
var k = _this.d4;
|
|
84
|
+
k.filterChanging = delegateCombine(k.filterChanging, runOn(_this, _this.el));
|
|
85
|
+
var l = _this.d4;
|
|
86
|
+
l.filterChanged = delegateCombine(l.filterChanged, runOn(_this, _this.ek));
|
|
87
|
+
_this.ar.listen("mouseenter", runOn(_this, _this.ep));
|
|
88
|
+
_this.ar.listen("mouseleave", runOn(_this, _this.eo));
|
|
89
89
|
return _this;
|
|
90
90
|
}
|
|
91
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
91
|
+
Object.defineProperty(TextHeaderCell.prototype, "ed", {
|
|
92
92
|
get: function () {
|
|
93
|
-
return this.
|
|
93
|
+
return this.ea;
|
|
94
94
|
},
|
|
95
95
|
enumerable: false,
|
|
96
96
|
configurable: true
|
|
97
97
|
});
|
|
98
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
98
|
+
Object.defineProperty(TextHeaderCell.prototype, "d7", {
|
|
99
99
|
get: function () {
|
|
100
|
-
return this.
|
|
100
|
+
return this.d6;
|
|
101
101
|
},
|
|
102
102
|
enumerable: false,
|
|
103
103
|
configurable: true
|
|
104
104
|
});
|
|
105
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
105
|
+
Object.defineProperty(TextHeaderCell.prototype, "d5", {
|
|
106
106
|
get: function () {
|
|
107
|
-
return this.
|
|
107
|
+
return this.d4;
|
|
108
108
|
},
|
|
109
109
|
enumerable: false,
|
|
110
110
|
configurable: true
|
|
111
111
|
});
|
|
112
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
112
|
+
Object.defineProperty(TextHeaderCell.prototype, "d3", {
|
|
113
113
|
get: function () {
|
|
114
|
-
return this.
|
|
114
|
+
return this.d2;
|
|
115
115
|
},
|
|
116
116
|
set: function (a) {
|
|
117
|
-
var b = this.
|
|
118
|
-
this.
|
|
119
|
-
this.
|
|
117
|
+
var b = this.d2;
|
|
118
|
+
this.d2 = a;
|
|
119
|
+
this.cl("ColumnOptionsIconBehavior", enumGetBox(ColumnOptionsIconBehavior_$type, b), enumGetBox(ColumnOptionsIconBehavior_$type, this.d2));
|
|
120
120
|
},
|
|
121
121
|
enumerable: false,
|
|
122
122
|
configurable: true
|
|
123
123
|
});
|
|
124
|
-
Object.defineProperty(TextHeaderCell.prototype, "
|
|
124
|
+
Object.defineProperty(TextHeaderCell.prototype, "d1", {
|
|
125
125
|
get: function () {
|
|
126
|
-
return this.
|
|
126
|
+
return this.d0;
|
|
127
127
|
},
|
|
128
128
|
set: function (a) {
|
|
129
|
-
var b = this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
129
|
+
var b = this.d0;
|
|
130
|
+
this.d0 = a;
|
|
131
|
+
this.cl("ColumnOptionsIconAlignment", enumGetBox(ColumnOptionsIconAlignment_$type, b), enumGetBox(ColumnOptionsIconAlignment_$type, this.d0));
|
|
132
132
|
},
|
|
133
133
|
enumerable: false,
|
|
134
134
|
configurable: true
|
|
@@ -136,201 +136,201 @@ 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.dd = function (a, b) {
|
|
140
|
+
_super.prototype.dd.call(this, a, b);
|
|
141
141
|
a -= 21;
|
|
142
|
-
if (this.
|
|
142
|
+
if (this.d9) {
|
|
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.ef) {
|
|
147
|
+
this.ef = c;
|
|
148
|
+
this.ea.setRawStyleProperty("max-width", c.toString() + "px");
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
|
-
TextHeaderCell.prototype.
|
|
152
|
-
_super.prototype.
|
|
153
|
-
this.
|
|
151
|
+
TextHeaderCell.prototype.c2 = function (a, b) {
|
|
152
|
+
_super.prototype.c2.call(this, a, b);
|
|
153
|
+
this.ea.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.ee != c) {
|
|
156
|
+
this.ee = c;
|
|
157
|
+
this.ea.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.c1 = function (a, b) {
|
|
161
|
+
_super.prototype.c1.call(this, a, b);
|
|
162
|
+
if (a == this.ea) {
|
|
163
|
+
this.ea.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
164
164
|
}
|
|
165
165
|
};
|
|
166
|
-
TextHeaderCell.prototype.
|
|
167
|
-
this.
|
|
166
|
+
TextHeaderCell.prototype.de = function (a, b, c, d) {
|
|
167
|
+
this.d4.b0();
|
|
168
168
|
};
|
|
169
|
-
TextHeaderCell.prototype.
|
|
169
|
+
TextHeaderCell.prototype.ei = 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.d7.t > 0) {
|
|
173
|
+
this.ec.setRawStyleProperty("width", "18px");
|
|
174
|
+
if (this.dz == 2) {
|
|
175
|
+
this.ec.setRawStyleProperty("margin", "0 5px 0 0");
|
|
176
176
|
}
|
|
177
177
|
else {
|
|
178
|
-
this.
|
|
178
|
+
this.ec.setRawStyleProperty("margin", "0 0 0 5px");
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
182
|
+
this.ec.setRawStyleProperty("width", "0px");
|
|
183
|
+
this.ec.setRawStyleProperty("margin", "0");
|
|
184
184
|
}
|
|
185
185
|
break;
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
TextHeaderCell.prototype.
|
|
188
|
+
TextHeaderCell.prototype.ep = function (a) {
|
|
189
189
|
if (this.b.isGridDragging) {
|
|
190
190
|
return;
|
|
191
191
|
}
|
|
192
|
-
switch (this.
|
|
192
|
+
switch (this.d3) {
|
|
193
193
|
case 2:
|
|
194
194
|
case 3:
|
|
195
|
-
this.
|
|
195
|
+
this.d4.ce();
|
|
196
196
|
break;
|
|
197
197
|
}
|
|
198
198
|
};
|
|
199
|
-
TextHeaderCell.prototype.
|
|
200
|
-
switch (this.
|
|
199
|
+
TextHeaderCell.prototype.eo = function (a) {
|
|
200
|
+
switch (this.d3) {
|
|
201
201
|
case 2:
|
|
202
202
|
case 3:
|
|
203
|
-
this.
|
|
203
|
+
this.d4.by();
|
|
204
204
|
break;
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
|
-
TextHeaderCell.prototype.
|
|
207
|
+
TextHeaderCell.prototype.ek = function (a, b) {
|
|
208
208
|
this.b.columnFilterChanged(b.a);
|
|
209
209
|
};
|
|
210
|
-
TextHeaderCell.prototype.
|
|
210
|
+
TextHeaderCell.prototype.el = function (a, b) {
|
|
211
211
|
this.b.columnFilterChanging(b.a);
|
|
212
212
|
};
|
|
213
|
-
TextHeaderCell.prototype.
|
|
213
|
+
TextHeaderCell.prototype.ej = function (a, b) {
|
|
214
214
|
if (this.b != null) {
|
|
215
215
|
b.a = this.f.getColumn();
|
|
216
216
|
this.b.cancelEditMode(false);
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
|
-
TextHeaderCell.prototype.
|
|
220
|
-
_super.prototype.
|
|
221
|
-
this.
|
|
222
|
-
this.
|
|
219
|
+
TextHeaderCell.prototype.cj = function (a, b, c) {
|
|
220
|
+
_super.prototype.cj.call(this, a, b, c);
|
|
221
|
+
this.dz = c;
|
|
222
|
+
this.d4.k = c;
|
|
223
223
|
if (c == 2) {
|
|
224
|
-
if (this.
|
|
225
|
-
this.ar.removeChild(this.
|
|
226
|
-
this.ar.removeChild(this.
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
224
|
+
if (this.d1 == 1) {
|
|
225
|
+
this.ar.removeChild(this.ec);
|
|
226
|
+
this.ar.removeChild(this.eb);
|
|
227
|
+
this.ea.before(this.eb);
|
|
228
|
+
this.eb.before(this.ec);
|
|
229
|
+
this.eb.setRawStyleProperty("margin", "0 5px 0 0");
|
|
230
|
+
this.d4.l = this.dz;
|
|
231
231
|
}
|
|
232
|
-
else if (this.
|
|
233
|
-
this.ar.removeChild(this.
|
|
234
|
-
this.ar.removeChild(this.
|
|
235
|
-
this.ar.append(this.
|
|
236
|
-
this.
|
|
237
|
-
this.
|
|
238
|
-
this.
|
|
232
|
+
else if (this.d1 == 4) {
|
|
233
|
+
this.ar.removeChild(this.ec);
|
|
234
|
+
this.ar.removeChild(this.eb);
|
|
235
|
+
this.ar.append(this.eb);
|
|
236
|
+
this.ea.before(this.ec);
|
|
237
|
+
this.eb.setRawStyleProperty("margin", "0 0 0 5px");
|
|
238
|
+
this.d4.l = 2;
|
|
239
239
|
}
|
|
240
240
|
else {
|
|
241
|
-
this.ar.removeChild(this.
|
|
242
|
-
this.ar.removeChild(this.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
241
|
+
this.ar.removeChild(this.ec);
|
|
242
|
+
this.ar.removeChild(this.eb);
|
|
243
|
+
this.ea.before(this.eb);
|
|
244
|
+
this.eb.before(this.ec);
|
|
245
|
+
this.eb.setRawStyleProperty("margin", "0");
|
|
246
|
+
this.d4.l = 0;
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
else {
|
|
250
|
-
if (this.
|
|
251
|
-
this.ar.removeChild(this.
|
|
252
|
-
this.ar.removeChild(this.
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
250
|
+
if (this.d1 == 1) {
|
|
251
|
+
this.ar.removeChild(this.ec);
|
|
252
|
+
this.ar.removeChild(this.ea);
|
|
253
|
+
this.eb.before(this.ea);
|
|
254
|
+
this.eb.before(this.ec);
|
|
255
|
+
this.eb.setRawStyleProperty("margin", "0 0 0 5px");
|
|
256
|
+
this.d4.l = this.dz;
|
|
257
257
|
}
|
|
258
|
-
else if (this.
|
|
259
|
-
this.ar.removeChild(this.
|
|
260
|
-
this.ar.removeChild(this.
|
|
261
|
-
this.ar.removeChild(this.
|
|
262
|
-
this.ar.append(this.
|
|
263
|
-
this.ar.append(this.
|
|
264
|
-
this.ar.append(this.
|
|
265
|
-
this.
|
|
266
|
-
this.
|
|
258
|
+
else if (this.d1 == 3) {
|
|
259
|
+
this.ar.removeChild(this.ec);
|
|
260
|
+
this.ar.removeChild(this.ea);
|
|
261
|
+
this.ar.removeChild(this.eb);
|
|
262
|
+
this.ar.append(this.eb);
|
|
263
|
+
this.ar.append(this.ea);
|
|
264
|
+
this.ar.append(this.ec);
|
|
265
|
+
this.eb.setRawStyleProperty("margin", "0 5px 0 0");
|
|
266
|
+
this.d4.l = 0;
|
|
267
267
|
}
|
|
268
268
|
else {
|
|
269
|
-
this.ar.removeChild(this.
|
|
270
|
-
this.ar.removeChild(this.
|
|
271
|
-
this.
|
|
272
|
-
this.
|
|
273
|
-
this.
|
|
274
|
-
this.
|
|
269
|
+
this.ar.removeChild(this.ec);
|
|
270
|
+
this.ar.removeChild(this.ea);
|
|
271
|
+
this.eb.before(this.ea);
|
|
272
|
+
this.eb.before(this.ec);
|
|
273
|
+
this.eb.setRawStyleProperty("margin", "0");
|
|
274
|
+
this.d4.l = 2;
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
};
|
|
278
|
-
TextHeaderCell.prototype.
|
|
279
|
-
_super.prototype.
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
278
|
+
TextHeaderCell.prototype.c7 = function (a, b, c, d) {
|
|
279
|
+
_super.prototype.c7.call(this, a, b, c, d);
|
|
280
|
+
this.d4.av = a;
|
|
281
|
+
this.d4.aw = c;
|
|
282
282
|
};
|
|
283
|
-
TextHeaderCell.prototype.
|
|
284
|
-
if (this.
|
|
285
|
-
this.
|
|
286
|
-
this.
|
|
283
|
+
TextHeaderCell.prototype.en = function () {
|
|
284
|
+
if (this.d1 == 3) {
|
|
285
|
+
this.d4.l = 0;
|
|
286
|
+
this.eb.setRawStyleProperty("margin", "0");
|
|
287
287
|
}
|
|
288
|
-
else if (this.
|
|
289
|
-
this.
|
|
290
|
-
this.
|
|
288
|
+
else if (this.d1 == 4) {
|
|
289
|
+
this.d4.l = 2;
|
|
290
|
+
this.eb.setRawStyleProperty("margin", "0");
|
|
291
291
|
}
|
|
292
|
-
else if (this.
|
|
293
|
-
if (this.
|
|
294
|
-
this.
|
|
292
|
+
else if (this.d1 == 2 || this.d1 == 0) {
|
|
293
|
+
if (this.dz == 2) {
|
|
294
|
+
this.d4.l = 0;
|
|
295
295
|
}
|
|
296
296
|
else {
|
|
297
|
-
this.
|
|
297
|
+
this.d4.l = 2;
|
|
298
298
|
}
|
|
299
|
-
this.
|
|
299
|
+
this.eb.setRawStyleProperty("margin", "0");
|
|
300
300
|
}
|
|
301
301
|
else {
|
|
302
|
-
this.
|
|
303
|
-
if (this.
|
|
304
|
-
this.
|
|
302
|
+
this.d4.l = this.dz;
|
|
303
|
+
if (this.dz == 2) {
|
|
304
|
+
this.eb.setRawStyleProperty("margin", "0 5px 0 0");
|
|
305
305
|
}
|
|
306
306
|
else {
|
|
307
|
-
this.
|
|
307
|
+
this.eb.setRawStyleProperty("margin", "0 0 0 5px");
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
-
this.
|
|
310
|
+
this.cj(this.ar, this.ea, this.dz);
|
|
311
311
|
};
|
|
312
|
-
TextHeaderCell.prototype.
|
|
313
|
-
switch (this.
|
|
312
|
+
TextHeaderCell.prototype.em = function () {
|
|
313
|
+
switch (this.d3) {
|
|
314
314
|
case 1:
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
315
|
+
this.d4.ai = false;
|
|
316
|
+
this.d4.ce();
|
|
317
317
|
break;
|
|
318
318
|
case 2:
|
|
319
|
-
this.
|
|
319
|
+
this.d4.ai = false;
|
|
320
320
|
break;
|
|
321
321
|
case 3:
|
|
322
|
-
this.
|
|
322
|
+
this.d4.ai = true;
|
|
323
323
|
break;
|
|
324
324
|
}
|
|
325
325
|
};
|
|
326
|
-
TextHeaderCell.prototype.
|
|
327
|
-
_super.prototype.
|
|
326
|
+
TextHeaderCell.prototype.cl = function (a, b, c) {
|
|
327
|
+
_super.prototype.cl.call(this, a, b, c);
|
|
328
328
|
switch (a) {
|
|
329
329
|
case "ColumnOptionsIconAlignment":
|
|
330
|
-
this.
|
|
330
|
+
this.en();
|
|
331
331
|
break;
|
|
332
332
|
case "ColumnOptionsIconBehavior":
|
|
333
|
-
this.
|
|
333
|
+
this.em();
|
|
334
334
|
break;
|
|
335
335
|
}
|
|
336
336
|
};
|
|
@@ -338,28 +338,28 @@ export var TextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
338
338
|
if (e_.button == 2) {
|
|
339
339
|
return;
|
|
340
340
|
}
|
|
341
|
-
var b = this.
|
|
341
|
+
var b = this.d4.ak(e_);
|
|
342
342
|
if (b) {
|
|
343
|
-
this.
|
|
343
|
+
this.d8 = true;
|
|
344
344
|
return;
|
|
345
345
|
}
|
|
346
346
|
_super.prototype.onContactStarted.call(this, e_, a);
|
|
347
347
|
};
|
|
348
348
|
TextHeaderCell.prototype.onContactCompleted = function (e_, a) {
|
|
349
|
-
if (!this.
|
|
349
|
+
if (!this.d8) {
|
|
350
350
|
_super.prototype.onContactCompleted.call(this, e_, a);
|
|
351
351
|
}
|
|
352
|
-
this.
|
|
352
|
+
this.d8 = false;
|
|
353
353
|
};
|
|
354
354
|
TextHeaderCell.prototype.detach = function () {
|
|
355
355
|
_super.prototype.detach.call(this);
|
|
356
|
-
if (this.
|
|
356
|
+
if (this.d4 != null) {
|
|
357
357
|
}
|
|
358
358
|
};
|
|
359
|
-
TextHeaderCell.prototype.
|
|
360
|
-
_super.prototype.
|
|
361
|
-
if (this.
|
|
362
|
-
this.
|
|
359
|
+
TextHeaderCell.prototype.db = function (a) {
|
|
360
|
+
_super.prototype.db.call(this, a);
|
|
361
|
+
if (this.d5 != null) {
|
|
362
|
+
this.d5.x = a;
|
|
363
363
|
}
|
|
364
364
|
};
|
|
365
365
|
TextHeaderCell.prototype.get_ac = function () {
|