igniteui-angular-data-grids 21.1.0-beta.1 → 21.1.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 +10884 -9697
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +10 -10
- package/esm2015/lib/CanvasCellPresenterBase.js +12 -12
- package/esm2015/lib/CanvasContentCellModelHelper.js +12 -12
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +2 -2
- package/esm2015/lib/CanvasImageCellPresenter.js +9 -9
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateCellPresenter.js +5 -5
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm2015/lib/CellPath.js +79 -69
- package/esm2015/lib/CellPresenterBase.js +46 -46
- package/esm2015/lib/CheckboxListBridge.js +12 -0
- package/esm2015/lib/CheckboxListView_combined.js +329 -283
- package/esm2015/lib/ColumnChooserView_combined.js +11 -11
- package/esm2015/lib/ColumnFilterCondition_combined.js +7043 -6712
- package/esm2015/lib/ColumnGroupingView_combined.js +5 -5
- package/esm2015/lib/ColumnPinningView_combined.js +11 -11
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +16 -16
- package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +1 -1
- package/esm2015/lib/DataGridCellLayoutPanel.js +17 -17
- 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/DraggerView.js +1 -7
- package/esm2015/lib/EditorCell.js +289 -289
- package/esm2015/lib/EditorCellPresenter.js +27 -27
- package/esm2015/lib/FilterCell.js +267 -267
- package/esm2015/lib/FilterCellPresenter.js +17 -17
- package/esm2015/lib/GridCellBase.js +210 -202
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +13 -13
- 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 +12 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +238 -187
- package/esm2015/lib/ISummaryChooserView_combined.js +4 -4
- package/esm2015/lib/ImageCell.js +58 -58
- package/esm2015/lib/ImageCellPresenter.js +17 -17
- 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 +30 -20
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +44 -44
- package/esm2015/lib/SummaryCellPresenter.js +9 -9
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +6 -6
- package/esm2015/lib/TemplateHeader.js +8 -8
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +6 -6
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +31 -30
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +181 -175
- package/esm2015/lib/TextHeaderCellPresenter.js +66 -57
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +195 -186
- package/esm2015/lib/igx-checkbox-list-component.js +42 -20
- package/esm2015/lib/igx-column-chooser-component.js +1 -1
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-pinning-component.js +1 -1
- 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-binding-event-args.js +3 -0
- package/esm2015/lib/igx-data-grid-column-component.js +261 -195
- package/esm2015/lib/igx-data-grid-component.js +226 -33
- package/esm2015/lib/igx-data-grid-filter-dialog-component.js +60 -27
- package/esm2015/lib/igx-data-grid-toolbar-component.js +40 -8
- 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-definition-base-component.js +44 -44
- package/esm2015/lib/igx-editor-cell-info.js +23 -23
- package/esm2015/lib/igx-filter-cell-info.js +26 -26
- package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
- package/esm2015/lib/igx-grid-column-filter-options-component.js +1 -1
- package/esm2015/lib/igx-header-component.js +16 -16
- package/esm2015/lib/igx-image-cell-info.js +6 -6
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-multi-column-combo-box-component.js +160 -32
- package/esm2015/lib/igx-numeric-cell-info.js +28 -28
- package/esm2015/lib/igx-numeric-column-component.js +32 -32
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-section-header-component.js +24 -24
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-summary-row-component.js +23 -23
- package/esm2015/lib/igx-summary-row-root-dynamic-module.js +2 -0
- package/esm2015/lib/igx-summary-row-section-dynamic-module.js +2 -0
- 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 +67 -40
- package/esm5/lib/AccessibilityRow.js +10 -10
- package/esm5/lib/CanvasCellPresenterBase.js +12 -12
- package/esm5/lib/CanvasContentCellModelHelper.js +12 -12
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +2 -2
- package/esm5/lib/CanvasImageCellPresenter.js +9 -9
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateCellPresenter.js +5 -5
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm5/lib/CellPath.js +79 -65
- package/esm5/lib/CellPresenterBase.js +46 -46
- package/esm5/lib/CheckboxListBridge.js +12 -0
- package/esm5/lib/CheckboxListView_combined.js +332 -278
- package/esm5/lib/ColumnChooserView_combined.js +11 -11
- package/esm5/lib/ColumnFilterCondition_combined.js +6860 -6456
- package/esm5/lib/ColumnGroupingView_combined.js +5 -5
- package/esm5/lib/ColumnPinningView_combined.js +11 -11
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +16 -16
- package/esm5/lib/DataGridAccessibilityLayoutPanel.js +1 -1
- package/esm5/lib/DataGridCellLayoutPanel.js +17 -17
- 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/DraggerView.js +1 -7
- package/esm5/lib/EditorCell.js +276 -276
- package/esm5/lib/EditorCellPresenter.js +27 -27
- package/esm5/lib/FilterCell.js +257 -257
- package/esm5/lib/FilterCellPresenter.js +17 -17
- package/esm5/lib/GridCellBase.js +205 -193
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +13 -13
- 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 +12 -6
- package/esm5/lib/GridFilterDialogView_combined.js +240 -177
- package/esm5/lib/ISummaryChooserView_combined.js +4 -4
- package/esm5/lib/ImageCell.js +57 -57
- package/esm5/lib/ImageCellPresenter.js +17 -17
- 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 +30 -20
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +44 -44
- package/esm5/lib/SummaryCellPresenter.js +9 -9
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +6 -6
- package/esm5/lib/TemplateHeader.js +8 -8
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +6 -6
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +31 -30
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +185 -179
- package/esm5/lib/TextHeaderCellPresenter.js +66 -57
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +207 -186
- package/esm5/lib/igx-checkbox-list-component.js +49 -19
- package/esm5/lib/igx-column-chooser-component.js +1 -1
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-pinning-component.js +1 -1
- 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-binding-event-args.js +3 -0
- package/esm5/lib/igx-data-grid-column-component.js +285 -195
- package/esm5/lib/igx-data-grid-component.js +246 -33
- package/esm5/lib/igx-data-grid-filter-dialog-component.js +72 -27
- package/esm5/lib/igx-data-grid-toolbar-component.js +40 -8
- 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-definition-base-component.js +44 -44
- package/esm5/lib/igx-editor-cell-info.js +23 -23
- package/esm5/lib/igx-filter-cell-info.js +26 -26
- package/esm5/lib/igx-filter-row-definition-component.js +8 -8
- package/esm5/lib/igx-grid-column-filter-options-component.js +1 -1
- package/esm5/lib/igx-header-component.js +16 -16
- package/esm5/lib/igx-image-cell-info.js +6 -6
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-multi-column-combo-box-component.js +160 -32
- package/esm5/lib/igx-numeric-cell-info.js +28 -28
- package/esm5/lib/igx-numeric-column-component.js +32 -32
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-section-header-component.js +24 -24
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-summary-row-component.js +22 -22
- package/esm5/lib/igx-summary-row-root-dynamic-module.js +2 -0
- package/esm5/lib/igx-summary-row-section-dynamic-module.js +2 -0
- 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 +79 -40
- package/fesm2015/igniteui-angular-data-grids.js +10781 -9783
- package/fesm5/igniteui-angular-data-grids.js +10884 -9697
- package/lib/CellPath.d.ts +21 -20
- package/lib/CheckboxListExternal.d.ts +3 -0
- package/lib/CheckboxListView_combined.d.ts +77 -71
- package/lib/ColumnFilterCondition_combined.d.ts +1759 -1699
- package/lib/EditorCell.d.ts +63 -63
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +82 -80
- package/lib/GridExternalWrapper.d.ts +2 -0
- package/lib/GridFilterDialogView_combined.d.ts +61 -52
- package/lib/ImageCell.d.ts +15 -15
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +6 -4
- package/lib/SummaryCell.d.ts +10 -10
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +30 -30
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igx-cell-info.d.ts +6 -0
- package/lib/igx-checkbox-list-component.d.ts +11 -1
- package/lib/igx-data-grid-column-component.d.ts +31 -1
- package/lib/igx-data-grid-component.d.ts +28 -1
- package/lib/igx-data-grid-filter-dialog-component.d.ts +16 -1
- package/lib/igx-summary-row-component.d.ts +3 -3
- package/lib/igx-text-header-cell-info.d.ts +15 -0
- package/package.json +4 -4
package/esm5/lib/SummaryCell.js
CHANGED
|
@@ -14,77 +14,77 @@ var SummaryCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
14
|
__extends(SummaryCell, _super);
|
|
15
15
|
function SummaryCell(a) {
|
|
16
16
|
var _this = _super.call(this, a) || this;
|
|
17
|
-
_this.dz = null;
|
|
18
|
-
_this.d0 = null;
|
|
19
17
|
_this.d1 = null;
|
|
20
|
-
_this.
|
|
21
|
-
_this.
|
|
18
|
+
_this.d2 = null;
|
|
19
|
+
_this.d3 = null;
|
|
20
|
+
_this.d7 = -1;
|
|
21
|
+
_this.d6 = -1;
|
|
22
22
|
_this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
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.ar.append(_this.
|
|
23
|
+
_this.d3 = a.createElement("div");
|
|
24
|
+
_this.d1 = a.createElement("span");
|
|
25
|
+
_this.d1.setRawStyleProperty("display", "inline-block");
|
|
26
|
+
_this.d1.setRawStyleProperty("width", "40%");
|
|
27
|
+
_this.d1.setRawStyleProperty("white-space", "nowrap");
|
|
28
|
+
_this.d1.setRawStyleProperty("text-overflow", "ellipsis");
|
|
29
|
+
_this.d1.setRawStyleProperty("vertical-align", "middle");
|
|
30
|
+
_this.d1.setRawStyleProperty("overflow", "hidden");
|
|
31
|
+
_this.d3.append(_this.d1);
|
|
32
|
+
_this.d2 = a.createElement("span");
|
|
33
|
+
_this.d2.setRawStyleProperty("display", "inline-block");
|
|
34
|
+
_this.d2.setRawStyleProperty("width", "60%");
|
|
35
|
+
_this.d2.setRawStyleProperty("text-align", "right");
|
|
36
|
+
_this.d2.setRawStyleProperty("white-space", "nowrap");
|
|
37
|
+
_this.d2.setRawStyleProperty("text-overflow", "ellipsis");
|
|
38
|
+
_this.d2.setRawStyleProperty("vertical-align", "middle");
|
|
39
|
+
_this.d2.setRawStyleProperty("overflow", "hidden");
|
|
40
|
+
_this.d3.append(_this.d2);
|
|
41
|
+
_this.ar.append(_this.d3);
|
|
42
42
|
return _this;
|
|
43
43
|
}
|
|
44
|
-
Object.defineProperty(SummaryCell.prototype, "
|
|
44
|
+
Object.defineProperty(SummaryCell.prototype, "d4", {
|
|
45
45
|
get: function () {
|
|
46
|
-
return this.
|
|
46
|
+
return this.d1;
|
|
47
47
|
},
|
|
48
48
|
enumerable: false,
|
|
49
49
|
configurable: true
|
|
50
50
|
});
|
|
51
|
-
Object.defineProperty(SummaryCell.prototype, "
|
|
51
|
+
Object.defineProperty(SummaryCell.prototype, "d5", {
|
|
52
52
|
get: function () {
|
|
53
|
-
return this.
|
|
53
|
+
return this.d2;
|
|
54
54
|
},
|
|
55
55
|
enumerable: false,
|
|
56
56
|
configurable: true
|
|
57
57
|
});
|
|
58
|
-
SummaryCell.prototype.
|
|
59
|
-
_super.prototype.
|
|
58
|
+
SummaryCell.prototype.df = function (a, b) {
|
|
59
|
+
_super.prototype.df.call(this, a, b);
|
|
60
60
|
var c = Math.max(0, a - b);
|
|
61
|
-
if (this.
|
|
62
|
-
this.
|
|
61
|
+
if (this.d7 != c) {
|
|
62
|
+
this.d7 = c;
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
|
-
SummaryCell.prototype.
|
|
66
|
-
_super.prototype.
|
|
65
|
+
SummaryCell.prototype.c4 = function (a, b) {
|
|
66
|
+
_super.prototype.c4.call(this, a, b);
|
|
67
67
|
var c = Math.max(0, a - b);
|
|
68
|
-
if (this.
|
|
69
|
-
this.
|
|
68
|
+
if (this.d6 != c) {
|
|
69
|
+
this.d6 = c;
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
|
-
SummaryCell.prototype.
|
|
73
|
-
_super.prototype.
|
|
74
|
-
if (a == this.
|
|
75
|
-
this.
|
|
72
|
+
SummaryCell.prototype.c3 = function (a, b) {
|
|
73
|
+
_super.prototype.c3.call(this, a, b);
|
|
74
|
+
if (a == this.d1) {
|
|
75
|
+
this.d1.setRawStyleProperty("line-height", (this.bh - this.bi).toString() + "px");
|
|
76
76
|
}
|
|
77
|
-
else if (a == this.
|
|
78
|
-
this.
|
|
77
|
+
else if (a == this.d2) {
|
|
78
|
+
this.d2.setRawStyleProperty("line-height", (this.bh - this.bi).toString() + "px");
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
SummaryCell.prototype.get_ae = function () {
|
|
82
82
|
return false;
|
|
83
83
|
};
|
|
84
|
-
SummaryCell.prototype.
|
|
85
|
-
_super.prototype.
|
|
84
|
+
SummaryCell.prototype.cn = function (a, b, c) {
|
|
85
|
+
_super.prototype.cn.call(this, a, b, c);
|
|
86
86
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
87
|
-
this.
|
|
87
|
+
this.d3.setRawStyleProperty("margin-left", this.be + this.bg + this.bf + "px");
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
SummaryCell.$t = markType(SummaryCell, 'SummaryCell', GridCellBase.$);
|
|
@@ -28,25 +28,25 @@ var SummaryCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
30
|
if (a.a7) {
|
|
31
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
32
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
31
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d4, this.a);
|
|
32
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d5, this.a);
|
|
33
33
|
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
34
|
-
if (b.
|
|
35
|
-
this.d.
|
|
34
|
+
if (b.ok != null) {
|
|
35
|
+
this.d.db(this.d.d4, b.ok);
|
|
36
36
|
}
|
|
37
|
-
if (b.
|
|
38
|
-
this.d.
|
|
37
|
+
if (b.om != null) {
|
|
38
|
+
this.d.db(this.d.d5, b.om);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
if (a.bb("SummaryLabelTextColor")) {
|
|
42
|
-
this.d.
|
|
42
|
+
this.d.d4.setRawStyleProperty("color", b.or._fill);
|
|
43
43
|
}
|
|
44
44
|
if (a.bb("FontInfo") || a.bb("SummaryLabelFontInfo")) {
|
|
45
|
-
var c = b.
|
|
45
|
+
var c = b.od;
|
|
46
46
|
if (c == null) {
|
|
47
47
|
c = FontUtil.getDefaultFont(this.a.am);
|
|
48
48
|
}
|
|
49
|
-
this.d.
|
|
49
|
+
this.d.d4.setRawStyleProperty("font", c.fontString);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
};
|
package/esm5/lib/TemplateCell.js
CHANGED
|
@@ -16,16 +16,16 @@ var TemplateCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
16
16
|
__extends(TemplateCell, _super);
|
|
17
17
|
function TemplateCell(a) {
|
|
18
18
|
var _this = _super.call(this, a) || this;
|
|
19
|
-
_this.
|
|
20
|
-
_this.
|
|
21
|
-
_this.
|
|
22
|
-
_this.ar.append(_this.
|
|
23
|
-
_this.ar.listen("keydown", runOn(_this, _this.
|
|
19
|
+
_this.d1 = null;
|
|
20
|
+
_this.d1 = new TemplateCellContainer(a);
|
|
21
|
+
_this.d1.element.setRawStyleProperty("box-sizing", "border-box");
|
|
22
|
+
_this.ar.append(_this.d1.element);
|
|
23
|
+
_this.ar.listen("keydown", runOn(_this, _this.d3));
|
|
24
24
|
return _this;
|
|
25
25
|
}
|
|
26
|
-
Object.defineProperty(TemplateCell.prototype, "
|
|
26
|
+
Object.defineProperty(TemplateCell.prototype, "d2", {
|
|
27
27
|
get: function () {
|
|
28
|
-
return this.
|
|
28
|
+
return this.d1;
|
|
29
29
|
},
|
|
30
30
|
enumerable: false,
|
|
31
31
|
configurable: true
|
|
@@ -33,21 +33,21 @@ var TemplateCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
33
33
|
TemplateCell.prototype.get_ae = function () {
|
|
34
34
|
return true;
|
|
35
35
|
};
|
|
36
|
-
TemplateCell.prototype.
|
|
37
|
-
_super.prototype.
|
|
36
|
+
TemplateCell.prototype.cn = function (a, b, c) {
|
|
37
|
+
_super.prototype.cn.call(this, a, b, c);
|
|
38
38
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
39
|
-
this.
|
|
39
|
+
this.d1.element.setRawStyleProperty("margin-left", this.be + this.bg + this.bf + "px");
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
TemplateCell.prototype.
|
|
43
|
-
var a = this.
|
|
42
|
+
TemplateCell.prototype.cc = function () {
|
|
43
|
+
var a = this.d1.element.getNativeElement();
|
|
44
44
|
if (a.contains(document.activeElement)) {
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
|
-
_super.prototype.
|
|
47
|
+
_super.prototype.cc.call(this);
|
|
48
48
|
};
|
|
49
|
-
TemplateCell.prototype.
|
|
50
|
-
var b = this.
|
|
49
|
+
TemplateCell.prototype.d3 = function (a) {
|
|
50
|
+
var b = this.d1.element.getNativeElement();
|
|
51
51
|
if (b.contains(document.activeElement) && document.activeElement.nodeName == "INPUT") {
|
|
52
52
|
var c = BaseDOMEventProxy.c4(a);
|
|
53
53
|
if (c == 14 || c == 16) {
|
|
@@ -29,13 +29,13 @@ var TemplateCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
29
29
|
TemplateCellPresenter.prototype.b = function (a) {
|
|
30
30
|
_super.prototype.b.call(this, a);
|
|
31
31
|
var b = a;
|
|
32
|
-
var c = this.d.actualColumns._inner[a.l.
|
|
33
|
-
if (a.bc(CellModel.
|
|
34
|
-
var d = Math.min(1, Math.max(0, a.
|
|
35
|
-
var e = a.
|
|
36
|
-
this.e.
|
|
32
|
+
var c = this.d.actualColumns._inner[a.l.a6];
|
|
33
|
+
if (a.bc(CellModel.fs) || a.bc(CellModel.ia)) {
|
|
34
|
+
var d = Math.min(1, Math.max(0, a.da));
|
|
35
|
+
var e = a.cv * (1 - d);
|
|
36
|
+
this.e.d2.element.setRawStyleProperty("opacity", e.toString());
|
|
37
37
|
}
|
|
38
|
-
c.
|
|
38
|
+
c.s1(a, this.e.d2);
|
|
39
39
|
};
|
|
40
40
|
TemplateCellPresenter.$t = markType(TemplateCellPresenter, 'TemplateCellPresenter', CellPresenterBase.$);
|
|
41
41
|
return TemplateCellPresenter;
|
|
@@ -22,19 +22,19 @@ var TemplateHeader = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
22
22
|
TemplateHeader.prototype.n = function (a) {
|
|
23
23
|
return new TemplateHeaderCellModel();
|
|
24
24
|
};
|
|
25
|
-
TemplateHeader.prototype.
|
|
26
|
-
var d = "template-header-" + a.
|
|
25
|
+
TemplateHeader.prototype.d5 = function (a, b, c) {
|
|
26
|
+
var d = "template-header-" + a.a6.toString();
|
|
27
27
|
return d;
|
|
28
28
|
};
|
|
29
|
-
TemplateHeader.prototype.
|
|
30
|
-
_super.prototype.
|
|
29
|
+
TemplateHeader.prototype.er = function (a, b, c, d) {
|
|
30
|
+
_super.prototype.er.call(this, a, b, c, d);
|
|
31
31
|
var e = a;
|
|
32
32
|
var f = b.ci(a.l);
|
|
33
|
-
e.
|
|
34
|
-
e.n = f.
|
|
35
|
-
e.
|
|
33
|
+
e.oe = f.mq;
|
|
34
|
+
e.n = f.hw;
|
|
35
|
+
e.oh = f.jy;
|
|
36
36
|
};
|
|
37
|
-
TemplateHeader.prototype.
|
|
37
|
+
TemplateHeader.prototype.hv = function (a, b) {
|
|
38
38
|
if (this.cellUpdating != null) {
|
|
39
39
|
this.cellUpdating(this, ((function () {
|
|
40
40
|
var $ret = new TemplateHeaderCellUpdatingEventArgs();
|
|
@@ -15,14 +15,14 @@ var TemplateHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
15
15
|
__extends(TemplateHeaderCell, _super);
|
|
16
16
|
function TemplateHeaderCell(a) {
|
|
17
17
|
var _this = _super.call(this, a) || this;
|
|
18
|
-
_this.
|
|
19
|
-
_this.
|
|
20
|
-
_this.ar.append(_this.
|
|
18
|
+
_this.d1 = null;
|
|
19
|
+
_this.d1 = new TemplateCellContainer(a);
|
|
20
|
+
_this.ar.append(_this.d1.element);
|
|
21
21
|
return _this;
|
|
22
22
|
}
|
|
23
|
-
Object.defineProperty(TemplateHeaderCell.prototype, "
|
|
23
|
+
Object.defineProperty(TemplateHeaderCell.prototype, "d2", {
|
|
24
24
|
get: function () {
|
|
25
|
-
return this.
|
|
25
|
+
return this.d1;
|
|
26
26
|
},
|
|
27
27
|
enumerable: false,
|
|
28
28
|
configurable: true
|
|
@@ -16,40 +16,40 @@ var TemplateHeaderCellModel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
16
16
|
__extends(TemplateHeaderCellModel, _super);
|
|
17
17
|
function TemplateHeaderCellModel() {
|
|
18
18
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
-
_this.
|
|
19
|
+
_this.og = false;
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
22
|
-
Object.defineProperty(TemplateHeaderCellModel.prototype, "
|
|
22
|
+
Object.defineProperty(TemplateHeaderCellModel.prototype, "oh", {
|
|
23
23
|
get: function () {
|
|
24
|
-
return this.
|
|
24
|
+
return this.og;
|
|
25
25
|
},
|
|
26
26
|
set: function (a) {
|
|
27
|
-
var b = this.
|
|
28
|
-
this.
|
|
29
|
-
if (this.
|
|
30
|
-
this.
|
|
27
|
+
var b = this.og;
|
|
28
|
+
this.og = a;
|
|
29
|
+
if (this.og != b) {
|
|
30
|
+
this.mn("IsFilterUIVisible", TemplateHeaderCellModel.oi, b, this.og);
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
enumerable: false,
|
|
34
34
|
configurable: true
|
|
35
35
|
});
|
|
36
|
-
TemplateHeaderCellModel.prototype.
|
|
37
|
-
_super.prototype.
|
|
36
|
+
TemplateHeaderCellModel.prototype.mw = function (a, b) {
|
|
37
|
+
_super.prototype.mw.call(this, a, b);
|
|
38
38
|
if (a == "IsFilterUIVisible") {
|
|
39
|
-
this.
|
|
39
|
+
this.oh = b;
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
TemplateHeaderCellModel.prototype.
|
|
42
|
+
TemplateHeaderCellModel.prototype.l8 = function (a) {
|
|
43
43
|
switch (a) {
|
|
44
44
|
case "IsFilterUIVisible": return Boolean_$type;
|
|
45
45
|
}
|
|
46
|
-
return _super.prototype.
|
|
46
|
+
return _super.prototype.l8.call(this, a);
|
|
47
47
|
};
|
|
48
|
-
TemplateHeaderCellModel.prototype.
|
|
48
|
+
TemplateHeaderCellModel.prototype.ik = function (a) {
|
|
49
49
|
if (a == "IsFilterUIVisible") {
|
|
50
|
-
return this.
|
|
50
|
+
return this.oh;
|
|
51
51
|
}
|
|
52
|
-
return _super.prototype.
|
|
52
|
+
return _super.prototype.ik.call(this, a);
|
|
53
53
|
};
|
|
54
54
|
TemplateHeaderCellModel.prototype.b = function (a) {
|
|
55
55
|
if (a == null) {
|
|
@@ -57,11 +57,11 @@ var TemplateHeaderCellModel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
57
57
|
}
|
|
58
58
|
a = _super.prototype.b.call(this, a);
|
|
59
59
|
var b = a;
|
|
60
|
-
b.ae = this.
|
|
60
|
+
b.ae = this.oe;
|
|
61
61
|
return b;
|
|
62
62
|
};
|
|
63
63
|
TemplateHeaderCellModel.$t = markType(TemplateHeaderCellModel, 'TemplateHeaderCellModel', TemplateCellModel.$);
|
|
64
|
-
TemplateHeaderCellModel.
|
|
64
|
+
TemplateHeaderCellModel.oi = CellModel.gc("IsFilterUIVisible");
|
|
65
65
|
return TemplateHeaderCellModel;
|
|
66
66
|
}(TemplateCellModel));
|
|
67
67
|
export { TemplateHeaderCellModel };
|
|
@@ -28,15 +28,15 @@ var TemplateHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
28
28
|
});
|
|
29
29
|
TemplateHeaderCellPresenter.prototype.b = function (a) {
|
|
30
30
|
_super.prototype.b.call(this, a);
|
|
31
|
-
var b = this.d.actualColumns._inner[a.l.
|
|
31
|
+
var b = this.d.actualColumns._inner[a.l.a6];
|
|
32
32
|
var c = b.header;
|
|
33
|
-
if (a.bc(CellModel.
|
|
34
|
-
var d = Math.min(1, Math.max(0, a.
|
|
35
|
-
var e = a.
|
|
36
|
-
this.e.
|
|
33
|
+
if (a.bc(CellModel.fs) || a.bc(CellModel.ia)) {
|
|
34
|
+
var d = Math.min(1, Math.max(0, a.da));
|
|
35
|
+
var e = a.cv * (1 - d);
|
|
36
|
+
this.e.d2.element.setRawStyleProperty("opacity", e.toString());
|
|
37
37
|
}
|
|
38
38
|
var f = a;
|
|
39
|
-
c.
|
|
39
|
+
c.hv(f, this.e.d2);
|
|
40
40
|
};
|
|
41
41
|
TemplateHeaderCellPresenter.$t = markType(TemplateHeaderCellPresenter, 'TemplateHeaderCellPresenter', CellPresenterBase.$);
|
|
42
42
|
return TemplateHeaderCellPresenter;
|
|
@@ -19,13 +19,13 @@ var TemplateSectionHeader = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
19
19
|
_this.cellUpdating = null;
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
22
|
-
TemplateSectionHeader.prototype.
|
|
22
|
+
TemplateSectionHeader.prototype.d5 = function (a, b, c) {
|
|
23
23
|
return "templateSectionHeader";
|
|
24
24
|
};
|
|
25
25
|
TemplateSectionHeader.prototype.n = function (a) {
|
|
26
26
|
return new TemplateSectionHeaderCellModel();
|
|
27
27
|
};
|
|
28
|
-
TemplateSectionHeader.prototype.
|
|
28
|
+
TemplateSectionHeader.prototype.ie = function (a, b) {
|
|
29
29
|
if (this.cellUpdating != null) {
|
|
30
30
|
this.cellUpdating(this, ((function () {
|
|
31
31
|
var $ret = new TemplateSectionHeaderCellUpdatingEventArgs();
|
package/esm5/lib/TextCell.js
CHANGED
|
@@ -14,56 +14,57 @@ var TextCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
14
|
__extends(TextCell, _super);
|
|
15
15
|
function TextCell(a) {
|
|
16
16
|
var _this = _super.call(this, a) || this;
|
|
17
|
-
_this.
|
|
18
|
-
_this.
|
|
19
|
-
_this.
|
|
17
|
+
_this.d1 = null;
|
|
18
|
+
_this.d4 = -1;
|
|
19
|
+
_this.d3 = -1;
|
|
20
20
|
_this.ar.setRawStyleProperty("text-align", "left");
|
|
21
21
|
_this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
22
|
-
_this.
|
|
23
|
-
_this.
|
|
24
|
-
_this.
|
|
25
|
-
_this.
|
|
26
|
-
_this.
|
|
27
|
-
_this.
|
|
28
|
-
_this.ar.append(_this.
|
|
22
|
+
_this.d1 = a.createElement("span");
|
|
23
|
+
_this.d1.setRawStyleProperty("display", "inline-block");
|
|
24
|
+
_this.d1.setRawStyleProperty("overflow", "hidden");
|
|
25
|
+
_this.d1.setRawStyleProperty("white-space", "nowrap");
|
|
26
|
+
_this.d1.setRawStyleProperty("text-overflow", "ellipsis");
|
|
27
|
+
_this.de(_this.d1, 1);
|
|
28
|
+
_this.ar.append(_this.d1);
|
|
29
29
|
return _this;
|
|
30
30
|
}
|
|
31
|
-
Object.defineProperty(TextCell.prototype, "
|
|
31
|
+
Object.defineProperty(TextCell.prototype, "d2", {
|
|
32
32
|
get: function () {
|
|
33
|
-
return this.
|
|
33
|
+
return this.d1;
|
|
34
34
|
},
|
|
35
35
|
enumerable: false,
|
|
36
36
|
configurable: true
|
|
37
37
|
});
|
|
38
|
-
TextCell.prototype.
|
|
39
|
-
_super.prototype.
|
|
40
|
-
var c = Math.max(0, a - b - (this.
|
|
41
|
-
if (this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
38
|
+
TextCell.prototype.df = function (a, b) {
|
|
39
|
+
_super.prototype.df.call(this, a, b);
|
|
40
|
+
var c = Math.max(0, a - b - (this.be + this.bg + this.bf));
|
|
41
|
+
if (this.d4 != c) {
|
|
42
|
+
this.d4 = c;
|
|
43
|
+
this.d1.setRawStyleProperty("max-width", c.toString() + "px");
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
TextCell.prototype.
|
|
47
|
-
_super.prototype.
|
|
46
|
+
TextCell.prototype.c4 = function (a, b) {
|
|
47
|
+
_super.prototype.c4.call(this, a, b);
|
|
48
|
+
this.d1.setRawStyleProperty("line-height", (this.bh - this.bi).toString() + "px");
|
|
48
49
|
var c = Math.max(0, a - b);
|
|
49
|
-
if (this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
50
|
+
if (this.d3 != c) {
|
|
51
|
+
this.d3 = c;
|
|
52
|
+
this.d1.setRawStyleProperty("max-height", c.toString() + "px");
|
|
52
53
|
}
|
|
53
54
|
};
|
|
54
|
-
TextCell.prototype.
|
|
55
|
-
_super.prototype.
|
|
56
|
-
if (a == this.
|
|
57
|
-
this.
|
|
55
|
+
TextCell.prototype.c3 = function (a, b) {
|
|
56
|
+
_super.prototype.c3.call(this, a, b);
|
|
57
|
+
if (a == this.d1) {
|
|
58
|
+
this.d1.setRawStyleProperty("line-height", (this.bh - this.bi).toString() + "px");
|
|
58
59
|
}
|
|
59
60
|
};
|
|
60
61
|
TextCell.prototype.get_ae = function () {
|
|
61
62
|
return true;
|
|
62
63
|
};
|
|
63
|
-
TextCell.prototype.
|
|
64
|
-
_super.prototype.
|
|
64
|
+
TextCell.prototype.cn = function (a, b, c) {
|
|
65
|
+
_super.prototype.cn.call(this, a, b, c);
|
|
65
66
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
66
|
-
this.
|
|
67
|
+
this.d1.setRawStyleProperty("margin-left", this.be + this.bg + this.bf + "px");
|
|
67
68
|
}
|
|
68
69
|
};
|
|
69
70
|
TextCell.$t = markType(TextCell, 'TextCell', GridCellBase.$);
|
|
@@ -28,26 +28,26 @@ var TextCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
30
|
if (a.a7) {
|
|
31
|
-
if (a.bc(TextCellModel.
|
|
32
|
-
b.
|
|
33
|
-
this.d.
|
|
31
|
+
if (a.bc(TextCellModel.oc) || a.bc(TextCellModel.h8) || a.bc(TextCellModel.g2)) {
|
|
32
|
+
b.k4 = this.e(b);
|
|
33
|
+
this.d.db(this.d.d2, b.k4);
|
|
34
34
|
}
|
|
35
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
35
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d2, this.a);
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
TextCellPresenter.prototype.e = function (a) {
|
|
39
|
-
if (a.
|
|
40
|
-
return a.
|
|
39
|
+
if (a.l1 != null) {
|
|
40
|
+
return a.l1;
|
|
41
41
|
}
|
|
42
|
-
if (a.
|
|
43
|
-
return a.
|
|
42
|
+
if (a.oe != null) {
|
|
43
|
+
return a.oe;
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
|
-
if (a.
|
|
46
|
+
if (a.il == null) {
|
|
47
47
|
return "";
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
|
-
return a.
|
|
50
|
+
return a.il.toString();
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
};
|