igniteui-angular-data-grids 21.0.1-beta.0 → 21.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-angular-data-grids.umd.js +15844 -13294
- package/bundles/igniteui-angular-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 +13 -13
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- 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 +39 -36
- package/esm2015/lib/CheckboxListBridge.js +36 -36
- package/esm2015/lib/CheckboxListView_combined.js +417 -412
- package/esm2015/lib/ColumnChooserView_combined.js +13 -13
- package/esm2015/lib/ColumnFilterCondition_combined.js +8357 -7096
- package/esm2015/lib/ColumnGroupingView_combined.js +14 -14
- package/esm2015/lib/ColumnOptionsIconAlignment.js +9 -1
- package/esm2015/lib/ColumnPinningView_combined.js +13 -13
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +8 -8
- package/esm2015/lib/ContentCellModelHelper.js +10 -10
- package/esm2015/lib/DataGridCellLayoutPanel.js +14 -14
- package/esm2015/lib/DataGridLocaleEn.js +3 -0
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +18 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +3 -3
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/Dragger.js +4 -4
- package/esm2015/lib/DraggerView.js +8 -8
- package/esm2015/lib/EditorCell.js +291 -291
- 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 +171 -154
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +15 -15
- 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/GridColumnOptionsViewBase_combined.js +2 -2
- 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/GridExpansionIndicatorView_combined.js +5 -5
- package/esm2015/lib/GridExternalWrapper.js +12 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +367 -261
- package/esm2015/lib/GridIconRepository.js +94 -0
- package/esm2015/lib/GridSortIndicatorView_combined.js +24 -20
- package/esm2015/lib/GridStyleRepository.js +123 -115
- package/esm2015/lib/GridStyleRepositoryKeys.js +1 -1
- package/esm2015/lib/ICheckboxListView.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +7 -7
- package/esm2015/lib/ImageCell.js +57 -57
- package/esm2015/lib/ImageCellPresenter.js +15 -15
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +14 -14
- package/esm2015/lib/NativeUIComboFactory.js +1 -1
- package/esm2015/lib/NativeUIGridFactory.js +2 -2
- package/esm2015/lib/NumericCell.js +8 -8
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +23 -23
- package/esm2015/lib/SectionHeaderCell.js +22 -10
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +47 -38
- package/esm2015/lib/SummaryCellPresenter.js +10 -10
- package/esm2015/lib/TemplateCell.js +16 -16
- package/esm2015/lib/TemplateCellPresenter.js +3 -3
- package/esm2015/lib/TemplateHeader.js +5 -5
- 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 +188 -153
- package/esm2015/lib/TextHeaderCellPresenter.js +58 -39
- package/esm2015/lib/TextIconSetConditionalStyle.js +1 -1
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +115 -91
- package/esm2015/lib/igx-checkbox-list-component.js +46 -47
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-binding-event-args.js +27 -22
- package/esm2015/lib/igx-data-grid-column-component.js +289 -163
- package/esm2015/lib/igx-data-grid-component.js +163 -2
- package/esm2015/lib/igx-data-grid-filter-dialog-component.js +105 -28
- 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-date-time-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-definition-base-component.js +8 -8
- 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-filter-row-definition-dynamic-module.js +2 -0
- 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-image-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-numeric-cell-info.js +35 -26
- package/esm2015/lib/igx-numeric-column-component.js +43 -31
- package/esm2015/lib/igx-numeric-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-row-separator-dynamic-module.js +2 -0
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-section-header-component.js +55 -17
- package/esm2015/lib/igx-section-header-dynamic-module.js +2 -0
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-summary-row-component.js +16 -16
- package/esm2015/lib/igx-template-cell-info.js +2 -2
- package/esm2015/lib/igx-template-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-dynamic-module.js +2 -0
- package/esm2015/lib/igx-template-section-header-dynamic-module.js +4 -0
- 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-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-text-header-cell-info.js +74 -24
- package/esm2015/lib/igx-text-header-dynamic-module.js +2 -0
- package/esm2015/public_api.js +2 -0
- 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 +13 -13
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- 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 +39 -36
- package/esm5/lib/CheckboxListBridge.js +36 -36
- package/esm5/lib/CheckboxListView_combined.js +400 -395
- package/esm5/lib/ColumnChooserView_combined.js +13 -13
- package/esm5/lib/ColumnFilterCondition_combined.js +8293 -6823
- package/esm5/lib/ColumnGroupingView_combined.js +14 -14
- package/esm5/lib/ColumnOptionsIconAlignment.js +9 -1
- package/esm5/lib/ColumnPinningView_combined.js +13 -13
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +8 -8
- package/esm5/lib/ContentCellModelHelper.js +10 -10
- package/esm5/lib/DataGridCellLayoutPanel.js +14 -14
- package/esm5/lib/DataGridLocaleEn.js +3 -0
- package/esm5/lib/DataGridScrollerKeyboardListener.js +18 -15
- package/esm5/lib/DataGridToolbarView_combined.js +3 -3
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/Dragger.js +4 -4
- package/esm5/lib/DraggerView.js +8 -8
- 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 +168 -147
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +15 -15
- 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/GridColumnOptionsViewBase_combined.js +2 -2
- 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/GridExpansionIndicatorView_combined.js +5 -5
- package/esm5/lib/GridExternalWrapper.js +12 -6
- package/esm5/lib/GridFilterDialogView_combined.js +381 -247
- package/esm5/lib/GridIconRepository.js +98 -0
- package/esm5/lib/GridSortIndicatorView_combined.js +24 -20
- package/esm5/lib/GridStyleRepository.js +127 -115
- package/esm5/lib/GridStyleRepositoryKeys.js +1 -1
- package/esm5/lib/ICheckboxListView.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +7 -7
- package/esm5/lib/ImageCell.js +57 -57
- package/esm5/lib/ImageCellPresenter.js +15 -15
- package/esm5/lib/MultiColumnComboBoxView_combined.js +14 -14
- package/esm5/lib/NativeUIComboFactory.js +1 -1
- package/esm5/lib/NativeUIGridFactory.js +2 -2
- package/esm5/lib/NumericCell.js +8 -8
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +23 -23
- package/esm5/lib/SectionHeaderCell.js +22 -10
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +47 -38
- package/esm5/lib/SummaryCellPresenter.js +10 -10
- package/esm5/lib/TemplateCell.js +16 -16
- package/esm5/lib/TemplateCellPresenter.js +3 -3
- package/esm5/lib/TemplateHeader.js +5 -5
- 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 +186 -151
- package/esm5/lib/TextHeaderCellPresenter.js +58 -39
- package/esm5/lib/TextIconSetConditionalStyle.js +1 -1
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +127 -91
- package/esm5/lib/igx-checkbox-list-component.js +46 -47
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-binding-event-args.js +27 -22
- package/esm5/lib/igx-data-grid-column-component.js +341 -163
- package/esm5/lib/igx-data-grid-component.js +213 -2
- package/esm5/lib/igx-data-grid-filter-dialog-component.js +129 -28
- 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-date-time-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-definition-base-component.js +8 -8
- 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-filter-row-definition-dynamic-module.js +2 -0
- 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-image-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-numeric-cell-info.js +39 -26
- package/esm5/lib/igx-numeric-column-component.js +47 -31
- package/esm5/lib/igx-numeric-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-row-separator-dynamic-module.js +2 -0
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-section-header-component.js +71 -17
- package/esm5/lib/igx-section-header-dynamic-module.js +2 -0
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-summary-row-component.js +16 -16
- package/esm5/lib/igx-template-cell-info.js +2 -2
- package/esm5/lib/igx-template-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-dynamic-module.js +2 -0
- package/esm5/lib/igx-template-section-header-dynamic-module.js +4 -0
- 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-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-text-header-cell-info.js +98 -24
- package/esm5/lib/igx-text-header-dynamic-module.js +2 -0
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-angular-data-grids.js +15287 -13172
- package/fesm5/igniteui-angular-data-grids.js +15844 -13296
- package/lib/CheckboxListView_combined.d.ts +104 -104
- package/lib/ColumnFilterCondition_combined.d.ts +1817 -1681
- package/lib/ColumnOptionsIconAlignment.d.ts +9 -1
- package/lib/DataGridLocaleEn.d.ts +3 -0
- package/lib/DataGridScrollerKeyboardListener.d.ts +1 -0
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +64 -61
- package/lib/GridExternalWrapper.d.ts +2 -0
- package/lib/GridFilterDialogView_combined.d.ts +100 -80
- package/lib/GridIconRepository.d.ts +44 -0
- package/lib/GridSortIndicatorView_combined.d.ts +5 -4
- package/lib/GridStyleRepository.d.ts +3 -2
- package/lib/GridStyleRepositoryKeys.d.ts +28 -27
- package/lib/ICheckboxListView.d.ts +38 -0
- package/lib/ImageCell.d.ts +17 -17
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +5 -3
- package/lib/SummaryCell.d.ts +11 -9
- 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/igx-cell-info.d.ts +15 -0
- package/lib/igx-data-grid-column-component.d.ts +42 -1
- package/lib/igx-data-grid-component.d.ts +61 -1
- package/lib/igx-data-grid-filter-dialog-component.d.ts +32 -1
- package/lib/igx-numeric-cell-info.d.ts +6 -0
- package/lib/igx-numeric-column-component.d.ts +8 -1
- package/lib/igx-section-header-component.d.ts +15 -1
- package/lib/igx-text-header-cell-info.d.ts +16 -0
- package/package.json +4 -4
- package/public_api.d.ts +2 -0
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.dz = null;
|
|
20
|
+
_this.dz = new TemplateCellContainer(a);
|
|
21
|
+
_this.dz.element.setRawStyleProperty("box-sizing", "border-box");
|
|
22
|
+
_this.ar.append(_this.dz.element);
|
|
23
|
+
_this.ar.listen("keydown", runOn(_this, _this.d1));
|
|
24
24
|
return _this;
|
|
25
25
|
}
|
|
26
|
-
Object.defineProperty(TemplateCell.prototype, "
|
|
26
|
+
Object.defineProperty(TemplateCell.prototype, "d0", {
|
|
27
27
|
get: function () {
|
|
28
|
-
return this.
|
|
28
|
+
return this.dz;
|
|
29
29
|
},
|
|
30
30
|
enumerable: false,
|
|
31
31
|
configurable: true
|
|
@@ -33,23 +33,23 @@ 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.cl = function (a, b, c) {
|
|
37
|
+
_super.prototype.cl.call(this, a, b, c);
|
|
38
38
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
39
|
-
this.
|
|
39
|
+
this.dz.element.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
TemplateCell.prototype.
|
|
43
|
-
var a = this.
|
|
42
|
+
TemplateCell.prototype.ca = function () {
|
|
43
|
+
var a = this.dz.element.getNativeElement();
|
|
44
44
|
if (a.contains(document.activeElement)) {
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
|
-
_super.prototype.
|
|
47
|
+
_super.prototype.ca.call(this);
|
|
48
48
|
};
|
|
49
|
-
TemplateCell.prototype.
|
|
50
|
-
var b = this.
|
|
49
|
+
TemplateCell.prototype.d1 = function (a) {
|
|
50
|
+
var b = this.dz.element.getNativeElement();
|
|
51
51
|
if (b.contains(document.activeElement) && document.activeElement.nodeName == "INPUT") {
|
|
52
|
-
var c = BaseDOMEventProxy.
|
|
52
|
+
var c = BaseDOMEventProxy.c4(a);
|
|
53
53
|
if (c == 14 || c == 16) {
|
|
54
54
|
a.stopPropagation();
|
|
55
55
|
}
|
|
@@ -30,12 +30,12 @@ var TemplateCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
30
30
|
_super.prototype.b.call(this, a);
|
|
31
31
|
var b = a;
|
|
32
32
|
var c = this.d.actualColumns._inner[a.l.a5];
|
|
33
|
-
if (a.bc(CellModel.
|
|
33
|
+
if (a.bc(CellModel.fp) || a.bc(CellModel.h7)) {
|
|
34
34
|
var d = Math.min(1, Math.max(0, a.c7));
|
|
35
35
|
var e = a.cs * (1 - d);
|
|
36
|
-
this.e.
|
|
36
|
+
this.e.d0.element.setRawStyleProperty("opacity", e.toString());
|
|
37
37
|
}
|
|
38
|
-
c.
|
|
38
|
+
c.r8(a, this.e.d0);
|
|
39
39
|
};
|
|
40
40
|
TemplateCellPresenter.$t = markType(TemplateCellPresenter, 'TemplateCellPresenter', CellPresenterBase.$);
|
|
41
41
|
return TemplateCellPresenter;
|
|
@@ -29,12 +29,12 @@ var TemplateHeader = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
29
29
|
TemplateHeader.prototype.eq = function (a, b, c, d) {
|
|
30
30
|
_super.prototype.eq.call(this, a, b, c, d);
|
|
31
31
|
var e = a;
|
|
32
|
-
var f = b.
|
|
33
|
-
e.
|
|
34
|
-
e.n = f.
|
|
35
|
-
e.
|
|
32
|
+
var f = b.ci(a.l);
|
|
33
|
+
e.ob = f.ml;
|
|
34
|
+
e.n = f.hv;
|
|
35
|
+
e.oe = f.jx;
|
|
36
36
|
};
|
|
37
|
-
TemplateHeader.prototype.
|
|
37
|
+
TemplateHeader.prototype.hu = 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.dz = null;
|
|
19
|
+
_this.dz = new TemplateCellContainer(a);
|
|
20
|
+
_this.ar.append(_this.dz.element);
|
|
21
21
|
return _this;
|
|
22
22
|
}
|
|
23
|
-
Object.defineProperty(TemplateHeaderCell.prototype, "
|
|
23
|
+
Object.defineProperty(TemplateHeaderCell.prototype, "d0", {
|
|
24
24
|
get: function () {
|
|
25
|
-
return this.
|
|
25
|
+
return this.dz;
|
|
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.od = false;
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
22
|
-
Object.defineProperty(TemplateHeaderCellModel.prototype, "
|
|
22
|
+
Object.defineProperty(TemplateHeaderCellModel.prototype, "oe", {
|
|
23
23
|
get: function () {
|
|
24
|
-
return this.
|
|
24
|
+
return this.od;
|
|
25
25
|
},
|
|
26
26
|
set: function (a) {
|
|
27
|
-
var b = this.
|
|
28
|
-
this.
|
|
29
|
-
if (this.
|
|
30
|
-
this.
|
|
27
|
+
var b = this.od;
|
|
28
|
+
this.od = a;
|
|
29
|
+
if (this.od != b) {
|
|
30
|
+
this.mk("IsFilterUIVisible", TemplateHeaderCellModel.of, b, this.od);
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
enumerable: false,
|
|
34
34
|
configurable: true
|
|
35
35
|
});
|
|
36
|
-
TemplateHeaderCellModel.prototype.
|
|
37
|
-
_super.prototype.
|
|
36
|
+
TemplateHeaderCellModel.prototype.mt = function (a, b) {
|
|
37
|
+
_super.prototype.mt.call(this, a, b);
|
|
38
38
|
if (a == "IsFilterUIVisible") {
|
|
39
|
-
this.
|
|
39
|
+
this.oe = b;
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
TemplateHeaderCellModel.prototype.
|
|
42
|
+
TemplateHeaderCellModel.prototype.l5 = function (a) {
|
|
43
43
|
switch (a) {
|
|
44
44
|
case "IsFilterUIVisible": return Boolean_$type;
|
|
45
45
|
}
|
|
46
|
-
return _super.prototype.
|
|
46
|
+
return _super.prototype.l5.call(this, a);
|
|
47
47
|
};
|
|
48
|
-
TemplateHeaderCellModel.prototype.
|
|
48
|
+
TemplateHeaderCellModel.prototype.ih = function (a) {
|
|
49
49
|
if (a == "IsFilterUIVisible") {
|
|
50
|
-
return this.
|
|
50
|
+
return this.oe;
|
|
51
51
|
}
|
|
52
|
-
return _super.prototype.
|
|
52
|
+
return _super.prototype.ih.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.ob;
|
|
61
61
|
return b;
|
|
62
62
|
};
|
|
63
63
|
TemplateHeaderCellModel.$t = markType(TemplateHeaderCellModel, 'TemplateHeaderCellModel', TemplateCellModel.$);
|
|
64
|
-
TemplateHeaderCellModel.
|
|
64
|
+
TemplateHeaderCellModel.of = CellModel.f9("IsFilterUIVisible");
|
|
65
65
|
return TemplateHeaderCellModel;
|
|
66
66
|
}(TemplateCellModel));
|
|
67
67
|
export { TemplateHeaderCellModel };
|
|
@@ -30,13 +30,13 @@ var TemplateHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
30
30
|
_super.prototype.b.call(this, a);
|
|
31
31
|
var b = this.d.actualColumns._inner[a.l.a5];
|
|
32
32
|
var c = b.header;
|
|
33
|
-
if (a.bc(CellModel.
|
|
33
|
+
if (a.bc(CellModel.fp) || a.bc(CellModel.h7)) {
|
|
34
34
|
var d = Math.min(1, Math.max(0, a.c7));
|
|
35
35
|
var e = a.cs * (1 - d);
|
|
36
|
-
this.e.
|
|
36
|
+
this.e.d0.element.setRawStyleProperty("opacity", e.toString());
|
|
37
37
|
}
|
|
38
38
|
var f = a;
|
|
39
|
-
c.
|
|
39
|
+
c.hu(f, this.e.d0);
|
|
40
40
|
};
|
|
41
41
|
TemplateHeaderCellPresenter.$t = markType(TemplateHeaderCellPresenter, 'TemplateHeaderCellPresenter', CellPresenterBase.$);
|
|
42
42
|
return TemplateHeaderCellPresenter;
|
|
@@ -25,7 +25,7 @@ var TemplateSectionHeader = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25
25
|
TemplateSectionHeader.prototype.n = function (a) {
|
|
26
26
|
return new TemplateSectionHeaderCellModel();
|
|
27
27
|
};
|
|
28
|
-
TemplateSectionHeader.prototype.
|
|
28
|
+
TemplateSectionHeader.prototype.ic = 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,56 @@ 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.dz = null;
|
|
18
|
+
_this.d2 = -1;
|
|
19
|
+
_this.d1 = -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.dz = a.createElement("span");
|
|
23
|
+
_this.dz.setRawStyleProperty("display", "inline-block");
|
|
24
|
+
_this.dz.setRawStyleProperty("overflow", "hidden");
|
|
25
|
+
_this.dz.setRawStyleProperty("white-space", "nowrap");
|
|
26
|
+
_this.dz.setRawStyleProperty("text-overflow", "ellipsis");
|
|
27
|
+
_this.dc(_this.dz, 1);
|
|
28
|
+
_this.ar.append(_this.dz);
|
|
29
29
|
return _this;
|
|
30
30
|
}
|
|
31
|
-
Object.defineProperty(TextCell.prototype, "
|
|
31
|
+
Object.defineProperty(TextCell.prototype, "d0", {
|
|
32
32
|
get: function () {
|
|
33
|
-
return this.
|
|
33
|
+
return this.dz;
|
|
34
34
|
},
|
|
35
35
|
enumerable: false,
|
|
36
36
|
configurable: true
|
|
37
37
|
});
|
|
38
|
-
TextCell.prototype.
|
|
39
|
-
_super.prototype.
|
|
38
|
+
TextCell.prototype.dd = function (a, b) {
|
|
39
|
+
_super.prototype.dd.call(this, a, b);
|
|
40
40
|
var c = Math.max(0, a - b - (this.bd + this.bf + this.be));
|
|
41
|
-
if (this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
41
|
+
if (this.d2 != c) {
|
|
42
|
+
this.d2 = c;
|
|
43
|
+
this.dz.setRawStyleProperty("max-width", c.toString() + "px");
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
TextCell.prototype.
|
|
47
|
-
_super.prototype.
|
|
46
|
+
TextCell.prototype.c2 = function (a, b) {
|
|
47
|
+
_super.prototype.c2.call(this, a, b);
|
|
48
48
|
var c = Math.max(0, a - b);
|
|
49
|
-
if (this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
49
|
+
if (this.d1 != c) {
|
|
50
|
+
this.d1 = c;
|
|
51
|
+
this.dz.setRawStyleProperty("max-height", c.toString() + "px");
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
|
-
TextCell.prototype.
|
|
55
|
-
_super.prototype.
|
|
56
|
-
if (a == this.
|
|
57
|
-
this.
|
|
54
|
+
TextCell.prototype.c1 = function (a, b) {
|
|
55
|
+
_super.prototype.c1.call(this, a, b);
|
|
56
|
+
if (a == this.dz) {
|
|
57
|
+
this.dz.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
TextCell.prototype.get_ae = function () {
|
|
61
61
|
return true;
|
|
62
62
|
};
|
|
63
|
-
TextCell.prototype.
|
|
64
|
-
_super.prototype.
|
|
63
|
+
TextCell.prototype.cl = function (a, b, c) {
|
|
64
|
+
_super.prototype.cl.call(this, a, b, c);
|
|
65
65
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
66
|
-
this.
|
|
66
|
+
this.dz.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
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.n9) || a.bc(TextCellModel.h5) || a.bc(TextCellModel.gz)) {
|
|
32
|
+
b.k1 = this.e(b);
|
|
33
|
+
this.d.c9(this.d.d0, b.k1);
|
|
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.d0, this.a);
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
TextCellPresenter.prototype.e = function (a) {
|
|
39
|
-
if (a.
|
|
40
|
-
return a.
|
|
39
|
+
if (a.ly != null) {
|
|
40
|
+
return a.ly;
|
|
41
41
|
}
|
|
42
|
-
if (a.
|
|
43
|
-
return a.
|
|
42
|
+
if (a.ob != null) {
|
|
43
|
+
return a.ob;
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
|
-
if (a.
|
|
46
|
+
if (a.ii == null) {
|
|
47
47
|
return "";
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
|
-
return a.
|
|
50
|
+
return a.ii.toString();
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
};
|