igniteui-angular-data-grids 20.0.0-beta.1 → 20.0.1-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 +3900 -3533
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +3 -3
- package/esm2015/lib/CanvasContentCellModelHelper.js +4 -4
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +10 -6
- package/esm2015/lib/CanvasGridCellBase.js +1 -1
- package/esm2015/lib/CanvasImageCellPresenter.js +6 -6
- package/esm2015/lib/CanvasNumericCellPresenter.js +9 -6
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTextCellPresenter.js +20 -15
- package/esm2015/lib/CanvasTextHeaderCell.js +4 -4
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CellPresenterBase.js +5 -5
- package/esm2015/lib/CheckboxListView_combined.js +479 -435
- package/esm2015/lib/ColumnChooserView_combined.js +13 -13
- package/esm2015/lib/ColumnFilterCondition_combined.js +2442 -2384
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +13 -13
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm2015/lib/ContentCellModelHelper.js +4 -4
- package/esm2015/lib/DataGridCellLayoutPanel.js +8 -8
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +10 -6
- package/esm2015/lib/EditorCellPresenter.js +19 -19
- package/esm2015/lib/FilterCellPresenter.js +11 -11
- package/esm2015/lib/FormatCellEventArgs.js +31 -0
- package/esm2015/lib/GridCellBase.js +1 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +5 -5
- 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/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +9 -4
- package/esm2015/lib/GridSortIndicatorView_combined.js +136 -120
- package/esm2015/lib/ISummaryChooserView_combined.js +9 -9
- package/esm2015/lib/ImageCellPresenter.js +6 -6
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm2015/lib/NumericCellPresenter.js +9 -6
- package/esm2015/lib/PropertyEditorView_combined.js +17 -17
- package/esm2015/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/SummaryCellPresenter.js +6 -6
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/TextCellPresenter.js +20 -15
- package/esm2015/lib/TextHeaderCell.js +6 -5
- package/esm2015/lib/TextHeaderCellPresenter.js +16 -16
- package/esm2015/lib/igx-cell-info.js +58 -49
- package/esm2015/lib/igx-checkbox-list-component.js +58 -55
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +121 -97
- package/esm2015/lib/igx-data-grid-sort-indicator-component.js +20 -12
- 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-editor-cell-info.js +23 -23
- package/esm2015/lib/igx-filter-cell-info.js +26 -26
- package/esm2015/lib/igx-format-cell-event-args.js +82 -0
- 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-summary-cell-info.js +9 -9
- 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 +2 -0
- package/esm5/lib/CanvasCellPresenterBase.js +3 -3
- package/esm5/lib/CanvasContentCellModelHelper.js +4 -4
- package/esm5/lib/CanvasDateTimeCellPresenter.js +10 -6
- package/esm5/lib/CanvasGridCellBase.js +1 -1
- package/esm5/lib/CanvasImageCellPresenter.js +6 -6
- package/esm5/lib/CanvasNumericCellPresenter.js +9 -6
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CanvasTextCellPresenter.js +20 -15
- package/esm5/lib/CanvasTextHeaderCell.js +4 -4
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +9 -9
- package/esm5/lib/CellPresenterBase.js +5 -5
- package/esm5/lib/CheckboxListView_combined.js +461 -413
- package/esm5/lib/ColumnChooserView_combined.js +13 -13
- package/esm5/lib/ColumnFilterCondition_combined.js +2343 -2281
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +13 -13
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm5/lib/ContentCellModelHelper.js +4 -4
- package/esm5/lib/DataGridCellLayoutPanel.js +8 -8
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +10 -6
- package/esm5/lib/EditorCellPresenter.js +19 -19
- package/esm5/lib/FilterCellPresenter.js +11 -11
- package/esm5/lib/FormatCellEventArgs.js +37 -0
- package/esm5/lib/GridCellBase.js +1 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +5 -5
- 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/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +9 -4
- package/esm5/lib/GridSortIndicatorView_combined.js +135 -115
- package/esm5/lib/ISummaryChooserView_combined.js +9 -9
- package/esm5/lib/ImageCellPresenter.js +6 -6
- package/esm5/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm5/lib/NumericCellPresenter.js +9 -6
- package/esm5/lib/PropertyEditorView_combined.js +17 -17
- package/esm5/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/SummaryCellPresenter.js +6 -6
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/TextCellPresenter.js +20 -15
- package/esm5/lib/TextHeaderCell.js +6 -5
- package/esm5/lib/TextHeaderCellPresenter.js +16 -16
- package/esm5/lib/igx-cell-info.js +62 -49
- package/esm5/lib/igx-checkbox-list-component.js +62 -55
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +126 -97
- package/esm5/lib/igx-data-grid-sort-indicator-component.js +24 -12
- 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-editor-cell-info.js +23 -23
- package/esm5/lib/igx-filter-cell-info.js +26 -26
- package/esm5/lib/igx-format-cell-event-args.js +112 -0
- 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-summary-cell-info.js +9 -9
- 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 +2 -0
- package/fesm2015/igniteui-angular-data-grids.js +3969 -3666
- package/fesm5/igniteui-angular-data-grids.js +3900 -3535
- package/lib/CanvasTextCellPresenter.d.ts +1 -0
- package/lib/CheckboxListView_combined.d.ts +127 -120
- package/lib/ColumnFilterCondition_combined.d.ts +643 -636
- package/lib/FormatCellEventArgs.d.ts +15 -0
- package/lib/GridSortIndicatorView_combined.d.ts +41 -38
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TextCellPresenter.d.ts +1 -0
- package/lib/igx-cell-info.d.ts +5 -0
- package/lib/igx-checkbox-list-component.d.ts +2 -0
- package/lib/igx-data-grid-column-component.d.ts +10 -1
- package/lib/igx-data-grid-sort-indicator-component.d.ts +4 -1
- package/lib/igx-format-cell-event-args.d.ts +45 -0
- package/package.json +4 -4
- package/public_api.d.ts +2 -0
|
@@ -27,18 +27,18 @@ export let CanvasCellPresenterBase = /*@__PURE__*/ (() => {
|
|
|
27
27
|
this.a.cn(a.el, a.ep, a.en, a.ej);
|
|
28
28
|
}
|
|
29
29
|
if (a.a1) {
|
|
30
|
-
this.a.ch(a.
|
|
30
|
+
this.a.ch(a.lz, a.d9, a.ee, a.ec, a.d7);
|
|
31
31
|
}
|
|
32
32
|
if (a.bo) {
|
|
33
33
|
this.a.ck(a.fu);
|
|
34
|
-
this.a.cu(a.
|
|
34
|
+
this.a.cu(a.he);
|
|
35
35
|
}
|
|
36
36
|
if (a.a3) {
|
|
37
37
|
if (a.bi && !this.a.z) {
|
|
38
38
|
this.a.b5();
|
|
39
39
|
}
|
|
40
40
|
if (a.a8(CellModel.d6)) {
|
|
41
|
-
this.a.cg(a.
|
|
41
|
+
this.a.cg(a.ly.color);
|
|
42
42
|
}
|
|
43
43
|
if (a.a8(CellModel.ei)) {
|
|
44
44
|
this.a.cm(a.ch);
|
|
@@ -21,7 +21,7 @@ export let CanvasContentCellModelHelper = /*@__PURE__*/ (() => {
|
|
|
21
21
|
}
|
|
22
22
|
static a(a, b, c) {
|
|
23
23
|
if (b.a3) {
|
|
24
|
-
if (b.a8(CellModel.fa) || b.a8(CellModel.eg) || b.a8(CellModel.
|
|
24
|
+
if (b.a8(CellModel.fa) || b.a8(CellModel.eg) || b.a8(CellModel.hd) || b.a7("IsRowPinned") || b.a7("IsRowSticky") || b.a7("PinnedRowOpacity")) {
|
|
25
25
|
let d = Math.min(1, Math.max(0, b.ct));
|
|
26
26
|
let e = b.cg * (1 - d);
|
|
27
27
|
c.ci(e);
|
|
@@ -30,14 +30,14 @@ export let CanvasContentCellModelHelper = /*@__PURE__*/ (() => {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
if (b.a8(CellModel.er)) {
|
|
33
|
-
CanvasContentCellModelHelper.c(c, b.
|
|
33
|
+
CanvasContentCellModelHelper.c(c, b.l0);
|
|
34
34
|
if (b.bi) {
|
|
35
|
-
c.cw(b.
|
|
35
|
+
c.cw(b.l0);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
if (b.a8(CellModel.gg)) {
|
|
39
39
|
}
|
|
40
|
-
if (b.a8(CellModel.fw) || b.a8(CellModel.
|
|
40
|
+
if (b.a8(CellModel.fw) || b.a8(CellModel.hc)) {
|
|
41
41
|
let f = b.g;
|
|
42
42
|
let g = b.i;
|
|
43
43
|
c.cl(f);
|
|
@@ -24,18 +24,22 @@ export let CanvasDateTimeCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
if (a.a3) {
|
|
27
|
-
if (a.a8(DateTimeCellModel.
|
|
27
|
+
if (a.a8(DateTimeCellModel.mv) || a.a8(DateTimeCellModel.mw) || a.a8(DateTimeCellModel.mu) || a.a8(DateTimeCellModel.gj) || a.a8(DateTimeCellModel.hb)) {
|
|
28
28
|
this.e(b);
|
|
29
|
-
this.d.cr(b.
|
|
29
|
+
this.d.cr(b.j3);
|
|
30
30
|
}
|
|
31
31
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
e(a) {
|
|
35
|
-
a.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
if (a.ki != null) {
|
|
36
|
+
a.j3 = a.ki;
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
a.j3 = a.m7(a.mt);
|
|
40
|
+
if (a.j3 == stringEmpty()) {
|
|
41
|
+
if (!(typeCast(Date_$type, a.hn) !== null)) {
|
|
42
|
+
a.j3 = a.hn.toString();
|
|
39
43
|
}
|
|
40
44
|
}
|
|
41
45
|
}
|
|
@@ -24,23 +24,23 @@ export let CanvasImageCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
if (a.a3) {
|
|
27
|
-
if (a.a8(CellModel.fa) || a.a8(CellModel.
|
|
27
|
+
if (a.a8(CellModel.fa) || a.a8(CellModel.hd)) {
|
|
28
28
|
let c = Math.min(1, Math.max(0, a.ct));
|
|
29
29
|
let d = a.cj * (1 - c);
|
|
30
30
|
this.d.dd = d;
|
|
31
31
|
}
|
|
32
|
-
if (b.a8(ImageCellModel.
|
|
33
|
-
this.e(b.
|
|
32
|
+
if (b.a8(ImageCellModel.mn) || b.a8(ImageCellModel.mo)) {
|
|
33
|
+
this.e(b.mr, b.mk);
|
|
34
34
|
}
|
|
35
|
-
if (b.a8(ImageCellModel.
|
|
36
|
-
this.f(b.
|
|
35
|
+
if (b.a8(ImageCellModel.mp) || b.a8(ImageCellModel.fw) || b.a8(ImageCellModel.hc)) {
|
|
36
|
+
this.f(b.mm, b.g, b.i);
|
|
37
37
|
}
|
|
38
38
|
if (b.a8(ImageCellModel.g6)) {
|
|
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.mr, b.mk);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -24,17 +24,20 @@ export let CanvasNumericCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
if (a.a3) {
|
|
27
|
-
if (a.a8(NumericCellModel.
|
|
28
|
-
b.
|
|
29
|
-
this.d.cr(b.
|
|
27
|
+
if (a.a8(NumericCellModel.m8) || a.a8(NumericCellModel.mw) || a.a8(NumericCellModel.hb) || b.mp()) {
|
|
28
|
+
b.j3 = this.e(b);
|
|
29
|
+
this.d.cr(b.j3);
|
|
30
30
|
}
|
|
31
31
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
e(a) {
|
|
35
|
-
if (a.
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
if (a.ki != null) {
|
|
36
|
+
return a.ki;
|
|
37
|
+
}
|
|
38
|
+
if (a.ne != null) {
|
|
39
|
+
let val_ = a.ms;
|
|
40
|
+
let override_ = a.ne;
|
|
38
41
|
return (override_.format(val_));
|
|
39
42
|
}
|
|
40
43
|
return NumericCellFormatter.c(a);
|
|
@@ -23,24 +23,24 @@ export let CanvasSectionHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
23
23
|
super.b(a);
|
|
24
24
|
let b = a;
|
|
25
25
|
if (a.a3) {
|
|
26
|
-
if (a.a8(SectionHeaderCellModel.
|
|
27
|
-
if (b.
|
|
28
|
-
if (b.
|
|
29
|
-
b.
|
|
26
|
+
if (a.a8(SectionHeaderCellModel.mp) || a.a8(SectionHeaderCellModel.mr)) {
|
|
27
|
+
if (b.ml == null || (b.ml.length == 0 && b.mz == null)) {
|
|
28
|
+
if (b.hn == null) {
|
|
29
|
+
b.j3 = "";
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
32
|
-
b.
|
|
32
|
+
b.j3 = b.hn.toString();
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
if (b.
|
|
37
|
-
b.
|
|
36
|
+
if (b.mx != null && b.mo == 0) {
|
|
37
|
+
b.j3 = b.mz + " " + b.mx;
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
|
-
b.
|
|
40
|
+
b.j3 = b.mz;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
this.d.cr(b.
|
|
43
|
+
this.d.cr(b.j3);
|
|
44
44
|
}
|
|
45
45
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
46
46
|
}
|
|
@@ -23,11 +23,11 @@ export let CanvasSummaryCellPresenter = /*@__PURE__*/ (() => {
|
|
|
23
23
|
let b = a;
|
|
24
24
|
if (a.a3) {
|
|
25
25
|
if (a.a7("ResolvedSummaryLabel") || a.a7("ResolvedSummaryValue")) {
|
|
26
|
-
this.d.dj(b.
|
|
27
|
-
this.d.cr(b.
|
|
26
|
+
this.d.dj(b.mr);
|
|
27
|
+
this.d.cr(b.mt);
|
|
28
28
|
}
|
|
29
29
|
if (a.a7("SummaryLabelTextColor")) {
|
|
30
|
-
let c = CanvasContentCellModelHelper.e(b.
|
|
30
|
+
let c = CanvasContentCellModelHelper.e(b.my);
|
|
31
31
|
this.d.dk(c);
|
|
32
32
|
}
|
|
33
33
|
if (a.a7("FontInfo")) {
|
|
@@ -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.a8(CellModel.fa) || a.a8(CellModel.
|
|
27
|
+
if (a.a8(CellModel.fa) || a.a8(CellModel.hd)) {
|
|
28
28
|
let d = Math.min(1, Math.max(0, a.ct));
|
|
29
29
|
let e = a.cj * (1 - d);
|
|
30
30
|
this.d.db.opacity = e;
|
|
31
31
|
}
|
|
32
32
|
this.d.dc();
|
|
33
|
-
c.
|
|
33
|
+
c.n6(a, this.d);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
CanvasTemplateCellPresenter.$t = markType(CanvasTemplateCellPresenter, 'CanvasTemplateCellPresenter', CanvasCellPresenterBase.$);
|
|
@@ -24,7 +24,7 @@ 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.a8(CellModel.fa) || a.a8(CellModel.
|
|
27
|
+
if (a.a8(CellModel.fa) || a.a8(CellModel.hd)) {
|
|
28
28
|
let d = Math.min(1, Math.max(0, a.ct));
|
|
29
29
|
let e = a.cj * (1 - d);
|
|
30
30
|
}
|
|
@@ -5,10 +5,9 @@ https://www.infragistics.com/legal/license/igultimate-eula
|
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
7
|
import { CanvasCellPresenterBase } from "./CanvasCellPresenterBase";
|
|
8
|
-
import { CellModel } from "./CellModel";
|
|
9
8
|
import { TextCellModel } from "./TextCellModel";
|
|
10
|
-
import { markType } from "igniteui-angular-core";
|
|
11
9
|
import { CanvasContentCellModelHelper } from "./CanvasContentCellModelHelper";
|
|
10
|
+
import { markType } from "igniteui-angular-core";
|
|
12
11
|
/**
|
|
13
12
|
* @hidden
|
|
14
13
|
*/
|
|
@@ -24,23 +23,29 @@ export let CanvasTextCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
23
|
super.b(a);
|
|
25
24
|
let b = a;
|
|
26
25
|
if (a.a3) {
|
|
27
|
-
if (a.a8(TextCellModel.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
if (b.hm == null) {
|
|
33
|
-
b.j1 = "";
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
b.j1 = b.hm.toString();
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
this.d.cr(b.j1);
|
|
26
|
+
if (a.a8(TextCellModel.mj) || a.a8(TextCellModel.hb) || a.a8(TextCellModel.gj)) {
|
|
27
|
+
b.j3 = this.e(b);
|
|
28
|
+
this.d.cr(b.j3);
|
|
40
29
|
}
|
|
41
30
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
42
31
|
}
|
|
43
32
|
}
|
|
33
|
+
e(a) {
|
|
34
|
+
if (a.ki != null) {
|
|
35
|
+
return a.ki;
|
|
36
|
+
}
|
|
37
|
+
if (a.ml != null) {
|
|
38
|
+
return a.ml;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
if (a.hn == null) {
|
|
42
|
+
return "";
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
return a.hn.toString();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
44
49
|
}
|
|
45
50
|
CanvasTextCellPresenter.$t = markType(CanvasTextCellPresenter, 'CanvasTextCellPresenter', CanvasCellPresenterBase.$);
|
|
46
51
|
return CanvasTextCellPresenter;
|
|
@@ -26,12 +26,12 @@ export let CanvasTextHeaderCell = /*@__PURE__*/ (() => {
|
|
|
26
26
|
b.setRawStyleProperty("height", "16px");
|
|
27
27
|
this.dd = b;
|
|
28
28
|
let c = a.getSubRenderer(this.dd);
|
|
29
|
-
this.da.
|
|
30
|
-
this.da.
|
|
29
|
+
this.da.a0(c);
|
|
30
|
+
this.da.y = window.devicePixelRatio;
|
|
31
31
|
let d = this.da;
|
|
32
32
|
d.renderCompleted = delegateCombine(d.renderCompleted, (d, e) => this.ca());
|
|
33
|
-
this.da.
|
|
34
|
-
this.dc = this.da.
|
|
33
|
+
this.da.au(16, 16);
|
|
34
|
+
this.dc = this.da.af();
|
|
35
35
|
}
|
|
36
36
|
get db() {
|
|
37
37
|
return this.da;
|
|
@@ -30,13 +30,13 @@ export let CanvasTextHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
30
30
|
super.b(a);
|
|
31
31
|
let b = a;
|
|
32
32
|
if (a.a3) {
|
|
33
|
-
if (a.a8(TextCellModel.
|
|
34
|
-
b.
|
|
35
|
-
this.d.cr(b.
|
|
33
|
+
if (a.a8(TextCellModel.mj)) {
|
|
34
|
+
b.j3 = b.ml;
|
|
35
|
+
this.d.cr(b.j3);
|
|
36
36
|
}
|
|
37
37
|
if (a.a8(CellModel.g4)) {
|
|
38
38
|
if (a.bp) {
|
|
39
|
-
this.d.db.
|
|
39
|
+
this.d.db.m = false;
|
|
40
40
|
}
|
|
41
41
|
if (this.e == null) {
|
|
42
42
|
let c = a.p;
|
|
@@ -45,20 +45,20 @@ export let CanvasTextHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
45
45
|
this.d.de(a.n);
|
|
46
46
|
this.d.cp(runOn(this, this.f));
|
|
47
47
|
if (a.bp) {
|
|
48
|
-
this.d.db.
|
|
48
|
+
this.d.db.m = true;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
if (a.a8(CellModel.g5)) {
|
|
52
52
|
if (a.bp) {
|
|
53
|
-
this.d.db.
|
|
53
|
+
this.d.db.m = false;
|
|
54
54
|
}
|
|
55
|
-
this.d.db.
|
|
55
|
+
this.d.db.a3 = a.me;
|
|
56
56
|
if (a.bp) {
|
|
57
|
-
this.d.db.
|
|
57
|
+
this.d.db.m = true;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
if (a.a7("SortIndicatorStyle")) {
|
|
61
|
-
this.d.db.f = b.
|
|
61
|
+
this.d.db.f = b.ms;
|
|
62
62
|
}
|
|
63
63
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
64
64
|
}
|
|
@@ -33,7 +33,7 @@ export let CellPresenterBase = /*@__PURE__*/ (() => {
|
|
|
33
33
|
this.a.b7(a.el, a.ep, a.en, a.ej);
|
|
34
34
|
}
|
|
35
35
|
if (a.a1) {
|
|
36
|
-
this.a.b1(a.
|
|
36
|
+
this.a.b1(a.lz, a.d9, a.ee, a.ec, a.d7);
|
|
37
37
|
if (a.a8(CellModel.d5)) {
|
|
38
38
|
if (!a.bf && a.p.ix && a.bc && a.cf == 1) {
|
|
39
39
|
this.a.bh();
|
|
@@ -42,14 +42,14 @@ export let CellPresenterBase = /*@__PURE__*/ (() => {
|
|
|
42
42
|
}
|
|
43
43
|
if (a.bo) {
|
|
44
44
|
this.a.b3(a.fu, (a.ep + a.ej + a.ee + a.d7));
|
|
45
|
-
this.a.b9(a.
|
|
45
|
+
this.a.b9(a.he, (a.el + a.en + a.d9 + a.ec));
|
|
46
46
|
}
|
|
47
47
|
if (a.a3) {
|
|
48
48
|
if (a.bi && !this.a.u) {
|
|
49
49
|
this.a.bg();
|
|
50
50
|
}
|
|
51
51
|
if (a.a8(CellModel.d6)) {
|
|
52
|
-
this.a.b0(a.
|
|
52
|
+
this.a.b0(a.ly.color);
|
|
53
53
|
}
|
|
54
54
|
if (a.a8(CellModel.ei)) {
|
|
55
55
|
this.a.b6(a.ch);
|
|
@@ -58,11 +58,11 @@ export let CellPresenterBase = /*@__PURE__*/ (() => {
|
|
|
58
58
|
this.a.v = a.a2;
|
|
59
59
|
this.a.a6 = a.f0;
|
|
60
60
|
this.a.w = a.ba;
|
|
61
|
-
this.a.b9(a.
|
|
61
|
+
this.a.b9(a.he, (a.el + a.en + a.d9 + a.ec));
|
|
62
62
|
}
|
|
63
63
|
if (a.a7("Indent")) {
|
|
64
64
|
this.a.a6 = a.f0;
|
|
65
|
-
this.a.b9(a.
|
|
65
|
+
this.a.b9(a.he, (a.el + a.en + a.d9 + a.ec));
|
|
66
66
|
}
|
|
67
67
|
if (a.a7("IsExpanded")) {
|
|
68
68
|
this.a.w = a.ba;
|