igniteui-angular-data-grids 20.0.1 → 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
|
@@ -813,10 +813,10 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
813
813
|
var c_1 = this.targetGrid.groupDescriptions.j;
|
|
814
814
|
var _loop_1 = function (d) {
|
|
815
815
|
var e = new GroupInfo();
|
|
816
|
-
var f = b.i(function (g) { return g.
|
|
816
|
+
var f = b.i(function (g) { return g.l5 == c_1.item(d).f; });
|
|
817
817
|
if (f != -1) {
|
|
818
|
-
if (!stringIsNullOrEmpty(b._inner[f].
|
|
819
|
-
e.c = b._inner[f].
|
|
818
|
+
if (!stringIsNullOrEmpty(b._inner[f].mc)) {
|
|
819
|
+
e.c = b._inner[f].mc;
|
|
820
820
|
}
|
|
821
821
|
else {
|
|
822
822
|
e.c = c_1.item(d).f;
|
|
@@ -850,7 +850,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
850
850
|
var h = a;
|
|
851
851
|
var i = this.targetGrid.actualColumns._inner[h.cellPath.a5];
|
|
852
852
|
var j = new ColumnGroupDescription(0);
|
|
853
|
-
j.f = i.
|
|
853
|
+
j.f = i.l5;
|
|
854
854
|
j.c = 1;
|
|
855
855
|
var k = this.targetGrid.groupDescriptions.j.contains(j);
|
|
856
856
|
j.c = 0;
|
|
@@ -1020,7 +1020,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
var j = this.b.j;
|
|
1022
1022
|
for (var k = 0; k < j.count; k++) {
|
|
1023
|
-
var l = this.q._inner[k].
|
|
1023
|
+
var l = this.q._inner[k].bg();
|
|
1024
1024
|
var m = this.b.b(j._inner[k]);
|
|
1025
1025
|
l.i = m[0] - d;
|
|
1026
1026
|
l.g = m[1] - e;
|
|
@@ -346,12 +346,12 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
346
346
|
for (var _b = __values(fromEnum(this.b.actualColumns)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
347
347
|
var c = _c.value;
|
|
348
348
|
a = new ColumnPinningInfo();
|
|
349
|
-
var d = c.
|
|
350
|
-
if (c.
|
|
351
|
-
d = c.
|
|
349
|
+
var d = c.l5;
|
|
350
|
+
if (c.mc != null) {
|
|
351
|
+
d = c.mc;
|
|
352
352
|
}
|
|
353
353
|
a.columnName = d;
|
|
354
|
-
if (c.
|
|
354
|
+
if (c.io == 1) {
|
|
355
355
|
a.isPinned = true;
|
|
356
356
|
}
|
|
357
357
|
else {
|
|
@@ -391,17 +391,17 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
391
391
|
var c = this.d.f.actualDataSource.getItemAtIndex(b.c);
|
|
392
392
|
var d = this.b.actualColumns.count;
|
|
393
393
|
for (var e = 0; e < d; e++) {
|
|
394
|
-
if (this.b.actualColumns._inner[e].
|
|
395
|
-
if (this.b.actualColumns._inner[e].
|
|
396
|
-
this.b.actualColumns._inner[e].
|
|
394
|
+
if (this.b.actualColumns._inner[e].l5 == c.columnName || this.b.actualColumns._inner[e].mw == c.columnName || this.b.actualColumns._inner[e].mc == c.columnName) {
|
|
395
|
+
if (this.b.actualColumns._inner[e].io == 0) {
|
|
396
|
+
this.b.actualColumns._inner[e].io = 1;
|
|
397
397
|
}
|
|
398
|
-
else if (this.b.actualColumns._inner[e].
|
|
399
|
-
this.b.actualColumns._inner[e].
|
|
398
|
+
else if (this.b.actualColumns._inner[e].io == 2) {
|
|
399
|
+
this.b.actualColumns._inner[e].io = 1;
|
|
400
400
|
}
|
|
401
401
|
else {
|
|
402
|
-
this.b.actualColumns._inner[e].
|
|
402
|
+
this.b.actualColumns._inner[e].io = 0;
|
|
403
403
|
}
|
|
404
|
-
this.b.actualColumns._inner[e].
|
|
404
|
+
this.b.actualColumns._inner[e].nx("Pinned");
|
|
405
405
|
break;
|
|
406
406
|
}
|
|
407
407
|
}
|
|
@@ -6,6 +6,7 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { Base, markType } from "igniteui-angular-core";
|
|
9
|
+
import { stringEmpty } from "igniteui-angular-core";
|
|
9
10
|
/**
|
|
10
11
|
* @hidden
|
|
11
12
|
*/
|
|
@@ -67,7 +68,11 @@ var ColumnSortDescription = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
67
68
|
return b.f == this.f && b.c == this.c;
|
|
68
69
|
};
|
|
69
70
|
ColumnSortDescription.prototype.getHashCode = function () {
|
|
70
|
-
|
|
71
|
+
var a = Base.getHashCodeStatic(stringEmpty());
|
|
72
|
+
if (this.f != null) {
|
|
73
|
+
a = Base.getHashCodeStatic(this.f);
|
|
74
|
+
}
|
|
75
|
+
return a * 17 + this.c;
|
|
71
76
|
};
|
|
72
77
|
ColumnSortDescription.$t = markType(ColumnSortDescription, 'ColumnSortDescription');
|
|
73
78
|
return ColumnSortDescription;
|
|
@@ -13,6 +13,7 @@ import { AverageSummaryCalculator } from "igniteui-angular-core";
|
|
|
13
13
|
import { CountSummaryCalculator } from "igniteui-angular-core";
|
|
14
14
|
import { BindingFormatter } from "igniteui-angular-core";
|
|
15
15
|
import { FormatSummaryTextEventArgs } from "./FormatSummaryTextEventArgs";
|
|
16
|
+
import { stringEmpty } from "igniteui-angular-core";
|
|
16
17
|
/**
|
|
17
18
|
* @hidden
|
|
18
19
|
*/
|
|
@@ -231,7 +232,11 @@ var ColumnSummaryDescription = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
231
232
|
return b.ah == this.ah && b.i == this.i;
|
|
232
233
|
};
|
|
233
234
|
ColumnSummaryDescription.prototype.getHashCode = function () {
|
|
234
|
-
|
|
235
|
+
var a = Base.getHashCodeStatic(stringEmpty());
|
|
236
|
+
if (this.ah != null) {
|
|
237
|
+
a = Base.getHashCodeStatic(this.ah);
|
|
238
|
+
}
|
|
239
|
+
return a * 17 + this.i;
|
|
235
240
|
};
|
|
236
241
|
ColumnSummaryDescription.prototype.o = function (a, b, c) {
|
|
237
242
|
var _this = this;
|
|
@@ -721,15 +721,15 @@ var ComparisonOperatorSelector = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
721
721
|
$ret.c = false;
|
|
722
722
|
return $ret;
|
|
723
723
|
})());
|
|
724
|
-
this.n.
|
|
725
|
-
this.n.
|
|
726
|
-
this.n.
|
|
724
|
+
this.n.ky = this.n.kz = 4;
|
|
725
|
+
this.n.k0 = this.n.kx = 0;
|
|
726
|
+
this.n.l5 = "Icon";
|
|
727
727
|
var e = this.n;
|
|
728
728
|
e.cellUpdating = delegateCombine(e.cellUpdating, runOn(this, this.el));
|
|
729
729
|
this.f.columns.add(this.n);
|
|
730
730
|
var f = new TextColumn();
|
|
731
|
-
f.
|
|
732
|
-
f.
|
|
731
|
+
f.l5 = "DisplayText";
|
|
732
|
+
f.ky = 0;
|
|
733
733
|
f.g = 0;
|
|
734
734
|
this.f.columns.add(f);
|
|
735
735
|
this.d4();
|
|
@@ -1034,12 +1034,12 @@ var ComparisonOperatorSelector = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
1034
1034
|
this.em();
|
|
1035
1035
|
};
|
|
1036
1036
|
ComparisonOperatorSelector.prototype.d9 = function (a, b) {
|
|
1037
|
-
var c = b.cellInfo.
|
|
1037
|
+
var c = b.cellInfo.fn;
|
|
1038
1038
|
this.i = this.f.actualDataSource.getItemAtIndex(c);
|
|
1039
1039
|
this.d8();
|
|
1040
1040
|
};
|
|
1041
1041
|
ComparisonOperatorSelector.prototype.el = function (a, b) {
|
|
1042
|
-
this.e.t(b.content, b.cellInfo.
|
|
1042
|
+
this.e.t(b.content, b.cellInfo.ic);
|
|
1043
1043
|
};
|
|
1044
1044
|
ComparisonOperatorSelector.$t = markType(ComparisonOperatorSelector, 'ComparisonOperatorSelector', Base.$, [INotifyPropertyChanged_$type]);
|
|
1045
1045
|
ComparisonOperatorSelector.dw = "M 8 5 A 7 7 0 1 0 15 12 A 7 7 0 0 0 8 5 z M 18 7 A 5 5 0 0 0 15 8.0605469 A 7.48 7.48 0 0 1 15.490234 9.0605469 A 3.89 3.89 0 1 1 15.490234 14.880859 A 8.08 8.08 0 0 1 15 15.880859 A 5 5 0 1 0 18 7 z M 11.179688 8.8203125 L 12.310547 9.9394531 L 7.0703125 15.179688 L 3.6894531 11.810547 L 4.8203125 10.689453 L 7.0703125 12.939453 L 11.179688 8.8203125 z M 16.560547 9.7792969 L 15.779297 10.560547 L 17.210938 12 L 15.779297 13.439453 L 16.560547 14.220703 L 18 12.789062 L 19.439453 14.220703 L 20.220703 13.439453 L 18.789062 12 L 20.220703 10.560547 L 19.439453 9.7792969 L 18 11.210938 L 16.560547 9.7792969 z ";
|
|
@@ -8,7 +8,6 @@ import { __extends } from "tslib";
|
|
|
8
8
|
import { Base, markType } from "igniteui-angular-core";
|
|
9
9
|
import { Color } from "igniteui-angular-core";
|
|
10
10
|
import { CellModel } from "./CellModel";
|
|
11
|
-
import { FontUtil } from "igniteui-angular-core";
|
|
12
11
|
/**
|
|
13
12
|
* @hidden
|
|
14
13
|
*/
|
|
@@ -23,7 +22,7 @@ var ContentCellModelHelper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
23
22
|
}
|
|
24
23
|
return a.color;
|
|
25
24
|
};
|
|
26
|
-
ContentCellModelHelper.
|
|
25
|
+
ContentCellModelHelper.b = function (a, b, c) {
|
|
27
26
|
switch (c) {
|
|
28
27
|
case 0:
|
|
29
28
|
a.setRawStyleProperty("text-align", "left");
|
|
@@ -56,23 +55,23 @@ var ContentCellModelHelper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
56
55
|
}
|
|
57
56
|
};
|
|
58
57
|
ContentCellModelHelper.a = function (a, b, c, d, e) {
|
|
59
|
-
if (b.
|
|
60
|
-
if (b.
|
|
61
|
-
var f = Math.min(1, Math.max(0, b.
|
|
62
|
-
var g = b.
|
|
58
|
+
if (b.a7) {
|
|
59
|
+
if (b.bc(CellModel.fm) || b.bc(CellModel.es) || b.bc(CellModel.h1) || b.bb("IsRowPinned") || b.bb("IsRowSticky") || b.bb("PinnedRowOpacity")) {
|
|
60
|
+
var f = Math.min(1, Math.max(0, b.c5));
|
|
61
|
+
var g = b.co * (1 - f);
|
|
63
62
|
d.setRawStyleProperty("opacity", g.toString());
|
|
64
|
-
if (b.
|
|
65
|
-
e.
|
|
63
|
+
if (b.bm) {
|
|
64
|
+
e.dh(b.co * f);
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
|
-
if (b.
|
|
69
|
-
ContentCellModelHelper.
|
|
70
|
-
if (b.
|
|
71
|
-
e.
|
|
67
|
+
if (b.bc(CellModel.e3)) {
|
|
68
|
+
ContentCellModelHelper.c(d, b.na);
|
|
69
|
+
if (b.bm) {
|
|
70
|
+
e.de(b.na);
|
|
72
71
|
}
|
|
73
72
|
}
|
|
74
|
-
if (b.
|
|
75
|
-
switch (b.
|
|
73
|
+
if (b.bc(CellModel.gs)) {
|
|
74
|
+
switch (b.ac) {
|
|
76
75
|
case 0:
|
|
77
76
|
d.setRawStyleProperty("white-space", "nowrap");
|
|
78
77
|
d.setRawStyleProperty("text-overflow", "ellipsis");
|
|
@@ -88,44 +87,58 @@ var ContentCellModelHelper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
88
87
|
break;
|
|
89
88
|
}
|
|
90
89
|
}
|
|
91
|
-
if (b.
|
|
90
|
+
if (b.bb("TextDecorations")) {
|
|
91
|
+
ContentCellModelHelper.d(d, b.aa);
|
|
92
|
+
}
|
|
93
|
+
if (b.bc(CellModel.f8) || b.bc(CellModel.h0)) {
|
|
92
94
|
var h = b.g;
|
|
93
95
|
var i = b.i;
|
|
94
|
-
ContentCellModelHelper.
|
|
95
|
-
e.
|
|
96
|
+
ContentCellModelHelper.b(c, d, h);
|
|
97
|
+
e.cf(c, d, h);
|
|
96
98
|
ContentCellModelHelper.e(c, d, i);
|
|
97
|
-
|
|
98
|
-
|
|
99
|
+
e.cl(i);
|
|
100
|
+
if (b.bm) {
|
|
101
|
+
e.dd(h, i);
|
|
99
102
|
}
|
|
100
103
|
}
|
|
101
|
-
if (b.
|
|
102
|
-
|
|
104
|
+
if (b.bb("ActualFontInfo")) {
|
|
105
|
+
e.cx(d, b.ah);
|
|
103
106
|
}
|
|
104
|
-
if (b.
|
|
105
|
-
if (b.
|
|
106
|
-
if (b.
|
|
107
|
+
if (b.bb("IsEdited") || b.bb("IsDeleted")) {
|
|
108
|
+
if (b.bd || b.ba) {
|
|
109
|
+
if (b.ba) {
|
|
107
110
|
d.setRawStyleProperty("text-decoration", "line-through");
|
|
108
111
|
}
|
|
109
112
|
else {
|
|
110
|
-
d
|
|
113
|
+
ContentCellModelHelper.d(d, b.aa);
|
|
111
114
|
}
|
|
112
115
|
}
|
|
113
116
|
else {
|
|
114
|
-
d
|
|
117
|
+
ContentCellModelHelper.d(d, b.aa);
|
|
115
118
|
}
|
|
116
119
|
}
|
|
117
120
|
}
|
|
118
121
|
};
|
|
119
|
-
ContentCellModelHelper.
|
|
120
|
-
if (c == null) {
|
|
121
|
-
c = FontUtil.getDefaultFont(a);
|
|
122
|
-
}
|
|
123
|
-
b.setRawStyleProperty("font", c.fontString);
|
|
124
|
-
};
|
|
125
|
-
ContentCellModelHelper.d = function (a, b) {
|
|
122
|
+
ContentCellModelHelper.c = function (a, b) {
|
|
126
123
|
var c = ContentCellModelHelper.g(b);
|
|
127
124
|
a.setRawStyleProperty("color", c.colorString);
|
|
128
125
|
};
|
|
126
|
+
ContentCellModelHelper.d = function (a, b) {
|
|
127
|
+
switch (b) {
|
|
128
|
+
case 1:
|
|
129
|
+
a.setRawStyleProperty("text-decoration", "line-through");
|
|
130
|
+
break;
|
|
131
|
+
case 2:
|
|
132
|
+
a.setRawStyleProperty("text-decoration", "overline");
|
|
133
|
+
break;
|
|
134
|
+
case 3:
|
|
135
|
+
a.setRawStyleProperty("text-decoration", "underline");
|
|
136
|
+
break;
|
|
137
|
+
case 0:
|
|
138
|
+
a.setRawStyleProperty("text-decoration", "none");
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
};
|
|
129
142
|
ContentCellModelHelper.$t = markType(ContentCellModelHelper, 'ContentCellModelHelper');
|
|
130
143
|
ContentCellModelHelper.f = Color.u(0, 0, 0, 0);
|
|
131
144
|
return ContentCellModelHelper;
|
|
@@ -112,7 +112,7 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
112
112
|
var c = b.nativeCell.ah = false;
|
|
113
113
|
}
|
|
114
114
|
else {
|
|
115
|
-
var d = b.nativeCell.
|
|
115
|
+
var d = b.nativeCell.ap;
|
|
116
116
|
d.setRawStyleProperty("top", "-1000px");
|
|
117
117
|
d.setRawStyleProperty("left", "-1000px");
|
|
118
118
|
if (a.l.d != 0) {
|
|
@@ -213,10 +213,10 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
213
213
|
else {
|
|
214
214
|
p = true;
|
|
215
215
|
}
|
|
216
|
-
if (v.
|
|
216
|
+
if (v.bl) {
|
|
217
217
|
m = true;
|
|
218
218
|
}
|
|
219
|
-
if (v.u == 1 && v.
|
|
219
|
+
if (v.u == 1 && v.h6 != n) {
|
|
220
220
|
m = true;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
@@ -257,7 +257,7 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
257
257
|
var ai = ag.isCanvasBased;
|
|
258
258
|
var aj = null;
|
|
259
259
|
if (!ai) {
|
|
260
|
-
aj = ag.nativeCell.
|
|
260
|
+
aj = ag.nativeCell.ap;
|
|
261
261
|
if (af.u == 0) {
|
|
262
262
|
this.element.append(aj);
|
|
263
263
|
ag.nativeCell.isRemoved = false;
|
|
@@ -272,19 +272,19 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
272
272
|
ag.nativeCell.isRemoved = false;
|
|
273
273
|
}
|
|
274
274
|
af.u = 2;
|
|
275
|
-
var al = (af.
|
|
276
|
-
var am = (af.
|
|
275
|
+
var al = (af.hc + intDivide(af.h2, 2));
|
|
276
|
+
var am = (af.he + intDivide(af.f6, 2));
|
|
277
277
|
var an = (al - b) / this.f.actualVisibleRegion.width;
|
|
278
278
|
var ao = (am - a) / this.f.actualVisibleRegion.height;
|
|
279
|
-
if (af.
|
|
279
|
+
if (af.bn) {
|
|
280
280
|
if (!ai) {
|
|
281
|
-
aj.setRawPosition(af.
|
|
281
|
+
aj.setRawPosition(af.c6, af.c7);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
if (!ai) {
|
|
285
285
|
if (af.l.d != 0) {
|
|
286
286
|
if (this.f.b2) {
|
|
287
|
-
aj.setRawStyleProperty("clip", this.w(af.l.d, af.
|
|
287
|
+
aj.setRawStyleProperty("clip", this.w(af.l.d, af.c6, af.c7));
|
|
288
288
|
}
|
|
289
289
|
else {
|
|
290
290
|
aj.setRawStyleProperty("clip", "auto");
|
|
@@ -294,15 +294,15 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
294
294
|
aj.setRawStyleProperty("clip", this.y(af));
|
|
295
295
|
}
|
|
296
296
|
else {
|
|
297
|
-
if (Rect.l_op_Inequality(af.
|
|
298
|
-
aj.setRawStyleProperty("clip", this.x(af.
|
|
297
|
+
if (Rect.l_op_Inequality(af.nv, Rect.empty)) {
|
|
298
|
+
aj.setRawStyleProperty("clip", this.x(af.nv));
|
|
299
299
|
}
|
|
300
300
|
else {
|
|
301
301
|
aj.setRawStyleProperty("clip", "auto");
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
af.
|
|
305
|
+
af.l5();
|
|
306
306
|
if (ai) {
|
|
307
307
|
var ap = af.s.nativeCell;
|
|
308
308
|
ap.co(z);
|
|
@@ -312,15 +312,15 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
312
312
|
var aq = y.a;
|
|
313
313
|
aq.aa();
|
|
314
314
|
if (af.l.d != 0 && this.f.b2) {
|
|
315
|
-
aq.
|
|
315
|
+
aq.ag(this.ax(af.l.d));
|
|
316
316
|
}
|
|
317
317
|
var ar = af.s.nativeCell;
|
|
318
|
-
ar.b6(aq, y.c, y.d, af.
|
|
318
|
+
ar.b6(aq, y.c, y.d, af.c6, af.c7, z);
|
|
319
319
|
aq.z();
|
|
320
320
|
}
|
|
321
|
-
af.
|
|
321
|
+
af.ly();
|
|
322
322
|
if (m) {
|
|
323
|
-
af.
|
|
323
|
+
af.h6 = n;
|
|
324
324
|
if (!ai) {
|
|
325
325
|
aj.setRawStyleProperty("z-index", x.toString());
|
|
326
326
|
}
|
|
@@ -542,10 +542,10 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
542
542
|
return stringFormat1("rect({0}px, {1}px, {2}px, {3}px)", a.top, a.right, a.bottom, a.left);
|
|
543
543
|
};
|
|
544
544
|
DataGridCellLayoutPanel.prototype.y = function (a) {
|
|
545
|
-
var b = a.
|
|
545
|
+
var b = a.c6 < this.g.cn ? this.g.cn - a.c6 : 0;
|
|
546
546
|
var c = 0;
|
|
547
|
-
var d = this.g.cy == -1 ? a.
|
|
548
|
-
var e = a.
|
|
547
|
+
var d = this.g.cy == -1 ? a.h2 : (a.c6 + a.h2 > this.g.co) ? a.h2 - (a.c6 + a.h2 - this.g.co) : a.h2;
|
|
548
|
+
var e = a.f6;
|
|
549
549
|
return this.x(new Rect(0, b, c, d, e));
|
|
550
550
|
};
|
|
551
551
|
DataGridCellLayoutPanel.prototype.ah = function (a, b) {
|
|
@@ -19,49 +19,49 @@ var DataGridScrollerKeyboardListener = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
19
19
|
return _this;
|
|
20
20
|
}
|
|
21
21
|
DataGridScrollerKeyboardListener.prototype.onDownArrow = function (a, b) {
|
|
22
|
-
return this.a.
|
|
22
|
+
return this.a.kl(a, b);
|
|
23
23
|
};
|
|
24
24
|
DataGridScrollerKeyboardListener.prototype.onEnd = function (a, b) {
|
|
25
|
-
return this.a.
|
|
25
|
+
return this.a.km(a, b);
|
|
26
26
|
};
|
|
27
27
|
DataGridScrollerKeyboardListener.prototype.onHome = function (a, b) {
|
|
28
|
-
return this.a.
|
|
28
|
+
return this.a.kq(a, b);
|
|
29
29
|
};
|
|
30
30
|
DataGridScrollerKeyboardListener.prototype.onLeftArrow = function (a, b) {
|
|
31
|
-
return this.a.
|
|
31
|
+
return this.a.ks(a, b);
|
|
32
32
|
};
|
|
33
33
|
DataGridScrollerKeyboardListener.prototype.onPageDown = function (a, b) {
|
|
34
|
-
return this.a.
|
|
34
|
+
return this.a.kt(a, b);
|
|
35
35
|
};
|
|
36
36
|
DataGridScrollerKeyboardListener.prototype.onPageUp = function (a, b) {
|
|
37
|
-
return this.a.
|
|
37
|
+
return this.a.ku(a, b);
|
|
38
38
|
};
|
|
39
39
|
DataGridScrollerKeyboardListener.prototype.onRightArrow = function (a, b) {
|
|
40
|
-
return this.a.
|
|
40
|
+
return this.a.kv(a, b);
|
|
41
41
|
};
|
|
42
42
|
DataGridScrollerKeyboardListener.prototype.onTab = function (a, b) {
|
|
43
|
-
return this.a.
|
|
43
|
+
return this.a.kx(a, b);
|
|
44
44
|
};
|
|
45
45
|
DataGridScrollerKeyboardListener.prototype.onUpArrow = function (a, b) {
|
|
46
|
-
return this.a.
|
|
46
|
+
return this.a.ky(a, b);
|
|
47
47
|
};
|
|
48
48
|
DataGridScrollerKeyboardListener.prototype.onWheel = function () {
|
|
49
|
-
this.a.
|
|
49
|
+
this.a.xo();
|
|
50
50
|
};
|
|
51
51
|
DataGridScrollerKeyboardListener.prototype.onEnter = function (a, b) {
|
|
52
|
-
return this.a.
|
|
52
|
+
return this.a.kn(a, b);
|
|
53
53
|
};
|
|
54
54
|
DataGridScrollerKeyboardListener.prototype.onEscape = function () {
|
|
55
|
-
return this.a.
|
|
55
|
+
return this.a.ko();
|
|
56
56
|
};
|
|
57
57
|
DataGridScrollerKeyboardListener.prototype.onF2 = function () {
|
|
58
|
-
return this.a.
|
|
58
|
+
return this.a.kp();
|
|
59
59
|
};
|
|
60
60
|
DataGridScrollerKeyboardListener.prototype.onSpace = function (a, b) {
|
|
61
|
-
return this.a.
|
|
61
|
+
return this.a.kw(a, b);
|
|
62
62
|
};
|
|
63
63
|
DataGridScrollerKeyboardListener.prototype.onKeyDown = function (a, b, c) {
|
|
64
|
-
return this.a.
|
|
64
|
+
return this.a.kr(a, b, c);
|
|
65
65
|
};
|
|
66
66
|
DataGridScrollerKeyboardListener.$t = markType(DataGridScrollerKeyboardListener, 'DataGridScrollerKeyboardListener', Base.$, [IScrollerKeyboardListener_$type]);
|
|
67
67
|
return DataGridScrollerKeyboardListener;
|
|
@@ -811,10 +811,10 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
811
811
|
this.s = 0;
|
|
812
812
|
this.t = 0;
|
|
813
813
|
for (var b = 0; b < a; b++) {
|
|
814
|
-
if (this.e.actualColumns._inner[b].
|
|
814
|
+
if (this.e.actualColumns._inner[b].ju == true) {
|
|
815
815
|
this.s++;
|
|
816
816
|
}
|
|
817
|
-
if (this.e.actualColumns._inner[b].
|
|
817
|
+
if (this.e.actualColumns._inner[b].io == 1) {
|
|
818
818
|
this.t++;
|
|
819
819
|
}
|
|
820
820
|
}
|
|
@@ -28,23 +28,23 @@ var DateTimeCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28
28
|
DateTimeCellPresenter.prototype.b = function (a) {
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
|
-
if (a.
|
|
32
|
-
if (a.
|
|
31
|
+
if (a.a7) {
|
|
32
|
+
if (a.bc(DateTimeCellModel.n8) || a.bc(DateTimeCellModel.n9) || a.bc(DateTimeCellModel.n7) || a.bc(DateTimeCellModel.gv) || a.bc(DateTimeCellModel.hz)) {
|
|
33
33
|
this.e(b);
|
|
34
|
-
this.d.
|
|
34
|
+
this.d.c5(this.d.dt, b.ku);
|
|
35
35
|
}
|
|
36
|
-
ContentCellModelHelper.a(this.a.
|
|
36
|
+
ContentCellModelHelper.a(this.a.ak, b, this.a.ap, this.d.dt, this.a);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
DateTimeCellPresenter.prototype.e = function (a) {
|
|
40
|
-
if (a.
|
|
41
|
-
a.
|
|
40
|
+
if (a.lp != null) {
|
|
41
|
+
a.ku = a.lp;
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
a.
|
|
45
|
-
if (a.
|
|
46
|
-
if (a.
|
|
47
|
-
a.
|
|
44
|
+
a.ku = a.ok(a.n6);
|
|
45
|
+
if (a.ku == stringEmpty()) {
|
|
46
|
+
if (a.ib != null && !(typeCast(Date_$type, a.ib) !== null)) {
|
|
47
|
+
a.ku = a.ib.toString();
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
};
|