igniteui-angular-data-grids 20.0.1-beta.0 → 20.0.2-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 +10223 -8743
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +3 -3
- package/esm2015/lib/CanvasCellPresenterBase.js +14 -14
- package/esm2015/lib/CanvasContentCellModelHelper.js +18 -18
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +9 -9
- package/esm2015/lib/CanvasGridCellBase.js +9 -9
- package/esm2015/lib/CanvasImageCellPresenter.js +10 -10
- package/esm2015/lib/CanvasNumericCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/CanvasSummaryCell.js +1 -1
- package/esm2015/lib/CanvasSummaryCellPresenter.js +8 -8
- package/esm2015/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTextCellPresenter.js +10 -10
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +13 -13
- package/esm2015/lib/CellPresenterBase.js +64 -39
- package/esm2015/lib/CheckboxListView_combined.js +49 -49
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +6925 -6539
- package/esm2015/lib/ColumnGroupingView_combined.js +5 -5
- package/esm2015/lib/ColumnPinningView_combined.js +11 -11
- package/esm2015/lib/ColumnSortDescription.js +6 -1
- package/esm2015/lib/ColumnSummaryDescription.js +6 -1
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +46 -33
- package/esm2015/lib/DataGridCellLayoutPanel.js +19 -19
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +10 -10
- package/esm2015/lib/EditorCell.js +335 -335
- package/esm2015/lib/EditorCellPresenter.js +28 -28
- package/esm2015/lib/EditorRowCell.js +1 -1
- package/esm2015/lib/FilterCell.js +278 -278
- package/esm2015/lib/FilterCellPresenter.js +18 -18
- package/esm2015/lib/GridCellBase.js +587 -317
- 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/GridConditionFilterStringErrorsParsingEventArgs.js +2 -14
- package/esm2015/lib/GridConditionalStyleFontInfo.js +26 -0
- package/esm2015/lib/GridConditionalStyleProperty.js +8 -8
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +1 -1
- package/esm2015/lib/ImageCell.js +62 -62
- package/esm2015/lib/ImageCellPresenter.js +18 -18
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +15 -15
- package/esm2015/lib/NumericCell.js +9 -5
- package/esm2015/lib/NumericCellPresenter.js +10 -10
- package/esm2015/lib/PropertyEditorView_combined.js +21 -21
- package/esm2015/lib/SectionHeaderCell.js +17 -17
- package/esm2015/lib/SectionHeaderCellPresenter.js +11 -11
- package/esm2015/lib/SummaryCell.js +41 -41
- package/esm2015/lib/SummaryCellPresenter.js +14 -14
- package/esm2015/lib/TemplateCell.js +16 -16
- package/esm2015/lib/TemplateCellPresenter.js +5 -5
- package/esm2015/lib/TemplateHeader.js +7 -7
- package/esm2015/lib/TemplateHeaderCell.js +6 -6
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +35 -30
- package/esm2015/lib/TextCellDecoration.js +33 -0
- package/esm2015/lib/TextCellPresenter.js +11 -11
- package/esm2015/lib/TextHeaderCell.js +157 -150
- package/esm2015/lib/TextHeaderCellPresenter.js +35 -35
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +301 -190
- package/esm2015/lib/igx-checkbox-list-component.js +1 -1
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +254 -115
- package/esm2015/lib/igx-data-grid-component.js +38 -5
- 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 +46 -45
- 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-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm2015/lib/igx-grid-conditional-style-font-info-component.js +144 -0
- package/esm2015/lib/igx-grid-conditional-style-font-info-dynamic-module.js +34 -0
- package/esm2015/lib/igx-grid-conditional-style-font-info-module.js +27 -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-numeric-cell-info.js +26 -26
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-section-header-component.js +16 -16
- 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-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 +10 -10
- package/esm2015/public_api.js +5 -0
- package/esm5/lib/AccessibilityRow.js +3 -3
- package/esm5/lib/CanvasCellPresenterBase.js +14 -14
- package/esm5/lib/CanvasContentCellModelHelper.js +18 -18
- package/esm5/lib/CanvasDateTimeCellPresenter.js +9 -9
- package/esm5/lib/CanvasGridCellBase.js +9 -9
- package/esm5/lib/CanvasImageCellPresenter.js +10 -10
- package/esm5/lib/CanvasNumericCellPresenter.js +9 -9
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/CanvasSummaryCell.js +1 -1
- package/esm5/lib/CanvasSummaryCellPresenter.js +8 -8
- package/esm5/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +4 -4
- package/esm5/lib/CanvasTextCellPresenter.js +10 -10
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +13 -13
- package/esm5/lib/CellPresenterBase.js +64 -39
- package/esm5/lib/CheckboxListView_combined.js +49 -49
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +6754 -6269
- package/esm5/lib/ColumnGroupingView_combined.js +5 -5
- package/esm5/lib/ColumnPinningView_combined.js +11 -11
- package/esm5/lib/ColumnSortDescription.js +6 -1
- package/esm5/lib/ColumnSummaryDescription.js +6 -1
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +46 -33
- package/esm5/lib/DataGridCellLayoutPanel.js +19 -19
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +10 -10
- package/esm5/lib/EditorCell.js +291 -291
- package/esm5/lib/EditorCellPresenter.js +28 -28
- package/esm5/lib/EditorRowCell.js +1 -1
- package/esm5/lib/FilterCell.js +266 -266
- package/esm5/lib/FilterCellPresenter.js +18 -18
- package/esm5/lib/GridCellBase.js +625 -311
- 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/GridConditionFilterStringErrorsParsingEventArgs.js +2 -22
- package/esm5/lib/GridConditionalStyleFontInfo.js +32 -0
- package/esm5/lib/GridConditionalStyleProperty.js +8 -8
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +1 -1
- package/esm5/lib/ImageCell.js +61 -61
- package/esm5/lib/ImageCellPresenter.js +18 -18
- package/esm5/lib/MultiColumnComboBoxView_combined.js +15 -15
- package/esm5/lib/NumericCell.js +9 -5
- package/esm5/lib/NumericCellPresenter.js +10 -10
- package/esm5/lib/PropertyEditorView_combined.js +21 -21
- package/esm5/lib/SectionHeaderCell.js +17 -17
- package/esm5/lib/SectionHeaderCellPresenter.js +11 -11
- package/esm5/lib/SummaryCell.js +41 -41
- package/esm5/lib/SummaryCellPresenter.js +14 -14
- package/esm5/lib/TemplateCell.js +16 -16
- package/esm5/lib/TemplateCellPresenter.js +5 -5
- package/esm5/lib/TemplateHeader.js +7 -7
- package/esm5/lib/TemplateHeaderCell.js +6 -6
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +35 -30
- package/esm5/lib/TextCellDecoration.js +33 -0
- package/esm5/lib/TextCellPresenter.js +11 -11
- package/esm5/lib/TextHeaderCell.js +155 -148
- package/esm5/lib/TextHeaderCellPresenter.js +35 -35
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +349 -190
- package/esm5/lib/igx-checkbox-list-component.js +1 -1
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +302 -115
- package/esm5/lib/igx-data-grid-component.js +42 -5
- 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 +46 -45
- 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-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm5/lib/igx-grid-conditional-style-font-info-component.js +155 -0
- package/esm5/lib/igx-grid-conditional-style-font-info-dynamic-module.js +33 -0
- package/esm5/lib/igx-grid-conditional-style-font-info-module.js +28 -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-numeric-cell-info.js +26 -26
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-section-header-component.js +16 -16
- 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-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 +10 -10
- package/esm5/public_api.js +5 -0
- package/fesm2015/igniteui-angular-data-grids.js +10236 -9009
- package/fesm5/igniteui-angular-data-grids.js +10219 -8745
- package/lib/ColumnFilterCondition_combined.d.ts +1784 -1694
- package/lib/ContentCellModelHelper.d.ts +4 -4
- package/lib/EditorCell.d.ts +74 -74
- package/lib/FilterCell.d.ts +61 -61
- package/lib/GridCellBase.d.ts +140 -95
- package/lib/GridConditionFilterStringErrorsParsingEventArgs.d.ts +2 -6
- package/lib/GridConditionalStyleFontInfo.d.ts +11 -0
- package/lib/ImageCell.d.ts +20 -20
- package/lib/MultiColumnComboBoxView_combined.d.ts +1 -1
- package/lib/NumericCell.d.ts +2 -1
- package/lib/SectionHeaderCell.d.ts +4 -4
- package/lib/SummaryCell.d.ts +11 -11
- package/lib/TemplateCell.d.ts +6 -6
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +3 -3
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +10 -8
- package/lib/TextCellDecoration.d.ts +26 -0
- package/lib/TextHeaderCell.d.ts +37 -35
- package/lib/VerticalSeparatorCell.d.ts +9 -9
- package/lib/igx-cell-info.d.ts +63 -0
- package/lib/igx-data-grid-column-component.d.ts +68 -2
- package/lib/igx-data-grid-component.d.ts +9 -2
- package/lib/igx-definition-base-component.d.ts +1 -1
- package/lib/igx-grid-conditional-style-font-info-component.d.ts +33 -0
- package/lib/igx-grid-conditional-style-font-info-dynamic-module.d.ts +9 -0
- package/lib/igx-grid-conditional-style-font-info-module.d.ts +8 -0
- package/package.json +4 -4
- package/public_api.d.ts +5 -0
package/esm5/lib/TemplateCell.js
CHANGED
|
@@ -16,38 +16,38 @@ 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.
|
|
23
|
-
_this.
|
|
19
|
+
_this.ds = null;
|
|
20
|
+
_this.ds = new TemplateCellContainer(a);
|
|
21
|
+
_this.ds.element.setRawStyleProperty("box-sizing", "border-box");
|
|
22
|
+
_this.ap.append(_this.ds.element);
|
|
23
|
+
_this.ap.listen("keydown", runOn(_this, _this.du));
|
|
24
24
|
return _this;
|
|
25
25
|
}
|
|
26
|
-
Object.defineProperty(TemplateCell.prototype, "
|
|
26
|
+
Object.defineProperty(TemplateCell.prototype, "dt", {
|
|
27
27
|
get: function () {
|
|
28
|
-
return this.
|
|
28
|
+
return this.ds;
|
|
29
29
|
},
|
|
30
30
|
enumerable: false,
|
|
31
31
|
configurable: true
|
|
32
32
|
});
|
|
33
|
-
TemplateCell.prototype.
|
|
33
|
+
TemplateCell.prototype.get_ae = function () {
|
|
34
34
|
return true;
|
|
35
35
|
};
|
|
36
|
-
TemplateCell.prototype.
|
|
37
|
-
_super.prototype.
|
|
36
|
+
TemplateCell.prototype.ch = function (a, b, c) {
|
|
37
|
+
_super.prototype.ch.call(this, a, b, c);
|
|
38
38
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
39
|
-
this.
|
|
39
|
+
this.ds.element.setRawStyleProperty("margin-left", this.bb + this.bd + this.bc + "px");
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
TemplateCell.prototype.
|
|
43
|
-
var a = this.
|
|
42
|
+
TemplateCell.prototype.b6 = function () {
|
|
43
|
+
var a = this.ds.element.getNativeElement();
|
|
44
44
|
if (a.contains(document.activeElement)) {
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
|
-
_super.prototype.
|
|
47
|
+
_super.prototype.b6.call(this);
|
|
48
48
|
};
|
|
49
|
-
TemplateCell.prototype.
|
|
50
|
-
var b = this.
|
|
49
|
+
TemplateCell.prototype.du = function (a) {
|
|
50
|
+
var b = this.ds.element.getNativeElement();
|
|
51
51
|
if (b.contains(document.activeElement) && document.activeElement.nodeName == "INPUT") {
|
|
52
52
|
var c = BaseDOMEventProxy.c0(a);
|
|
53
53
|
if (c == 14 || c == 16) {
|
|
@@ -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.
|
|
34
|
-
var d = Math.min(1, Math.max(0, a.
|
|
35
|
-
var e = a.
|
|
36
|
-
this.e.
|
|
33
|
+
if (a.bc(CellModel.fm) || a.bc(CellModel.h1)) {
|
|
34
|
+
var d = Math.min(1, Math.max(0, a.c5));
|
|
35
|
+
var e = a.cr * (1 - d);
|
|
36
|
+
this.e.dt.element.setRawStyleProperty("opacity", e.toString());
|
|
37
37
|
}
|
|
38
|
-
c.
|
|
38
|
+
c.o7(a, this.e.dt);
|
|
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.
|
|
25
|
+
TemplateHeader.prototype.d3 = function (a, b, c) {
|
|
26
26
|
var d = "template-header-" + a.a5.toString();
|
|
27
27
|
return d;
|
|
28
28
|
};
|
|
29
|
-
TemplateHeader.prototype.
|
|
30
|
-
_super.prototype.
|
|
29
|
+
TemplateHeader.prototype.ep = function (a, b, c, d) {
|
|
30
|
+
_super.prototype.ep.call(this, a, b, c, d);
|
|
31
31
|
var e = a;
|
|
32
32
|
var f = b.cf(a.l);
|
|
33
|
-
e.
|
|
34
|
-
e.n = f.
|
|
35
|
-
e.
|
|
33
|
+
e.ny = f.lk;
|
|
34
|
+
e.n = f.hs;
|
|
35
|
+
e.n1 = f.jg;
|
|
36
36
|
};
|
|
37
|
-
TemplateHeader.prototype.
|
|
37
|
+
TemplateHeader.prototype.hr = function (a, b) {
|
|
38
38
|
if (this.cellUpdating != null) {
|
|
39
39
|
this.cellUpdating(this, ((function () {
|
|
40
40
|
var $ret = new TemplateHeaderCellUpdatingEventArgs();
|
|
@@ -15,19 +15,19 @@ 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.
|
|
18
|
+
_this.ds = null;
|
|
19
|
+
_this.ds = new TemplateCellContainer(a);
|
|
20
|
+
_this.ap.append(_this.ds.element);
|
|
21
21
|
return _this;
|
|
22
22
|
}
|
|
23
|
-
Object.defineProperty(TemplateHeaderCell.prototype, "
|
|
23
|
+
Object.defineProperty(TemplateHeaderCell.prototype, "dt", {
|
|
24
24
|
get: function () {
|
|
25
|
-
return this.
|
|
25
|
+
return this.ds;
|
|
26
26
|
},
|
|
27
27
|
enumerable: false,
|
|
28
28
|
configurable: true
|
|
29
29
|
});
|
|
30
|
-
TemplateHeaderCell.prototype.
|
|
30
|
+
TemplateHeaderCell.prototype.get_ac = function () {
|
|
31
31
|
return true;
|
|
32
32
|
};
|
|
33
33
|
TemplateHeaderCell.$t = markType(TemplateHeaderCell, 'TemplateHeaderCell', GridCellBase.$);
|
|
@@ -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.n0 = false;
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
22
|
-
Object.defineProperty(TemplateHeaderCellModel.prototype, "
|
|
22
|
+
Object.defineProperty(TemplateHeaderCellModel.prototype, "n1", {
|
|
23
23
|
get: function () {
|
|
24
|
-
return this.
|
|
24
|
+
return this.n0;
|
|
25
25
|
},
|
|
26
26
|
set: function (a) {
|
|
27
|
-
var b = this.
|
|
28
|
-
this.
|
|
29
|
-
if (this.
|
|
30
|
-
this.
|
|
27
|
+
var b = this.n0;
|
|
28
|
+
this.n0 = a;
|
|
29
|
+
if (this.n0 != b) {
|
|
30
|
+
this.mb("IsFilterUIVisible", TemplateHeaderCellModel.n2, b, this.n0);
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
enumerable: false,
|
|
34
34
|
configurable: true
|
|
35
35
|
});
|
|
36
|
-
TemplateHeaderCellModel.prototype.
|
|
37
|
-
_super.prototype.
|
|
36
|
+
TemplateHeaderCellModel.prototype.mk = function (a, b) {
|
|
37
|
+
_super.prototype.mk.call(this, a, b);
|
|
38
38
|
if (a == "IsFilterUIVisible") {
|
|
39
|
-
this.
|
|
39
|
+
this.n1 = b;
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
TemplateHeaderCellModel.prototype.
|
|
42
|
+
TemplateHeaderCellModel.prototype.lw = function (a) {
|
|
43
43
|
switch (a) {
|
|
44
44
|
case "IsFilterUIVisible": return Boolean_$type;
|
|
45
45
|
}
|
|
46
|
-
return _super.prototype.
|
|
46
|
+
return _super.prototype.lw.call(this, a);
|
|
47
47
|
};
|
|
48
|
-
TemplateHeaderCellModel.prototype.
|
|
48
|
+
TemplateHeaderCellModel.prototype.ia = function (a) {
|
|
49
49
|
if (a == "IsFilterUIVisible") {
|
|
50
|
-
return this.
|
|
50
|
+
return this.n1;
|
|
51
51
|
}
|
|
52
|
-
return _super.prototype.
|
|
52
|
+
return _super.prototype.ia.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.ny;
|
|
61
61
|
return b;
|
|
62
62
|
};
|
|
63
63
|
TemplateHeaderCellModel.$t = markType(TemplateHeaderCellModel, 'TemplateHeaderCellModel', TemplateCellModel.$);
|
|
64
|
-
TemplateHeaderCellModel.
|
|
64
|
+
TemplateHeaderCellModel.n2 = CellModel.f5("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.
|
|
34
|
-
var d = Math.min(1, Math.max(0, a.
|
|
35
|
-
var e = a.
|
|
36
|
-
this.e.
|
|
33
|
+
if (a.bc(CellModel.fm) || a.bc(CellModel.h1)) {
|
|
34
|
+
var d = Math.min(1, Math.max(0, a.c5));
|
|
35
|
+
var e = a.cr * (1 - d);
|
|
36
|
+
this.e.dt.element.setRawStyleProperty("opacity", e.toString());
|
|
37
37
|
}
|
|
38
38
|
var f = a;
|
|
39
|
-
c.
|
|
39
|
+
c.hr(f, this.e.dt);
|
|
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.d3 = 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.hv = 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,51 +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.
|
|
20
|
-
_this.
|
|
21
|
-
_this.
|
|
22
|
-
_this.
|
|
23
|
-
_this.
|
|
24
|
-
_this.
|
|
25
|
-
_this.
|
|
26
|
-
_this.
|
|
27
|
-
_this.
|
|
28
|
-
_this.
|
|
29
|
-
_this.ah.append(_this.ck);
|
|
17
|
+
_this.ds = null;
|
|
18
|
+
_this.dv = -1;
|
|
19
|
+
_this.du = -1;
|
|
20
|
+
_this.ap.setRawStyleProperty("text-align", "left");
|
|
21
|
+
_this.ap.setRawStyleProperty("vertical-align", "middle");
|
|
22
|
+
_this.ds = a.createElement("span");
|
|
23
|
+
_this.ds.setRawStyleProperty("display", "inline-block");
|
|
24
|
+
_this.ds.setRawStyleProperty("overflow", "hidden");
|
|
25
|
+
_this.ds.setRawStyleProperty("white-space", "nowrap");
|
|
26
|
+
_this.ds.setRawStyleProperty("text-overflow", "ellipsis");
|
|
27
|
+
_this.c7(_this.ds, 1);
|
|
28
|
+
_this.ap.append(_this.ds);
|
|
30
29
|
return _this;
|
|
31
30
|
}
|
|
32
|
-
Object.defineProperty(TextCell.prototype, "
|
|
31
|
+
Object.defineProperty(TextCell.prototype, "dt", {
|
|
33
32
|
get: function () {
|
|
34
|
-
return this.
|
|
33
|
+
return this.ds;
|
|
35
34
|
},
|
|
36
35
|
enumerable: false,
|
|
37
36
|
configurable: true
|
|
38
37
|
});
|
|
39
|
-
TextCell.prototype.
|
|
40
|
-
_super.prototype.
|
|
41
|
-
var c = Math.max(0, a - b - (this.
|
|
42
|
-
if (this.
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
38
|
+
TextCell.prototype.c8 = function (a, b) {
|
|
39
|
+
_super.prototype.c8.call(this, a, b);
|
|
40
|
+
var c = Math.max(0, a - b - (this.bb + this.bd + this.bc));
|
|
41
|
+
if (this.dv != c) {
|
|
42
|
+
this.dv = c;
|
|
43
|
+
this.ds.setRawStyleProperty("max-width", c.toString() + "px");
|
|
45
44
|
}
|
|
46
45
|
};
|
|
47
|
-
TextCell.prototype.
|
|
48
|
-
_super.prototype.
|
|
46
|
+
TextCell.prototype.cy = function (a, b) {
|
|
47
|
+
_super.prototype.cy.call(this, a, b);
|
|
49
48
|
var c = Math.max(0, a - b);
|
|
50
|
-
if (this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
49
|
+
if (this.du != c) {
|
|
50
|
+
this.du = c;
|
|
51
|
+
this.ds.setRawStyleProperty("max-height", c.toString() + "px");
|
|
53
52
|
}
|
|
54
53
|
};
|
|
55
|
-
TextCell.prototype.
|
|
54
|
+
TextCell.prototype.cx = function (a, b) {
|
|
55
|
+
_super.prototype.cx.call(this, a, b);
|
|
56
|
+
if (a == this.ds) {
|
|
57
|
+
this.ds.setRawStyleProperty("line-height", (this.be - this.bf).toString() + "px");
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
TextCell.prototype.get_ae = function () {
|
|
56
61
|
return true;
|
|
57
62
|
};
|
|
58
|
-
TextCell.prototype.
|
|
59
|
-
_super.prototype.
|
|
63
|
+
TextCell.prototype.ch = function (a, b, c) {
|
|
64
|
+
_super.prototype.ch.call(this, a, b, c);
|
|
60
65
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
61
|
-
this.
|
|
66
|
+
this.ds.setRawStyleProperty("margin-left", this.bb + this.bd + this.bc + "px");
|
|
62
67
|
}
|
|
63
68
|
};
|
|
64
69
|
TextCell.$t = markType(TextCell, 'TextCell', GridCellBase.$);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
import { markEnum } from "igniteui-angular-core";
|
|
8
|
+
/**
|
|
9
|
+
* Indicates how to decorate cell text.
|
|
10
|
+
*/
|
|
11
|
+
export var TextCellDecoration = /*@__PURE__*/ (function (TextCellDecoration) {
|
|
12
|
+
/**
|
|
13
|
+
* No decorations are applied.
|
|
14
|
+
*/
|
|
15
|
+
TextCellDecoration[TextCellDecoration["None"] = 0] = "None";
|
|
16
|
+
/**
|
|
17
|
+
* Draws a line through the middle of the text.
|
|
18
|
+
*/
|
|
19
|
+
TextCellDecoration[TextCellDecoration["Strikethrough"] = 1] = "Strikethrough";
|
|
20
|
+
/**
|
|
21
|
+
* Draws a line above the text.
|
|
22
|
+
*/
|
|
23
|
+
TextCellDecoration[TextCellDecoration["Overline"] = 2] = "Overline";
|
|
24
|
+
/**
|
|
25
|
+
* Draws a line beneath the text.
|
|
26
|
+
*/
|
|
27
|
+
TextCellDecoration[TextCellDecoration["Underline"] = 3] = "Underline";
|
|
28
|
+
return TextCellDecoration;
|
|
29
|
+
})({});
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export var TextCellDecoration_$type = markEnum('TextCellDecoration', 'None,0|Strikethrough,1|Overline,2|Underline,3');
|
|
@@ -27,27 +27,27 @@ var TextCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27
27
|
TextCellPresenter.prototype.b = function (a) {
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
|
-
if (a.
|
|
31
|
-
if (a.
|
|
32
|
-
b.
|
|
33
|
-
this.d.
|
|
30
|
+
if (a.a7) {
|
|
31
|
+
if (a.bc(TextCellModel.nw) || a.bc(TextCellModel.hz) || a.bc(TextCellModel.gv)) {
|
|
32
|
+
b.ku = this.e(b);
|
|
33
|
+
this.d.c5(this.d.dt, b.ku);
|
|
34
34
|
}
|
|
35
|
-
ContentCellModelHelper.a(this.a.
|
|
35
|
+
ContentCellModelHelper.a(this.a.ak, b, this.a.ap, this.d.dt, this.a);
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
TextCellPresenter.prototype.e = function (a) {
|
|
39
|
-
if (a.
|
|
40
|
-
return a.
|
|
39
|
+
if (a.lp != null) {
|
|
40
|
+
return a.lp;
|
|
41
41
|
}
|
|
42
|
-
if (a.
|
|
43
|
-
return a.
|
|
42
|
+
if (a.ny != null) {
|
|
43
|
+
return a.ny;
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
|
-
if (a.
|
|
46
|
+
if (a.ib == null) {
|
|
47
47
|
return "";
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
|
-
return a.
|
|
50
|
+
return a.ib.toString();
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
};
|