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
|
@@ -42,7 +42,7 @@ export let AccessibilityRow = /*@__PURE__*/ (() => {
|
|
|
42
42
|
else {
|
|
43
43
|
b.setAttribute("aria-colindex", (a.l.a5 + 1).toString());
|
|
44
44
|
}
|
|
45
|
-
if (a.
|
|
45
|
+
if (a.cy == 1) {
|
|
46
46
|
b.setAttribute("aria-selected", "true");
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
@@ -59,8 +59,8 @@ export let AccessibilityRow = /*@__PURE__*/ (() => {
|
|
|
59
59
|
b.setAttribute("aria-sort", "none");
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
if (a.
|
|
63
|
-
b.setAttribute("aria-expanded", a.
|
|
62
|
+
if (a.a6) {
|
|
63
|
+
b.setAttribute("aria-expanded", a.be ? "true" : "false");
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
h() {
|
|
@@ -23,28 +23,28 @@ export let CanvasCellPresenterBase = /*@__PURE__*/ (() => {
|
|
|
23
23
|
}
|
|
24
24
|
b(a) {
|
|
25
25
|
this.a.cf(a.c);
|
|
26
|
-
if (a.
|
|
27
|
-
this.a.cn(a.
|
|
26
|
+
if (a.bc(CellModel.ey) || a.bc(CellModel.e2) || a.bc(CellModel.e0) || a.bc(CellModel.ew)) {
|
|
27
|
+
this.a.cn(a.ex, a.e1, a.ez, a.ev);
|
|
28
28
|
}
|
|
29
|
-
if (a.
|
|
30
|
-
this.a.ch(a.
|
|
29
|
+
if (a.a5) {
|
|
30
|
+
this.a.ch(a.m9, a.el, a.eq, a.eo, a.ej);
|
|
31
31
|
}
|
|
32
|
-
if (a.
|
|
33
|
-
this.a.ck(a.
|
|
34
|
-
this.a.cu(a.
|
|
32
|
+
if (a.bs) {
|
|
33
|
+
this.a.ck(a.f6);
|
|
34
|
+
this.a.cu(a.h2);
|
|
35
35
|
}
|
|
36
|
-
if (a.
|
|
37
|
-
if (a.
|
|
36
|
+
if (a.a7) {
|
|
37
|
+
if (a.bm && !this.a.z) {
|
|
38
38
|
this.a.b5();
|
|
39
39
|
}
|
|
40
|
-
if (a.
|
|
41
|
-
this.a.cg(a.
|
|
40
|
+
if (a.bc(CellModel.ei)) {
|
|
41
|
+
this.a.cg(a.m8.color);
|
|
42
42
|
}
|
|
43
|
-
if (a.
|
|
44
|
-
this.a.cm(a.
|
|
43
|
+
if (a.bc(CellModel.eu)) {
|
|
44
|
+
this.a.cm(a.cp);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
if (a.
|
|
47
|
+
if (a.bs && a.bm) {
|
|
48
48
|
this.a.cx(a);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -20,38 +20,38 @@ export let CanvasContentCellModelHelper = /*@__PURE__*/ (() => {
|
|
|
20
20
|
return a.color;
|
|
21
21
|
}
|
|
22
22
|
static a(a, b, c) {
|
|
23
|
-
if (b.
|
|
24
|
-
if (b.
|
|
25
|
-
let d = Math.min(1, Math.max(0, b.
|
|
26
|
-
let e = b.
|
|
23
|
+
if (b.a7) {
|
|
24
|
+
if (b.bc(CellModel.fm) || b.bc(CellModel.es) || b.bc(CellModel.h1) || b.bb("IsRowPinned") || b.bb("IsRowSticky") || b.bb("PinnedRowOpacity")) {
|
|
25
|
+
let d = Math.min(1, Math.max(0, b.c5));
|
|
26
|
+
let e = b.co * (1 - d);
|
|
27
27
|
c.ci(e);
|
|
28
|
-
if (b.
|
|
29
|
-
c.cy(b.
|
|
28
|
+
if (b.bm) {
|
|
29
|
+
c.cy(b.co * d);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
if (b.
|
|
33
|
-
CanvasContentCellModelHelper.c(c, b.
|
|
34
|
-
if (b.
|
|
35
|
-
c.cw(b.
|
|
32
|
+
if (b.bc(CellModel.e3)) {
|
|
33
|
+
CanvasContentCellModelHelper.c(c, b.na);
|
|
34
|
+
if (b.bm) {
|
|
35
|
+
c.cw(b.na);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
if (b.
|
|
38
|
+
if (b.bc(CellModel.gs)) {
|
|
39
39
|
}
|
|
40
|
-
if (b.
|
|
40
|
+
if (b.bc(CellModel.f8) || b.bc(CellModel.h0)) {
|
|
41
41
|
let f = b.g;
|
|
42
42
|
let g = b.i;
|
|
43
43
|
c.cl(f);
|
|
44
44
|
c.ct(g);
|
|
45
|
-
if (b.
|
|
45
|
+
if (b.bm) {
|
|
46
46
|
c.cv(f, g);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
if (b.
|
|
50
|
-
CanvasContentCellModelHelper.b(a, c, b.
|
|
49
|
+
if (b.bb("ActualFontInfo")) {
|
|
50
|
+
CanvasContentCellModelHelper.b(a, c, b.aj);
|
|
51
51
|
}
|
|
52
|
-
if (b.
|
|
53
|
-
if (b.
|
|
54
|
-
if (b.
|
|
52
|
+
if (b.bb("IsEdited") || b.bb("IsDeleted")) {
|
|
53
|
+
if (b.bd || b.ba) {
|
|
54
|
+
if (b.ba) {
|
|
55
55
|
c.cq(true);
|
|
56
56
|
}
|
|
57
57
|
else {
|
|
@@ -23,23 +23,23 @@ export let CanvasDateTimeCellPresenter = /*@__PURE__*/ (() => {
|
|
|
23
23
|
b(a) {
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
|
-
if (a.
|
|
27
|
-
if (a.
|
|
26
|
+
if (a.a7) {
|
|
27
|
+
if (a.bc(DateTimeCellModel.n8) || a.bc(DateTimeCellModel.n9) || a.bc(DateTimeCellModel.n7) || a.bc(DateTimeCellModel.gv) || a.bc(DateTimeCellModel.hz)) {
|
|
28
28
|
this.e(b);
|
|
29
|
-
this.d.cr(b.
|
|
29
|
+
this.d.cr(b.ku);
|
|
30
30
|
}
|
|
31
31
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
e(a) {
|
|
35
|
-
if (a.
|
|
36
|
-
a.
|
|
35
|
+
if (a.lp != null) {
|
|
36
|
+
a.ku = a.lp;
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
|
-
a.
|
|
40
|
-
if (a.
|
|
41
|
-
if (!(typeCast(Date_$type, a.
|
|
42
|
-
a.
|
|
39
|
+
a.ku = a.ok(a.n6);
|
|
40
|
+
if (a.ku == stringEmpty()) {
|
|
41
|
+
if (!(typeCast(Date_$type, a.ib) !== null)) {
|
|
42
|
+
a.ku = a.ib.toString();
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -223,7 +223,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
|
|
|
223
223
|
return;
|
|
224
224
|
}
|
|
225
225
|
if (this.b2 != 1) {
|
|
226
|
-
a.
|
|
226
|
+
a.af(this.b2);
|
|
227
227
|
}
|
|
228
228
|
let j = this.m;
|
|
229
229
|
if (!this.y) {
|
|
@@ -239,7 +239,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
|
|
|
239
239
|
if (this.s || this.x || (this.i != null && this.i.j != this.bu)) {
|
|
240
240
|
this.s = false;
|
|
241
241
|
this.bu = this.i.j;
|
|
242
|
-
j.
|
|
242
|
+
j.ae(this.i);
|
|
243
243
|
}
|
|
244
244
|
if (f != 1) {
|
|
245
245
|
j.aa();
|
|
@@ -249,7 +249,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
|
|
|
249
249
|
j.aa();
|
|
250
250
|
let k = Math.round((d - b));
|
|
251
251
|
let l = Math.round((e - c));
|
|
252
|
-
j.
|
|
252
|
+
j.ah(k, l);
|
|
253
253
|
}
|
|
254
254
|
if (g) {
|
|
255
255
|
this.cb(j);
|
|
@@ -275,7 +275,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
|
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
if (this.b2 != 1) {
|
|
278
|
-
a.
|
|
278
|
+
a.af(1);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
bx() {
|
|
@@ -521,14 +521,14 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
|
|
|
521
521
|
}
|
|
522
522
|
this.r = true;
|
|
523
523
|
let b = DeviceUtils.f(12);
|
|
524
|
-
if (a.
|
|
525
|
-
b = a.
|
|
524
|
+
if (a.aj != null && !isNaN_(a.aj.f)) {
|
|
525
|
+
b = a.aj.f;
|
|
526
526
|
}
|
|
527
527
|
if (this.a1 != b) {
|
|
528
528
|
this.a1 = b;
|
|
529
529
|
}
|
|
530
|
-
let c = a.
|
|
531
|
-
let d = a.
|
|
530
|
+
let c = a.h2 * 0.2;
|
|
531
|
+
let d = a.f6 * 0.6;
|
|
532
532
|
if (this.a2 >= c && this.a2 <= d) {
|
|
533
533
|
return;
|
|
534
534
|
}
|
|
@@ -575,7 +575,7 @@ export let CanvasGridCellBase = /*@__PURE__*/ (() => {
|
|
|
575
575
|
if (this.s || (this.i != null && this.i.j != this.bu)) {
|
|
576
576
|
this.s = false;
|
|
577
577
|
this.bu = this.i.j;
|
|
578
|
-
a.
|
|
578
|
+
a.ae(this.i);
|
|
579
579
|
}
|
|
580
580
|
let b;
|
|
581
581
|
if (this.h != this.i || this.bw != this.i.j) {
|
|
@@ -23,24 +23,24 @@ export let CanvasImageCellPresenter = /*@__PURE__*/ (() => {
|
|
|
23
23
|
b(a) {
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
|
-
if (a.
|
|
27
|
-
if (a.
|
|
28
|
-
let c = Math.min(1, Math.max(0, a.
|
|
29
|
-
let d = a.
|
|
26
|
+
if (a.a7) {
|
|
27
|
+
if (a.bc(CellModel.fm) || a.bc(CellModel.h1)) {
|
|
28
|
+
let c = Math.min(1, Math.max(0, a.c5));
|
|
29
|
+
let d = a.cr * (1 - c);
|
|
30
30
|
this.d.dd = d;
|
|
31
31
|
}
|
|
32
|
-
if (b.
|
|
33
|
-
this.e(b.
|
|
32
|
+
if (b.bc(ImageCellModel.n0) || b.bc(ImageCellModel.n1)) {
|
|
33
|
+
this.e(b.n4, b.nx);
|
|
34
34
|
}
|
|
35
|
-
if (b.
|
|
36
|
-
this.f(b.
|
|
35
|
+
if (b.bc(ImageCellModel.n2) || b.bc(ImageCellModel.f8) || b.bc(ImageCellModel.h0)) {
|
|
36
|
+
this.f(b.nz, b.g, b.i);
|
|
37
37
|
}
|
|
38
|
-
if (b.
|
|
38
|
+
if (b.bc(ImageCellModel.hi)) {
|
|
39
39
|
if (a.u == 1) {
|
|
40
40
|
this.d.dg();
|
|
41
41
|
}
|
|
42
42
|
else if (a.u == 2) {
|
|
43
|
-
this.e(b.
|
|
43
|
+
this.e(b.n4, b.nx);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -23,21 +23,21 @@ export let CanvasNumericCellPresenter = /*@__PURE__*/ (() => {
|
|
|
23
23
|
b(a) {
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
|
-
if (a.
|
|
27
|
-
if (a.
|
|
28
|
-
b.
|
|
29
|
-
this.d.cr(b.
|
|
26
|
+
if (a.a7) {
|
|
27
|
+
if (a.bc(NumericCellModel.ol) || a.bc(NumericCellModel.n9) || a.bc(NumericCellModel.hz) || b.n2()) {
|
|
28
|
+
b.ku = this.e(b);
|
|
29
|
+
this.d.cr(b.ku);
|
|
30
30
|
}
|
|
31
31
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
e(a) {
|
|
35
|
-
if (a.
|
|
36
|
-
return a.
|
|
35
|
+
if (a.lp != null) {
|
|
36
|
+
return a.lp;
|
|
37
37
|
}
|
|
38
|
-
if (a.
|
|
39
|
-
let val_ = a.
|
|
40
|
-
let override_ = a.
|
|
38
|
+
if (a.or != null) {
|
|
39
|
+
let val_ = a.n5;
|
|
40
|
+
let override_ = a.or;
|
|
41
41
|
return (override_.format(val_));
|
|
42
42
|
}
|
|
43
43
|
return NumericCellFormatter.c(a);
|
|
@@ -22,25 +22,25 @@ export let CanvasSectionHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
22
22
|
b(a) {
|
|
23
23
|
super.b(a);
|
|
24
24
|
let b = a;
|
|
25
|
-
if (a.
|
|
26
|
-
if (a.
|
|
27
|
-
if (b.
|
|
28
|
-
if (b.
|
|
29
|
-
b.
|
|
25
|
+
if (a.a7) {
|
|
26
|
+
if (a.bc(SectionHeaderCellModel.n2) || a.bc(SectionHeaderCellModel.n4)) {
|
|
27
|
+
if (b.ny == null || (b.ny.length == 0 && b.oc == null)) {
|
|
28
|
+
if (b.ib == null) {
|
|
29
|
+
b.ku = "";
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
32
|
-
b.
|
|
32
|
+
b.ku = b.ib.toString();
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
if (b.
|
|
37
|
-
b.
|
|
36
|
+
if (b.oa != null && b.n1 == 0) {
|
|
37
|
+
b.ku = b.oc + " " + b.oa;
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
|
-
b.
|
|
40
|
+
b.ku = b.oc;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
this.d.cr(b.
|
|
43
|
+
this.d.cr(b.ku);
|
|
44
44
|
}
|
|
45
45
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
46
46
|
}
|
|
@@ -64,7 +64,7 @@ export let CanvasSummaryCell = /*@__PURE__*/ (() => {
|
|
|
64
64
|
if (this.db || (this.da != null && this.da.j != this.dh)) {
|
|
65
65
|
this.db = false;
|
|
66
66
|
this.dh = this.da.j;
|
|
67
|
-
a.
|
|
67
|
+
a.ae(this.da);
|
|
68
68
|
this.dd = FontUtil.getCurrentFontHeight(this.bq, this.da);
|
|
69
69
|
}
|
|
70
70
|
let b = this.bo;
|
|
@@ -21,17 +21,17 @@ export let CanvasSummaryCellPresenter = /*@__PURE__*/ (() => {
|
|
|
21
21
|
b(a) {
|
|
22
22
|
super.b(a);
|
|
23
23
|
let b = a;
|
|
24
|
-
if (a.
|
|
25
|
-
if (a.
|
|
26
|
-
this.d.dj(b.
|
|
27
|
-
this.d.cr(b.
|
|
24
|
+
if (a.a7) {
|
|
25
|
+
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
26
|
+
this.d.dj(b.n4);
|
|
27
|
+
this.d.cr(b.n6);
|
|
28
28
|
}
|
|
29
|
-
if (a.
|
|
30
|
-
let c = CanvasContentCellModelHelper.e(b.
|
|
29
|
+
if (a.bb("SummaryLabelTextColor")) {
|
|
30
|
+
let c = CanvasContentCellModelHelper.e(b.ob);
|
|
31
31
|
this.d.dk(c);
|
|
32
32
|
}
|
|
33
|
-
if (a.
|
|
34
|
-
this.d.dl(b.
|
|
33
|
+
if (a.bb("FontInfo")) {
|
|
34
|
+
this.d.dl(b.aj);
|
|
35
35
|
}
|
|
36
36
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
37
37
|
}
|
|
@@ -24,13 +24,13 @@ export let CanvasTemplateCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
let c = this.e.actualColumns._inner[a.l.a5];
|
|
27
|
-
if (a.
|
|
28
|
-
let d = Math.min(1, Math.max(0, a.
|
|
29
|
-
let e = a.
|
|
27
|
+
if (a.bc(CellModel.fm) || a.bc(CellModel.h1)) {
|
|
28
|
+
let d = Math.min(1, Math.max(0, a.c5));
|
|
29
|
+
let e = a.cr * (1 - d);
|
|
30
30
|
this.d.db.opacity = e;
|
|
31
31
|
}
|
|
32
32
|
this.d.dc();
|
|
33
|
-
c.
|
|
33
|
+
c.o7(a, this.d);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
CanvasTemplateCellPresenter.$t = markType(CanvasTemplateCellPresenter, 'CanvasTemplateCellPresenter', CanvasCellPresenterBase.$);
|
|
@@ -24,13 +24,13 @@ export let CanvasTemplateHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = this.e.actualColumns._inner[a.l.a5];
|
|
26
26
|
let c = b.header;
|
|
27
|
-
if (a.
|
|
28
|
-
let d = Math.min(1, Math.max(0, a.
|
|
29
|
-
let e = a.
|
|
27
|
+
if (a.bc(CellModel.fm) || a.bc(CellModel.h1)) {
|
|
28
|
+
let d = Math.min(1, Math.max(0, a.c5));
|
|
29
|
+
let e = a.cr * (1 - d);
|
|
30
30
|
}
|
|
31
31
|
let f = a;
|
|
32
32
|
this.d.dc();
|
|
33
|
-
c.
|
|
33
|
+
c.hr(f, this.d);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
CanvasTemplateHeaderCellPresenter.$t = markType(CanvasTemplateHeaderCellPresenter, 'CanvasTemplateHeaderCellPresenter', CanvasCellPresenterBase.$);
|
|
@@ -22,27 +22,27 @@ export let CanvasTextCellPresenter = /*@__PURE__*/ (() => {
|
|
|
22
22
|
b(a) {
|
|
23
23
|
super.b(a);
|
|
24
24
|
let b = a;
|
|
25
|
-
if (a.
|
|
26
|
-
if (a.
|
|
27
|
-
b.
|
|
28
|
-
this.d.cr(b.
|
|
25
|
+
if (a.a7) {
|
|
26
|
+
if (a.bc(TextCellModel.nw) || a.bc(TextCellModel.hz) || a.bc(TextCellModel.gv)) {
|
|
27
|
+
b.ku = this.e(b);
|
|
28
|
+
this.d.cr(b.ku);
|
|
29
29
|
}
|
|
30
30
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
e(a) {
|
|
34
|
-
if (a.
|
|
35
|
-
return a.
|
|
34
|
+
if (a.lp != null) {
|
|
35
|
+
return a.lp;
|
|
36
36
|
}
|
|
37
|
-
if (a.
|
|
38
|
-
return a.
|
|
37
|
+
if (a.ny != null) {
|
|
38
|
+
return a.ny;
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
if (a.
|
|
41
|
+
if (a.ib == null) {
|
|
42
42
|
return "";
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
|
-
return a.
|
|
45
|
+
return a.ib.toString();
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -29,13 +29,13 @@ export let CanvasTextHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
29
29
|
b(a) {
|
|
30
30
|
super.b(a);
|
|
31
31
|
let b = a;
|
|
32
|
-
if (a.
|
|
33
|
-
if (a.
|
|
34
|
-
b.
|
|
35
|
-
this.d.cr(b.
|
|
32
|
+
if (a.a7) {
|
|
33
|
+
if (a.bc(TextCellModel.nw)) {
|
|
34
|
+
b.ku = b.ny;
|
|
35
|
+
this.d.cr(b.ku);
|
|
36
36
|
}
|
|
37
|
-
if (a.
|
|
38
|
-
if (a.
|
|
37
|
+
if (a.bc(CellModel.hg)) {
|
|
38
|
+
if (a.bt) {
|
|
39
39
|
this.d.db.m = false;
|
|
40
40
|
}
|
|
41
41
|
if (this.e == null) {
|
|
@@ -44,21 +44,21 @@ export let CanvasTextHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
44
44
|
}
|
|
45
45
|
this.d.de(a.n);
|
|
46
46
|
this.d.cp(runOn(this, this.f));
|
|
47
|
-
if (a.
|
|
47
|
+
if (a.bt) {
|
|
48
48
|
this.d.db.m = true;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
if (a.
|
|
52
|
-
if (a.
|
|
51
|
+
if (a.bc(CellModel.hh)) {
|
|
52
|
+
if (a.bt) {
|
|
53
53
|
this.d.db.m = false;
|
|
54
54
|
}
|
|
55
|
-
this.d.db.a3 = a.
|
|
56
|
-
if (a.
|
|
55
|
+
this.d.db.a3 = a.no;
|
|
56
|
+
if (a.bt) {
|
|
57
57
|
this.d.db.m = true;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
if (a.
|
|
61
|
-
this.d.db.f = b.
|
|
60
|
+
if (a.bb("SortIndicatorStyle")) {
|
|
61
|
+
this.d.db.f = b.n5;
|
|
62
62
|
}
|
|
63
63
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
64
64
|
}
|
|
@@ -7,6 +7,7 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { Base, markType } from "igniteui-angular-core";
|
|
8
8
|
import { ICellPresenter_$type } from "./ICellPresenter";
|
|
9
9
|
import { CellModel } from "./CellModel";
|
|
10
|
+
import { Rect } from "igniteui-angular-core";
|
|
10
11
|
import { BrushUtil } from "igniteui-angular-core";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
@@ -22,59 +23,83 @@ export let CellPresenterBase = /*@__PURE__*/ (() => {
|
|
|
22
23
|
this.b(a);
|
|
23
24
|
}
|
|
24
25
|
b(a) {
|
|
25
|
-
this.a.
|
|
26
|
-
this.a.
|
|
27
|
-
this.a.
|
|
28
|
-
this.a.
|
|
29
|
-
if (a.
|
|
30
|
-
this.a.
|
|
26
|
+
this.a.cs(a.c);
|
|
27
|
+
this.a.c1(a.e);
|
|
28
|
+
this.a.cv(a.d);
|
|
29
|
+
this.a.cg();
|
|
30
|
+
if (a.bc(CellModel.gk)) {
|
|
31
|
+
this.a.ad = a.bh;
|
|
31
32
|
}
|
|
32
|
-
if (a.
|
|
33
|
-
this.a.
|
|
33
|
+
if (a.bc(CellModel.ey) || a.bc(CellModel.e2) || a.bc(CellModel.e0) || a.bc(CellModel.ew)) {
|
|
34
|
+
this.a.c3(a.ex, a.e1, a.ez, a.ev);
|
|
34
35
|
}
|
|
35
|
-
if (a.
|
|
36
|
-
this.a.
|
|
37
|
-
if (a.
|
|
38
|
-
if (!a.
|
|
39
|
-
this.a.
|
|
36
|
+
if (a.a5) {
|
|
37
|
+
this.a.cu(a.m9, a.el, a.eq, a.eo, a.ej);
|
|
38
|
+
if (a.bc(CellModel.eh)) {
|
|
39
|
+
if (!a.bj && a.p.iy && a.bg && a.cn == 1) {
|
|
40
|
+
this.a.b6();
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
|
-
if (a.
|
|
44
|
-
this.a.
|
|
45
|
-
this.a.
|
|
44
|
+
if (a.bs) {
|
|
45
|
+
this.a.cy(a.f6, (a.e1 + a.ev + a.eq + a.ej));
|
|
46
|
+
this.a.c8(a.h2, (a.ex + a.ez + a.el + a.eo));
|
|
46
47
|
}
|
|
47
|
-
if (a.
|
|
48
|
-
if (a.
|
|
49
|
-
this.a.
|
|
48
|
+
if (a.a7) {
|
|
49
|
+
if (a.bm && !this.a.z) {
|
|
50
|
+
this.a.b5();
|
|
50
51
|
}
|
|
51
|
-
if (a.
|
|
52
|
-
this.a.
|
|
52
|
+
if (a.bc(CellModel.ei)) {
|
|
53
|
+
this.a.ct(a.m8.color);
|
|
53
54
|
}
|
|
54
|
-
if (a.
|
|
55
|
-
this.a.
|
|
55
|
+
if (a.bc(CellModel.eu)) {
|
|
56
|
+
this.a.c2(a.cp);
|
|
56
57
|
}
|
|
57
|
-
if (a.
|
|
58
|
-
this.a.
|
|
59
|
-
this.a.
|
|
60
|
-
this.a.
|
|
61
|
-
this.a.
|
|
58
|
+
if (a.bb("IsCollapsable")) {
|
|
59
|
+
this.a.aa = a.a6;
|
|
60
|
+
this.a.bg = a.gc;
|
|
61
|
+
this.a.ab = a.be;
|
|
62
|
+
this.a.c8(a.h2, (a.ex + a.ez + a.el + a.eo));
|
|
62
63
|
}
|
|
63
|
-
if (a.
|
|
64
|
-
this.a.
|
|
65
|
-
this.a.
|
|
64
|
+
if (a.bb("Indent")) {
|
|
65
|
+
this.a.bg = a.gc;
|
|
66
|
+
this.a.c8(a.h2, (a.ex + a.ez + a.el + a.eo));
|
|
66
67
|
}
|
|
67
|
-
if (a.
|
|
68
|
-
this.a.
|
|
68
|
+
if (a.bb("IsExpanded")) {
|
|
69
|
+
this.a.ab = a.be;
|
|
70
|
+
}
|
|
71
|
+
if (a.bc(CellModel.hu)) {
|
|
72
|
+
this.a.b0 = a.lg;
|
|
73
|
+
}
|
|
74
|
+
if (a.bc(CellModel.hs)) {
|
|
75
|
+
this.a.dp = a.ns;
|
|
76
|
+
}
|
|
77
|
+
if (a.bc(CellModel.ht)) {
|
|
78
|
+
this.a.n = a.ak;
|
|
79
|
+
}
|
|
80
|
+
if (a.bc(CellModel.hm)) {
|
|
81
|
+
this.a.bw = a.k9;
|
|
82
|
+
}
|
|
83
|
+
if (a.bc(CellModel.hk)) {
|
|
84
|
+
this.a.bt = a.k6;
|
|
85
|
+
}
|
|
86
|
+
if (a.bc(CellModel.hn)) {
|
|
87
|
+
this.a.dn = a.nr;
|
|
88
|
+
}
|
|
89
|
+
if (a.bc(CellModel.hl)) {
|
|
90
|
+
this.a.dm = a.nq;
|
|
91
|
+
}
|
|
92
|
+
if (a.bc(CellModel.hp) || a.bc(CellModel.hq) || a.bc(CellModel.hr) || a.bc(CellModel.hr)) {
|
|
93
|
+
this.a.dr = new Rect(0, a.c0, a.c1, a.c2, a.cz);
|
|
69
94
|
}
|
|
70
95
|
}
|
|
71
|
-
if (a.
|
|
72
|
-
this.a.
|
|
96
|
+
if (a.bs && a.bm) {
|
|
97
|
+
this.a.dg(a);
|
|
73
98
|
}
|
|
74
|
-
if (a.
|
|
75
|
-
if (a.
|
|
76
|
-
a.
|
|
77
|
-
this.a.
|
|
99
|
+
if (a.bb("DoClone")) {
|
|
100
|
+
if (a.a1) {
|
|
101
|
+
a.a1 = false;
|
|
102
|
+
this.a.b4();
|
|
78
103
|
}
|
|
79
104
|
}
|
|
80
105
|
}
|