igniteui-webcomponents-data-grids 6.0.1 → 6.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-webcomponents-data-grids.umd.js +12298 -10495
- package/bundles/igniteui-webcomponents-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 +8409 -7998
- 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 +308 -308
- 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 +11 -11
- 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 +326 -205
- 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 +8 -8
- 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/TextIconSetConditionalStyle.js +14 -9
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igc-cell-info.js +301 -190
- package/esm2015/lib/igc-column-moving-separator-component.js +9 -9
- package/esm2015/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +284 -160
- package/esm2015/lib/igc-data-grid-component.js +64 -4
- package/esm2015/lib/igc-date-time-cell-info.js +12 -12
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-definition-base-component.js +66 -65
- package/esm2015/lib/igc-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
- package/esm2015/lib/igc-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm2015/lib/igc-grid-conditional-style-font-info-component.js +214 -0
- package/esm2015/lib/igc-grid-conditional-style-font-info-module.js +16 -0
- package/esm2015/lib/igc-grid-conditional-style-property-component.js +101 -35
- package/esm2015/lib/igc-header-component.js +24 -24
- package/esm2015/lib/igc-image-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-cell-info.js +26 -26
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-component.js +24 -24
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-summary-row-component.js +24 -24
- package/esm2015/lib/igc-template-cell-info.js +2 -2
- package/esm2015/lib/igc-template-header-cell-info.js +2 -2
- package/esm2015/lib/igc-text-cell-info.js +2 -2
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-text-header-cell-info.js +10 -10
- package/esm2015/public_api.js +4 -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 +8205 -7695
- 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 +11 -11
- 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 +343 -194
- 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 +8 -8
- 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/TextIconSetConditionalStyle.js +14 -9
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igc-cell-info.js +349 -190
- package/esm5/lib/igc-column-moving-separator-component.js +9 -9
- package/esm5/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +332 -160
- package/esm5/lib/igc-data-grid-component.js +68 -4
- package/esm5/lib/igc-date-time-cell-info.js +12 -12
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-definition-base-component.js +66 -65
- package/esm5/lib/igc-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- package/esm5/lib/igc-filter-row-definition-component.js +12 -12
- package/esm5/lib/igc-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm5/lib/igc-grid-conditional-style-font-info-component.js +232 -0
- package/esm5/lib/igc-grid-conditional-style-font-info-module.js +20 -0
- package/esm5/lib/igc-grid-conditional-style-property-component.js +128 -34
- package/esm5/lib/igc-header-component.js +24 -24
- package/esm5/lib/igc-image-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-cell-info.js +26 -26
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-component.js +24 -24
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-summary-row-component.js +24 -24
- package/esm5/lib/igc-template-cell-info.js +2 -2
- package/esm5/lib/igc-template-header-cell-info.js +2 -2
- package/esm5/lib/igc-text-cell-info.js +2 -2
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-header-cell-info.js +10 -10
- package/esm5/public_api.js +4 -0
- package/fesm2015/igniteui-webcomponents-data-grids.js +12290 -10806
- package/fesm5/igniteui-webcomponents-data-grids.js +12295 -10497
- package/lib/ColumnFilterCondition_combined.d.ts +1999 -1901
- 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/GridConditionalStyleProperty.d.ts +84 -61
- 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/igc-cell-info.d.ts +58 -0
- package/lib/igc-data-grid-column-component.d.ts +62 -1
- package/lib/igc-data-grid-component.d.ts +15 -1
- package/lib/igc-definition-base-component.d.ts +1 -1
- package/lib/igc-grid-conditional-style-font-info-component.d.ts +44 -0
- package/lib/igc-grid-conditional-style-font-info-module.d.ts +3 -0
- package/lib/igc-grid-conditional-style-property-component.d.ts +17 -2
- package/package.json +4 -4
- package/public_api.d.ts +4 -0
|
@@ -25,28 +25,28 @@ var CanvasCellPresenterBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25
25
|
};
|
|
26
26
|
CanvasCellPresenterBase.prototype.b = function (a) {
|
|
27
27
|
this.a.cf(a.c);
|
|
28
|
-
if (a.
|
|
29
|
-
this.a.cn(a.
|
|
28
|
+
if (a.bc(CellModel.ey) || a.bc(CellModel.e2) || a.bc(CellModel.e0) || a.bc(CellModel.ew)) {
|
|
29
|
+
this.a.cn(a.ex, a.e1, a.ez, a.ev);
|
|
30
30
|
}
|
|
31
|
-
if (a.
|
|
32
|
-
this.a.ch(a.
|
|
31
|
+
if (a.a5) {
|
|
32
|
+
this.a.ch(a.m9, a.el, a.eq, a.eo, a.ej);
|
|
33
33
|
}
|
|
34
|
-
if (a.
|
|
35
|
-
this.a.ck(a.
|
|
36
|
-
this.a.cu(a.
|
|
34
|
+
if (a.bs) {
|
|
35
|
+
this.a.ck(a.f6);
|
|
36
|
+
this.a.cu(a.h2);
|
|
37
37
|
}
|
|
38
|
-
if (a.
|
|
39
|
-
if (a.
|
|
38
|
+
if (a.a7) {
|
|
39
|
+
if (a.bm && !this.a.z) {
|
|
40
40
|
this.a.b5();
|
|
41
41
|
}
|
|
42
|
-
if (a.
|
|
43
|
-
this.a.cg(a.
|
|
42
|
+
if (a.bc(CellModel.ei)) {
|
|
43
|
+
this.a.cg(a.m8.color);
|
|
44
44
|
}
|
|
45
|
-
if (a.
|
|
46
|
-
this.a.cm(a.
|
|
45
|
+
if (a.bc(CellModel.eu)) {
|
|
46
|
+
this.a.cm(a.cp);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
if (a.
|
|
49
|
+
if (a.bs && a.bm) {
|
|
50
50
|
this.a.cx(a);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
@@ -24,38 +24,38 @@ var CanvasContentCellModelHelper = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
24
24
|
return a.color;
|
|
25
25
|
};
|
|
26
26
|
CanvasContentCellModelHelper.a = function (a, b, c) {
|
|
27
|
-
if (b.
|
|
28
|
-
if (b.
|
|
29
|
-
var d = Math.min(1, Math.max(0, b.
|
|
30
|
-
var e = b.
|
|
27
|
+
if (b.a7) {
|
|
28
|
+
if (b.bc(CellModel.fm) || b.bc(CellModel.es) || b.bc(CellModel.h1) || b.bb("IsRowPinned") || b.bb("IsRowSticky") || b.bb("PinnedRowOpacity")) {
|
|
29
|
+
var d = Math.min(1, Math.max(0, b.c5));
|
|
30
|
+
var e = b.co * (1 - d);
|
|
31
31
|
c.ci(e);
|
|
32
|
-
if (b.
|
|
33
|
-
c.cy(b.
|
|
32
|
+
if (b.bm) {
|
|
33
|
+
c.cy(b.co * d);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
if (b.
|
|
37
|
-
CanvasContentCellModelHelper.c(c, b.
|
|
38
|
-
if (b.
|
|
39
|
-
c.cw(b.
|
|
36
|
+
if (b.bc(CellModel.e3)) {
|
|
37
|
+
CanvasContentCellModelHelper.c(c, b.na);
|
|
38
|
+
if (b.bm) {
|
|
39
|
+
c.cw(b.na);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
if (b.
|
|
42
|
+
if (b.bc(CellModel.gs)) {
|
|
43
43
|
}
|
|
44
|
-
if (b.
|
|
44
|
+
if (b.bc(CellModel.f8) || b.bc(CellModel.h0)) {
|
|
45
45
|
var f = b.g;
|
|
46
46
|
var g = b.i;
|
|
47
47
|
c.cl(f);
|
|
48
48
|
c.ct(g);
|
|
49
|
-
if (b.
|
|
49
|
+
if (b.bm) {
|
|
50
50
|
c.cv(f, g);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
if (b.
|
|
54
|
-
CanvasContentCellModelHelper.b(a, c, b.
|
|
53
|
+
if (b.bb("ActualFontInfo")) {
|
|
54
|
+
CanvasContentCellModelHelper.b(a, c, b.aj);
|
|
55
55
|
}
|
|
56
|
-
if (b.
|
|
57
|
-
if (b.
|
|
58
|
-
if (b.
|
|
56
|
+
if (b.bb("IsEdited") || b.bb("IsDeleted")) {
|
|
57
|
+
if (b.bd || b.ba) {
|
|
58
|
+
if (b.ba) {
|
|
59
59
|
c.cq(true);
|
|
60
60
|
}
|
|
61
61
|
else {
|
|
@@ -28,23 +28,23 @@ var CanvasDateTimeCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
28
28
|
CanvasDateTimeCellPresenter.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.cr(b.
|
|
34
|
+
this.d.cr(b.ku);
|
|
35
35
|
}
|
|
36
36
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
CanvasDateTimeCellPresenter.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 (!(typeCast(Date_$type, a.
|
|
47
|
-
a.
|
|
44
|
+
a.ku = a.ok(a.n6);
|
|
45
|
+
if (a.ku == stringEmpty()) {
|
|
46
|
+
if (!(typeCast(Date_$type, a.ib) !== null)) {
|
|
47
|
+
a.ku = a.ib.toString();
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
};
|
|
@@ -305,7 +305,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
305
305
|
return;
|
|
306
306
|
}
|
|
307
307
|
if (this.b2 != 1) {
|
|
308
|
-
a.
|
|
308
|
+
a.af(this.b2);
|
|
309
309
|
}
|
|
310
310
|
var j = this.m;
|
|
311
311
|
if (!this.y) {
|
|
@@ -321,7 +321,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
321
321
|
if (this.s || this.x || (this.i != null && this.i.j != this.bu)) {
|
|
322
322
|
this.s = false;
|
|
323
323
|
this.bu = this.i.j;
|
|
324
|
-
j.
|
|
324
|
+
j.ae(this.i);
|
|
325
325
|
}
|
|
326
326
|
if (f != 1) {
|
|
327
327
|
j.aa();
|
|
@@ -331,7 +331,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
331
331
|
j.aa();
|
|
332
332
|
var k = Math.round((d - b));
|
|
333
333
|
var l = Math.round((e - c));
|
|
334
|
-
j.
|
|
334
|
+
j.ah(k, l);
|
|
335
335
|
}
|
|
336
336
|
if (g) {
|
|
337
337
|
this.cb(j);
|
|
@@ -357,7 +357,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
if (this.b2 != 1) {
|
|
360
|
-
a.
|
|
360
|
+
a.af(1);
|
|
361
361
|
}
|
|
362
362
|
};
|
|
363
363
|
CanvasGridCellBase.prototype.bx = function () {
|
|
@@ -625,14 +625,14 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
625
625
|
}
|
|
626
626
|
this.r = true;
|
|
627
627
|
var b = DeviceUtils.f(12);
|
|
628
|
-
if (a.
|
|
629
|
-
b = a.
|
|
628
|
+
if (a.aj != null && !isNaN_(a.aj.f)) {
|
|
629
|
+
b = a.aj.f;
|
|
630
630
|
}
|
|
631
631
|
if (this.a1 != b) {
|
|
632
632
|
this.a1 = b;
|
|
633
633
|
}
|
|
634
|
-
var c = a.
|
|
635
|
-
var d = a.
|
|
634
|
+
var c = a.h2 * 0.2;
|
|
635
|
+
var d = a.f6 * 0.6;
|
|
636
636
|
if (this.a2 >= c && this.a2 <= d) {
|
|
637
637
|
return;
|
|
638
638
|
}
|
|
@@ -683,7 +683,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
683
683
|
if (this.s || (this.i != null && this.i.j != this.bu)) {
|
|
684
684
|
this.s = false;
|
|
685
685
|
this.bu = this.i.j;
|
|
686
|
-
a.
|
|
686
|
+
a.ae(this.i);
|
|
687
687
|
}
|
|
688
688
|
var b;
|
|
689
689
|
if (this.h != this.i || this.bw != this.i.j) {
|
|
@@ -28,24 +28,24 @@ var CanvasImageCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28
28
|
CanvasImageCellPresenter.prototype.b = function (a) {
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
|
-
if (a.
|
|
32
|
-
if (a.
|
|
33
|
-
var c = Math.min(1, Math.max(0, a.
|
|
34
|
-
var d = a.
|
|
31
|
+
if (a.a7) {
|
|
32
|
+
if (a.bc(CellModel.fm) || a.bc(CellModel.h1)) {
|
|
33
|
+
var c = Math.min(1, Math.max(0, a.c5));
|
|
34
|
+
var d = a.cr * (1 - c);
|
|
35
35
|
this.d.dd = d;
|
|
36
36
|
}
|
|
37
|
-
if (b.
|
|
38
|
-
this.e(b.
|
|
37
|
+
if (b.bc(ImageCellModel.n0) || b.bc(ImageCellModel.n1)) {
|
|
38
|
+
this.e(b.n4, b.nx);
|
|
39
39
|
}
|
|
40
|
-
if (b.
|
|
41
|
-
this.f(b.
|
|
40
|
+
if (b.bc(ImageCellModel.n2) || b.bc(ImageCellModel.f8) || b.bc(ImageCellModel.h0)) {
|
|
41
|
+
this.f(b.nz, b.g, b.i);
|
|
42
42
|
}
|
|
43
|
-
if (b.
|
|
43
|
+
if (b.bc(ImageCellModel.hi)) {
|
|
44
44
|
if (a.u == 1) {
|
|
45
45
|
this.d.dg();
|
|
46
46
|
}
|
|
47
47
|
else if (a.u == 2) {
|
|
48
|
-
this.e(b.
|
|
48
|
+
this.e(b.n4, b.nx);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -28,21 +28,21 @@ var CanvasNumericCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
28
28
|
CanvasNumericCellPresenter.prototype.b = function (a) {
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
|
-
if (a.
|
|
32
|
-
if (a.
|
|
33
|
-
b.
|
|
34
|
-
this.d.cr(b.
|
|
31
|
+
if (a.a7) {
|
|
32
|
+
if (a.bc(NumericCellModel.ol) || a.bc(NumericCellModel.n9) || a.bc(NumericCellModel.hz) || b.n2()) {
|
|
33
|
+
b.ku = this.e(b);
|
|
34
|
+
this.d.cr(b.ku);
|
|
35
35
|
}
|
|
36
36
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
CanvasNumericCellPresenter.prototype.e = function (a) {
|
|
40
|
-
if (a.
|
|
41
|
-
return a.
|
|
40
|
+
if (a.lp != null) {
|
|
41
|
+
return a.lp;
|
|
42
42
|
}
|
|
43
|
-
if (a.
|
|
44
|
-
var val_ = a.
|
|
45
|
-
var override_ = a.
|
|
43
|
+
if (a.or != null) {
|
|
44
|
+
var val_ = a.n5;
|
|
45
|
+
var override_ = a.or;
|
|
46
46
|
return (override_.format(val_));
|
|
47
47
|
}
|
|
48
48
|
return NumericCellFormatter.c(a);
|
|
@@ -27,25 +27,25 @@ var CanvasSectionHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
27
27
|
CanvasSectionHeaderCellPresenter.prototype.b = function (a) {
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
|
-
if (a.
|
|
31
|
-
if (a.
|
|
32
|
-
if (b.
|
|
33
|
-
if (b.
|
|
34
|
-
b.
|
|
30
|
+
if (a.a7) {
|
|
31
|
+
if (a.bc(SectionHeaderCellModel.n2) || a.bc(SectionHeaderCellModel.n4)) {
|
|
32
|
+
if (b.ny == null || (b.ny.length == 0 && b.oc == null)) {
|
|
33
|
+
if (b.ib == null) {
|
|
34
|
+
b.ku = "";
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
37
|
-
b.
|
|
37
|
+
b.ku = b.ib.toString();
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
if (b.
|
|
42
|
-
b.
|
|
41
|
+
if (b.oa != null && b.n1 == 0) {
|
|
42
|
+
b.ku = b.oc + " " + b.oa;
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
|
-
b.
|
|
45
|
+
b.ku = b.oc;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
this.d.cr(b.
|
|
48
|
+
this.d.cr(b.ku);
|
|
49
49
|
}
|
|
50
50
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
51
51
|
}
|
|
@@ -66,7 +66,7 @@ var CanvasSummaryCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
66
66
|
if (this.db || (this.da != null && this.da.j != this.dh)) {
|
|
67
67
|
this.db = false;
|
|
68
68
|
this.dh = this.da.j;
|
|
69
|
-
a.
|
|
69
|
+
a.ae(this.da);
|
|
70
70
|
this.dd = FontUtil.getCurrentFontHeight(this.bq, this.da);
|
|
71
71
|
}
|
|
72
72
|
var b = this.bo;
|
|
@@ -26,17 +26,17 @@ var CanvasSummaryCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
26
26
|
CanvasSummaryCellPresenter.prototype.b = function (a) {
|
|
27
27
|
_super.prototype.b.call(this, a);
|
|
28
28
|
var b = a;
|
|
29
|
-
if (a.
|
|
30
|
-
if (a.
|
|
31
|
-
this.d.dj(b.
|
|
32
|
-
this.d.cr(b.
|
|
29
|
+
if (a.a7) {
|
|
30
|
+
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
31
|
+
this.d.dj(b.n4);
|
|
32
|
+
this.d.cr(b.n6);
|
|
33
33
|
}
|
|
34
|
-
if (a.
|
|
35
|
-
var c = CanvasContentCellModelHelper.e(b.
|
|
34
|
+
if (a.bb("SummaryLabelTextColor")) {
|
|
35
|
+
var c = CanvasContentCellModelHelper.e(b.ob);
|
|
36
36
|
this.d.dk(c);
|
|
37
37
|
}
|
|
38
|
-
if (a.
|
|
39
|
-
this.d.dl(b.
|
|
38
|
+
if (a.bb("FontInfo")) {
|
|
39
|
+
this.d.dl(b.aj);
|
|
40
40
|
}
|
|
41
41
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
42
42
|
}
|
|
@@ -30,13 +30,13 @@ var CanvasTemplateCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
30
30
|
_super.prototype.b.call(this, a);
|
|
31
31
|
var b = a;
|
|
32
32
|
var c = this.e.actualColumns._inner[a.l.a5];
|
|
33
|
-
if (a.
|
|
34
|
-
var d = Math.min(1, Math.max(0, a.
|
|
35
|
-
var e = a.
|
|
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
36
|
this.d.db.opacity = e;
|
|
37
37
|
}
|
|
38
38
|
this.d.dc();
|
|
39
|
-
c.
|
|
39
|
+
c.o7(a, this.d);
|
|
40
40
|
};
|
|
41
41
|
CanvasTemplateCellPresenter.$t = markType(CanvasTemplateCellPresenter, 'CanvasTemplateCellPresenter', CanvasCellPresenterBase.$);
|
|
42
42
|
return CanvasTemplateCellPresenter;
|
|
@@ -30,13 +30,13 @@ var CanvasTemplateHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_
|
|
|
30
30
|
_super.prototype.b.call(this, a);
|
|
31
31
|
var b = this.e.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.
|
|
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
36
|
}
|
|
37
37
|
var f = a;
|
|
38
38
|
this.d.dc();
|
|
39
|
-
c.
|
|
39
|
+
c.hr(f, this.d);
|
|
40
40
|
};
|
|
41
41
|
CanvasTemplateHeaderCellPresenter.$t = markType(CanvasTemplateHeaderCellPresenter, 'CanvasTemplateHeaderCellPresenter', CanvasCellPresenterBase.$);
|
|
42
42
|
return CanvasTemplateHeaderCellPresenter;
|
|
@@ -27,27 +27,27 @@ var CanvasTextCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27
27
|
CanvasTextCellPresenter.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.cr(b.
|
|
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.cr(b.ku);
|
|
34
34
|
}
|
|
35
35
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
CanvasTextCellPresenter.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
|
};
|
|
@@ -35,13 +35,13 @@ var CanvasTextHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
35
35
|
CanvasTextHeaderCellPresenter.prototype.b = function (a) {
|
|
36
36
|
_super.prototype.b.call(this, a);
|
|
37
37
|
var b = a;
|
|
38
|
-
if (a.
|
|
39
|
-
if (a.
|
|
40
|
-
b.
|
|
41
|
-
this.d.cr(b.
|
|
38
|
+
if (a.a7) {
|
|
39
|
+
if (a.bc(TextCellModel.nw)) {
|
|
40
|
+
b.ku = b.ny;
|
|
41
|
+
this.d.cr(b.ku);
|
|
42
42
|
}
|
|
43
|
-
if (a.
|
|
44
|
-
if (a.
|
|
43
|
+
if (a.bc(CellModel.hg)) {
|
|
44
|
+
if (a.bt) {
|
|
45
45
|
this.d.db.m = false;
|
|
46
46
|
}
|
|
47
47
|
if (this.e == null) {
|
|
@@ -50,21 +50,21 @@ var CanvasTextHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
50
50
|
}
|
|
51
51
|
this.d.de(a.n);
|
|
52
52
|
this.d.cp(runOn(this, this.f));
|
|
53
|
-
if (a.
|
|
53
|
+
if (a.bt) {
|
|
54
54
|
this.d.db.m = true;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
if (a.
|
|
58
|
-
if (a.
|
|
57
|
+
if (a.bc(CellModel.hh)) {
|
|
58
|
+
if (a.bt) {
|
|
59
59
|
this.d.db.m = false;
|
|
60
60
|
}
|
|
61
|
-
this.d.db.a3 = a.
|
|
62
|
-
if (a.
|
|
61
|
+
this.d.db.a3 = a.no;
|
|
62
|
+
if (a.bt) {
|
|
63
63
|
this.d.db.m = true;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
if (a.
|
|
67
|
-
this.d.db.f = b.
|
|
66
|
+
if (a.bb("SortIndicatorStyle")) {
|
|
67
|
+
this.d.db.f = b.n5;
|
|
68
68
|
}
|
|
69
69
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
70
70
|
}
|
|
@@ -8,6 +8,7 @@ import { __extends } from "tslib";
|
|
|
8
8
|
import { Base, markType } from "igniteui-webcomponents-core";
|
|
9
9
|
import { ICellPresenter_$type } from "./ICellPresenter";
|
|
10
10
|
import { CellModel } from "./CellModel";
|
|
11
|
+
import { Rect } from "igniteui-webcomponents-core";
|
|
11
12
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
12
13
|
/**
|
|
13
14
|
* @hidden
|
|
@@ -24,59 +25,83 @@ var CellPresenterBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
24
25
|
this.b(a);
|
|
25
26
|
};
|
|
26
27
|
CellPresenterBase.prototype.b = function (a) {
|
|
27
|
-
this.a.
|
|
28
|
-
this.a.
|
|
29
|
-
this.a.
|
|
30
|
-
this.a.
|
|
31
|
-
if (a.
|
|
32
|
-
this.a.
|
|
28
|
+
this.a.cs(a.c);
|
|
29
|
+
this.a.c1(a.e);
|
|
30
|
+
this.a.cv(a.d);
|
|
31
|
+
this.a.cg();
|
|
32
|
+
if (a.bc(CellModel.gk)) {
|
|
33
|
+
this.a.ad = a.bh;
|
|
33
34
|
}
|
|
34
|
-
if (a.
|
|
35
|
-
this.a.
|
|
35
|
+
if (a.bc(CellModel.ey) || a.bc(CellModel.e2) || a.bc(CellModel.e0) || a.bc(CellModel.ew)) {
|
|
36
|
+
this.a.c3(a.ex, a.e1, a.ez, a.ev);
|
|
36
37
|
}
|
|
37
|
-
if (a.
|
|
38
|
-
this.a.
|
|
39
|
-
if (a.
|
|
40
|
-
if (!a.
|
|
41
|
-
this.a.
|
|
38
|
+
if (a.a5) {
|
|
39
|
+
this.a.cu(a.m9, a.el, a.eq, a.eo, a.ej);
|
|
40
|
+
if (a.bc(CellModel.eh)) {
|
|
41
|
+
if (!a.bj && a.p.iz && a.bg && a.cn == 1) {
|
|
42
|
+
this.a.b6();
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
|
-
if (a.
|
|
46
|
-
this.a.
|
|
47
|
-
this.a.
|
|
46
|
+
if (a.bs) {
|
|
47
|
+
this.a.cy(a.f6, (a.e1 + a.ev + a.eq + a.ej));
|
|
48
|
+
this.a.c8(a.h2, (a.ex + a.ez + a.el + a.eo));
|
|
48
49
|
}
|
|
49
|
-
if (a.
|
|
50
|
-
if (a.
|
|
51
|
-
this.a.
|
|
50
|
+
if (a.a7) {
|
|
51
|
+
if (a.bm && !this.a.z) {
|
|
52
|
+
this.a.b5();
|
|
52
53
|
}
|
|
53
|
-
if (a.
|
|
54
|
-
this.a.
|
|
54
|
+
if (a.bc(CellModel.ei)) {
|
|
55
|
+
this.a.ct(a.m8.color);
|
|
55
56
|
}
|
|
56
|
-
if (a.
|
|
57
|
-
this.a.
|
|
57
|
+
if (a.bc(CellModel.eu)) {
|
|
58
|
+
this.a.c2(a.cp);
|
|
58
59
|
}
|
|
59
|
-
if (a.
|
|
60
|
-
this.a.
|
|
61
|
-
this.a.
|
|
62
|
-
this.a.
|
|
63
|
-
this.a.
|
|
60
|
+
if (a.bb("IsCollapsable")) {
|
|
61
|
+
this.a.aa = a.a6;
|
|
62
|
+
this.a.bg = a.gc;
|
|
63
|
+
this.a.ab = a.be;
|
|
64
|
+
this.a.c8(a.h2, (a.ex + a.ez + a.el + a.eo));
|
|
64
65
|
}
|
|
65
|
-
if (a.
|
|
66
|
-
this.a.
|
|
67
|
-
this.a.
|
|
66
|
+
if (a.bb("Indent")) {
|
|
67
|
+
this.a.bg = a.gc;
|
|
68
|
+
this.a.c8(a.h2, (a.ex + a.ez + a.el + a.eo));
|
|
68
69
|
}
|
|
69
|
-
if (a.
|
|
70
|
-
this.a.
|
|
70
|
+
if (a.bb("IsExpanded")) {
|
|
71
|
+
this.a.ab = a.be;
|
|
72
|
+
}
|
|
73
|
+
if (a.bc(CellModel.hu)) {
|
|
74
|
+
this.a.b0 = a.lg;
|
|
75
|
+
}
|
|
76
|
+
if (a.bc(CellModel.hs)) {
|
|
77
|
+
this.a.dp = a.ns;
|
|
78
|
+
}
|
|
79
|
+
if (a.bc(CellModel.ht)) {
|
|
80
|
+
this.a.n = a.ak;
|
|
81
|
+
}
|
|
82
|
+
if (a.bc(CellModel.hm)) {
|
|
83
|
+
this.a.bw = a.k9;
|
|
84
|
+
}
|
|
85
|
+
if (a.bc(CellModel.hk)) {
|
|
86
|
+
this.a.bt = a.k6;
|
|
87
|
+
}
|
|
88
|
+
if (a.bc(CellModel.hn)) {
|
|
89
|
+
this.a.dn = a.nr;
|
|
90
|
+
}
|
|
91
|
+
if (a.bc(CellModel.hl)) {
|
|
92
|
+
this.a.dm = a.nq;
|
|
93
|
+
}
|
|
94
|
+
if (a.bc(CellModel.hp) || a.bc(CellModel.hq) || a.bc(CellModel.hr) || a.bc(CellModel.hr)) {
|
|
95
|
+
this.a.dr = new Rect(0, a.c0, a.c1, a.c2, a.cz);
|
|
71
96
|
}
|
|
72
97
|
}
|
|
73
|
-
if (a.
|
|
74
|
-
this.a.
|
|
98
|
+
if (a.bs && a.bm) {
|
|
99
|
+
this.a.dg(a);
|
|
75
100
|
}
|
|
76
|
-
if (a.
|
|
77
|
-
if (a.
|
|
78
|
-
a.
|
|
79
|
-
this.a.
|
|
101
|
+
if (a.bb("DoClone")) {
|
|
102
|
+
if (a.a1) {
|
|
103
|
+
a.a1 = false;
|
|
104
|
+
this.a.b4();
|
|
80
105
|
}
|
|
81
106
|
}
|
|
82
107
|
};
|