igniteui-webcomponents-data-grids 7.1.0-alpha.3 → 7.1.0-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 +6134 -5858
- package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +4 -4
- package/esm2015/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +2 -2
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +37 -34
- package/esm2015/lib/CheckboxListView_combined.js +23 -23
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +4143 -3997
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +5 -5
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm2015/lib/ContentCellModelHelper.js +10 -10
- package/esm2015/lib/DataGridCellLayoutPanel.js +10 -10
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm2015/lib/DataGridToolbarView_combined.js +1 -1
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/EditorCell.js +292 -292
- package/esm2015/lib/EditorCellPresenter.js +26 -26
- package/esm2015/lib/FilterCell.js +269 -269
- package/esm2015/lib/FilterCellPresenter.js +15 -15
- package/esm2015/lib/GridCellBase.js +167 -150
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +4 -4
- 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 +1 -1
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
- package/esm2015/lib/ImageCell.js +57 -57
- package/esm2015/lib/ImageCellPresenter.js +15 -15
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm2015/lib/NumericCell.js +8 -8
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +19 -19
- package/esm2015/lib/SectionHeaderCell.js +20 -20
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +45 -45
- package/esm2015/lib/SummaryCellPresenter.js +10 -10
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +3 -3
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm2015/lib/TemplateSectionHeader.js +1 -1
- package/esm2015/lib/TextCell.js +29 -29
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +184 -184
- package/esm2015/lib/TextHeaderCellPresenter.js +52 -52
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igc-cell-info.js +90 -81
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +224 -214
- package/esm2015/lib/igc-data-grid-component.js +10 -0
- 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-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- 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 +35 -26
- package/esm2015/lib/igc-numeric-column-component.js +38 -38
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-component.js +32 -12
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- 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 +38 -38
- package/esm5/lib/CanvasCellPresenterBase.js +4 -4
- package/esm5/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +2 -2
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +37 -34
- package/esm5/lib/CheckboxListView_combined.js +23 -23
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +3989 -3819
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +5 -5
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm5/lib/ContentCellModelHelper.js +10 -10
- package/esm5/lib/DataGridCellLayoutPanel.js +10 -10
- package/esm5/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm5/lib/DataGridToolbarView_combined.js +1 -1
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/EditorCell.js +277 -277
- package/esm5/lib/EditorCellPresenter.js +26 -26
- package/esm5/lib/FilterCell.js +259 -259
- package/esm5/lib/FilterCellPresenter.js +15 -15
- package/esm5/lib/GridCellBase.js +164 -143
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +4 -4
- 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 +1 -1
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +2 -2
- package/esm5/lib/ImageCell.js +57 -57
- package/esm5/lib/ImageCellPresenter.js +15 -15
- package/esm5/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm5/lib/NumericCell.js +8 -8
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +19 -19
- package/esm5/lib/SectionHeaderCell.js +20 -20
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +45 -45
- package/esm5/lib/SummaryCellPresenter.js +10 -10
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +3 -3
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm5/lib/TemplateSectionHeader.js +1 -1
- package/esm5/lib/TextCell.js +29 -29
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +182 -182
- package/esm5/lib/TextHeaderCellPresenter.js +52 -52
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igc-cell-info.js +94 -81
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +228 -214
- package/esm5/lib/igc-data-grid-component.js +14 -0
- 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-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- 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 +39 -26
- package/esm5/lib/igc-numeric-column-component.js +38 -38
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-component.js +40 -12
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- 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 +38 -38
- package/fesm2015/igniteui-webcomponents-data-grids.js +6274 -6050
- package/fesm5/igniteui-webcomponents-data-grids.js +6134 -5858
- package/lib/ColumnFilterCondition_combined.d.ts +1077 -1053
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +64 -61
- package/lib/ImageCell.d.ts +17 -17
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +4 -4
- package/lib/SummaryCell.d.ts +10 -10
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +1 -1
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +30 -30
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igc-cell-info.d.ts +5 -0
- package/lib/igc-data-grid-column-component.d.ts +5 -0
- package/lib/igc-data-grid-component.d.ts +5 -0
- package/lib/igc-numeric-cell-info.d.ts +5 -0
- package/lib/igc-section-header-component.d.ts +10 -0
- package/package.json +4 -4
|
@@ -26,151 +26,151 @@ export class IgcTextHeaderCellInfo extends IgcTextCellInfo {
|
|
|
26
26
|
* Sets or gets whether the filter UI should be visible in the header.
|
|
27
27
|
*/
|
|
28
28
|
get isColumnOptionsEnabled() {
|
|
29
|
-
return this.i.
|
|
29
|
+
return this.i.oq;
|
|
30
30
|
}
|
|
31
31
|
set isColumnOptionsEnabled(v) {
|
|
32
|
-
this.i.
|
|
32
|
+
this.i.oq = ensureBool(v);
|
|
33
33
|
}
|
|
34
34
|
get sortIndicatorStyle() {
|
|
35
|
-
return this.i.
|
|
35
|
+
return this.i.oi;
|
|
36
36
|
}
|
|
37
37
|
set sortIndicatorStyle(v) {
|
|
38
|
-
this.i.
|
|
38
|
+
this.i.oi = ensureEnum(SortIndicatorStyle_$type, v);
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Gets or sets the alignment of the column options icon within the header cell.
|
|
42
42
|
*/
|
|
43
43
|
get columnOptionsIconAlignment() {
|
|
44
|
-
return this.i.
|
|
44
|
+
return this.i.oe;
|
|
45
45
|
}
|
|
46
46
|
set columnOptionsIconAlignment(v) {
|
|
47
|
-
this.i.
|
|
47
|
+
this.i.oe = ensureEnum(ColumnOptionsIconAlignment_$type, v);
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Gets or sets the color for the column options icon in the header.
|
|
51
51
|
*/
|
|
52
52
|
get columnOptionsIconColor() {
|
|
53
|
-
return brushToString(this.i.
|
|
53
|
+
return brushToString(this.i.p9);
|
|
54
54
|
}
|
|
55
55
|
set columnOptionsIconColor(v) {
|
|
56
|
-
this.i.
|
|
56
|
+
this.i.p9 = stringToBrush(v);
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* Gets or sets how the column option icon will behave in the header.
|
|
60
60
|
*/
|
|
61
61
|
get columnOptionsIconBehavior() {
|
|
62
|
-
return this.i.
|
|
62
|
+
return this.i.og;
|
|
63
63
|
}
|
|
64
64
|
set columnOptionsIconBehavior(v) {
|
|
65
|
-
this.i.
|
|
65
|
+
this.i.og = ensureEnum(ColumnOptionsIconBehavior_$type, v);
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* Gets or sets the column options theme.
|
|
69
69
|
*/
|
|
70
70
|
get columnOptionsTheme() {
|
|
71
|
-
return this.i.
|
|
71
|
+
return this.i.ok;
|
|
72
72
|
}
|
|
73
73
|
set columnOptionsTheme(v) {
|
|
74
|
-
this.i.
|
|
74
|
+
this.i.ok = ensureEnum(BaseControlTheme_$type, v);
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
77
|
* Gets or sets the column options dropdown background color.
|
|
78
78
|
*/
|
|
79
79
|
get columnOptionsBackground() {
|
|
80
|
-
return brushToString(this.i.
|
|
80
|
+
return brushToString(this.i.p4);
|
|
81
81
|
}
|
|
82
82
|
set columnOptionsBackground(v) {
|
|
83
|
-
this.i.
|
|
83
|
+
this.i.p4 = stringToBrush(v);
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
86
|
* Gets or sets the text color for text inside the column options menu.
|
|
87
87
|
*/
|
|
88
88
|
get columnOptionsTextColor() {
|
|
89
|
-
return brushToString(this.i.
|
|
89
|
+
return brushToString(this.i.qb);
|
|
90
90
|
}
|
|
91
91
|
set columnOptionsTextColor(v) {
|
|
92
|
-
this.i.
|
|
92
|
+
this.i.qb = stringToBrush(v);
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
95
|
* Gets or sets the font settings for text inside the column options menu.
|
|
96
96
|
*/
|
|
97
97
|
get columnOptionsTextStyle() {
|
|
98
|
-
if (this.i.
|
|
98
|
+
if (this.i.oo == null) {
|
|
99
99
|
return null;
|
|
100
100
|
}
|
|
101
|
-
return this.i.
|
|
101
|
+
return this.i.oo.fontString;
|
|
102
102
|
}
|
|
103
103
|
set columnOptionsTextStyle(v) {
|
|
104
104
|
let fi = new FontInfo();
|
|
105
105
|
fi.fontString = v;
|
|
106
|
-
this.i.
|
|
106
|
+
this.i.oo = fi;
|
|
107
107
|
}
|
|
108
108
|
get columnOptionsHoverBackgroundColor() {
|
|
109
|
-
return brushToString(this.i.
|
|
109
|
+
return brushToString(this.i.p8);
|
|
110
110
|
}
|
|
111
111
|
set columnOptionsHoverBackgroundColor(v) {
|
|
112
|
-
this.i.
|
|
112
|
+
this.i.p8 = stringToBrush(v);
|
|
113
113
|
}
|
|
114
114
|
get columnOptionsToolTipBackgroundColor() {
|
|
115
|
-
return brushToString(this.i.
|
|
115
|
+
return brushToString(this.i.qc);
|
|
116
116
|
}
|
|
117
117
|
set columnOptionsToolTipBackgroundColor(v) {
|
|
118
|
-
this.i.
|
|
118
|
+
this.i.qc = stringToBrush(v);
|
|
119
119
|
}
|
|
120
120
|
get columnOptionsHighlightColor() {
|
|
121
|
-
return brushToString(this.i.
|
|
121
|
+
return brushToString(this.i.p7);
|
|
122
122
|
}
|
|
123
123
|
set columnOptionsHighlightColor(v) {
|
|
124
|
-
this.i.
|
|
124
|
+
this.i.p7 = stringToBrush(v);
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
127
|
* Gets or sets the color of separators inside the column options menu.
|
|
128
128
|
*/
|
|
129
129
|
get columnOptionsSeparatorColor() {
|
|
130
|
-
return brushToString(this.i.
|
|
130
|
+
return brushToString(this.i.qa);
|
|
131
131
|
}
|
|
132
132
|
set columnOptionsSeparatorColor(v) {
|
|
133
|
-
this.i.
|
|
133
|
+
this.i.qa = stringToBrush(v);
|
|
134
134
|
}
|
|
135
135
|
/**
|
|
136
136
|
* Gets or sets the background color for group headers inside the column options menu.
|
|
137
137
|
*/
|
|
138
138
|
get columnOptionsGroupHeaderBackground() {
|
|
139
|
-
return brushToString(this.i.
|
|
139
|
+
return brushToString(this.i.p5);
|
|
140
140
|
}
|
|
141
141
|
set columnOptionsGroupHeaderBackground(v) {
|
|
142
|
-
this.i.
|
|
142
|
+
this.i.p5 = stringToBrush(v);
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
145
|
* Gets or sets the text color for group headers inside the column options menu.
|
|
146
146
|
*/
|
|
147
147
|
get columnOptionsGroupHeaderTextColor() {
|
|
148
|
-
return brushToString(this.i.
|
|
148
|
+
return brushToString(this.i.p6);
|
|
149
149
|
}
|
|
150
150
|
set columnOptionsGroupHeaderTextColor(v) {
|
|
151
|
-
this.i.
|
|
151
|
+
this.i.p6 = stringToBrush(v);
|
|
152
152
|
}
|
|
153
153
|
get columnOptionsGroupHeaderTextStyle() {
|
|
154
|
-
if (this.i.
|
|
154
|
+
if (this.i.on == null) {
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
return this.i.
|
|
157
|
+
return this.i.on.fontString;
|
|
158
158
|
}
|
|
159
159
|
set columnOptionsGroupHeaderTextStyle(v) {
|
|
160
160
|
let fi = new FontInfo();
|
|
161
161
|
fi.fontString = v;
|
|
162
|
-
this.i.
|
|
162
|
+
this.i.on = fi;
|
|
163
163
|
}
|
|
164
164
|
get columnOptionsAccentColor() {
|
|
165
|
-
return brushToString(this.i.
|
|
165
|
+
return brushToString(this.i.p3);
|
|
166
166
|
}
|
|
167
167
|
set columnOptionsAccentColor(v) {
|
|
168
|
-
this.i.
|
|
168
|
+
this.i.p3 = stringToBrush(v);
|
|
169
169
|
}
|
|
170
170
|
get columnOptionsRowHeight() {
|
|
171
|
-
return this.i.
|
|
171
|
+
return this.i.o2;
|
|
172
172
|
}
|
|
173
173
|
set columnOptionsRowHeight(v) {
|
|
174
|
-
this.i.
|
|
174
|
+
this.i.o2 = +v;
|
|
175
175
|
}
|
|
176
176
|
}
|
|
@@ -29,18 +29,18 @@ export var CanvasCellPresenterBase = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
29
29
|
this.a.cn(a.ez, a.e3, a.e1, a.ex);
|
|
30
30
|
}
|
|
31
31
|
if (a.a5) {
|
|
32
|
-
this.a.ch(a.
|
|
32
|
+
this.a.ch(a.nk, a.en, a.es, a.eq, a.el);
|
|
33
33
|
}
|
|
34
34
|
if (a.bs) {
|
|
35
|
-
this.a.ck(a.
|
|
36
|
-
this.a.cu(a.
|
|
35
|
+
this.a.ck(a.ga);
|
|
36
|
+
this.a.cu(a.h8);
|
|
37
37
|
}
|
|
38
38
|
if (a.a7) {
|
|
39
39
|
if (a.bm && !this.a.z) {
|
|
40
40
|
this.a.b5();
|
|
41
41
|
}
|
|
42
42
|
if (a.bc(CellModel.ek)) {
|
|
43
|
-
this.a.cg(a.
|
|
43
|
+
this.a.cg(a.nj.color);
|
|
44
44
|
}
|
|
45
45
|
if (a.bc(CellModel.ew)) {
|
|
46
46
|
this.a.cm(a.cq);
|
|
@@ -25,7 +25,7 @@ export var CanvasContentCellModelHelper = /** @class */ /*@__PURE__*/ (function
|
|
|
25
25
|
};
|
|
26
26
|
CanvasContentCellModelHelper.a = function (a, b, c) {
|
|
27
27
|
if (b.a7) {
|
|
28
|
-
if (b.bc(CellModel.fp) || b.bc(CellModel.eu) || b.bc(CellModel.
|
|
28
|
+
if (b.bc(CellModel.fp) || b.bc(CellModel.eu) || b.bc(CellModel.h7) || b.bb("IsRowPinned") || b.bb("IsRowSticky") || b.bb("PinnedRowOpacity")) {
|
|
29
29
|
var d = Math.min(1, Math.max(0, b.c7));
|
|
30
30
|
var e = b.cp * (1 - d);
|
|
31
31
|
c.ci(e);
|
|
@@ -34,14 +34,14 @@ export var CanvasContentCellModelHelper = /** @class */ /*@__PURE__*/ (function
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
if (b.bc(CellModel.e5)) {
|
|
37
|
-
CanvasContentCellModelHelper.c(c, b.
|
|
37
|
+
CanvasContentCellModelHelper.c(c, b.nl);
|
|
38
38
|
if (b.bm) {
|
|
39
|
-
c.cw(b.
|
|
39
|
+
c.cw(b.nl);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
if (b.bc(CellModel.
|
|
42
|
+
if (b.bc(CellModel.gw)) {
|
|
43
43
|
}
|
|
44
|
-
if (b.bc(CellModel.
|
|
44
|
+
if (b.bc(CellModel.gc) || b.bc(CellModel.h6)) {
|
|
45
45
|
var f = b.g;
|
|
46
46
|
var g = b.i;
|
|
47
47
|
c.cl(f);
|
|
@@ -29,22 +29,22 @@ export var CanvasDateTimeCellPresenter = /** @class */ /*@__PURE__*/ (function (
|
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
31
|
if (a.a7) {
|
|
32
|
-
if (a.bc(DateTimeCellModel.
|
|
32
|
+
if (a.bc(DateTimeCellModel.ol) || a.bc(DateTimeCellModel.om) || a.bc(DateTimeCellModel.ok) || a.bc(DateTimeCellModel.gz) || a.bc(DateTimeCellModel.h5)) {
|
|
33
33
|
this.e(b);
|
|
34
|
-
this.d.cr(b.
|
|
34
|
+
this.d.cr(b.k1);
|
|
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.ly != null) {
|
|
41
|
+
a.k1 = a.ly;
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
a.
|
|
45
|
-
if (a.
|
|
46
|
-
if (!(typeCast(Date_$type, a.
|
|
47
|
-
a.
|
|
44
|
+
a.k1 = a.ox(a.oj);
|
|
45
|
+
if (a.k1 == stringEmpty()) {
|
|
46
|
+
if (!(typeCast(Date_$type, a.ii) !== null)) {
|
|
47
|
+
a.k1 = a.ii.toString();
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
};
|
|
@@ -631,8 +631,8 @@ export var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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.h8 * 0.2;
|
|
635
|
+
var d = a.ga * 0.6;
|
|
636
636
|
if (this.a2 >= c && this.a2 <= d) {
|
|
637
637
|
return;
|
|
638
638
|
}
|
|
@@ -29,23 +29,23 @@ export var CanvasImageCellPresenter = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
31
|
if (a.a7) {
|
|
32
|
-
if (a.bc(CellModel.fp) || a.bc(CellModel.
|
|
32
|
+
if (a.bc(CellModel.fp) || a.bc(CellModel.h7)) {
|
|
33
33
|
var c = Math.min(1, Math.max(0, a.c7));
|
|
34
34
|
var d = a.cs * (1 - c);
|
|
35
35
|
this.d.dd = d;
|
|
36
36
|
}
|
|
37
|
-
if (b.bc(ImageCellModel.
|
|
38
|
-
this.e(b.
|
|
37
|
+
if (b.bc(ImageCellModel.od) || b.bc(ImageCellModel.oe)) {
|
|
38
|
+
this.e(b.oh, b.oa);
|
|
39
39
|
}
|
|
40
|
-
if (b.bc(ImageCellModel.
|
|
41
|
-
this.f(b.
|
|
40
|
+
if (b.bc(ImageCellModel.of) || b.bc(ImageCellModel.gc) || b.bc(ImageCellModel.h6)) {
|
|
41
|
+
this.f(b.oc, b.g, b.i);
|
|
42
42
|
}
|
|
43
|
-
if (b.bc(ImageCellModel.
|
|
43
|
+
if (b.bc(ImageCellModel.hn)) {
|
|
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.oh, b.oa);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -29,20 +29,20 @@ export var CanvasNumericCellPresenter = /** @class */ /*@__PURE__*/ (function (_
|
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
31
|
if (a.a7) {
|
|
32
|
-
if (a.bc(NumericCellModel.
|
|
33
|
-
b.
|
|
34
|
-
this.d.cr(b.
|
|
32
|
+
if (a.bc(NumericCellModel.o1) || a.bc(NumericCellModel.oo) || a.bc(NumericCellModel.h5) || b.og()) {
|
|
33
|
+
b.k1 = this.e(b);
|
|
34
|
+
this.d.cr(b.k1);
|
|
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.ly != null) {
|
|
41
|
+
return a.ly;
|
|
42
42
|
}
|
|
43
|
-
if (a.
|
|
44
|
-
var val_ = a.
|
|
45
|
-
var override_ = a.
|
|
43
|
+
if (a.o7 != null) {
|
|
44
|
+
var val_ = a.ok;
|
|
45
|
+
var override_ = a.o7;
|
|
46
46
|
return (override_.format(val_));
|
|
47
47
|
}
|
|
48
48
|
return NumericCellFormatter.c(a);
|
|
@@ -28,24 +28,24 @@ export var CanvasSectionHeaderCellPresenter = /** @class */ /*@__PURE__*/ (funct
|
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
30
|
if (a.a7) {
|
|
31
|
-
if (a.bc(SectionHeaderCellModel.
|
|
32
|
-
if (b.
|
|
33
|
-
if (b.
|
|
34
|
-
b.
|
|
31
|
+
if (a.bc(SectionHeaderCellModel.of) || a.bc(SectionHeaderCellModel.oh)) {
|
|
32
|
+
if (b.ob == null || (b.ob.length == 0 && b.op == null)) {
|
|
33
|
+
if (b.ii == null) {
|
|
34
|
+
b.k1 = "";
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
37
|
-
b.
|
|
37
|
+
b.k1 = b.ii.toString();
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
if (b.
|
|
42
|
-
b.
|
|
41
|
+
if (b.on != null && b.oe == 0) {
|
|
42
|
+
b.k1 = b.op + " " + b.on;
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
|
-
b.
|
|
45
|
+
b.k1 = b.op;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
this.d.cr(b.
|
|
48
|
+
this.d.cr(b.k1);
|
|
49
49
|
}
|
|
50
50
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
51
51
|
}
|
|
@@ -27,18 +27,18 @@ export var CanvasSummaryCellPresenter = /** @class */ /*@__PURE__*/ (function (_
|
|
|
27
27
|
_super.prototype.b.call(this, a);
|
|
28
28
|
var b = a;
|
|
29
29
|
if (a.a7) {
|
|
30
|
+
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
30
31
|
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
31
|
-
this.d.dj(b.
|
|
32
|
-
this.d.cr(b.
|
|
32
|
+
this.d.dj(b.oh);
|
|
33
|
+
this.d.cr(b.oj);
|
|
33
34
|
}
|
|
34
35
|
if (a.bb("SummaryLabelTextColor")) {
|
|
35
|
-
var c = CanvasContentCellModelHelper.e(b.
|
|
36
|
+
var c = CanvasContentCellModelHelper.e(b.oo);
|
|
36
37
|
this.d.dk(c);
|
|
37
38
|
}
|
|
38
|
-
if (a.bb("FontInfo")) {
|
|
39
|
-
this.d.dl(b.
|
|
39
|
+
if (a.bb("FontInfo") || a.bb("SummaryLabelFontInfo")) {
|
|
40
|
+
this.d.dl(b.oa);
|
|
40
41
|
}
|
|
41
|
-
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
CanvasSummaryCellPresenter.$t = markType(CanvasSummaryCellPresenter, 'CanvasSummaryCellPresenter', CanvasCellPresenterBase.$);
|
|
@@ -30,13 +30,13 @@ export var CanvasTemplateCellPresenter = /** @class */ /*@__PURE__*/ (function (
|
|
|
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.bc(CellModel.fp) || a.bc(CellModel.
|
|
33
|
+
if (a.bc(CellModel.fp) || a.bc(CellModel.h7)) {
|
|
34
34
|
var d = Math.min(1, Math.max(0, a.c7));
|
|
35
35
|
var e = a.cs * (1 - d);
|
|
36
36
|
this.d.db.opacity = e;
|
|
37
37
|
}
|
|
38
38
|
this.d.dc();
|
|
39
|
-
c.
|
|
39
|
+
c.r8(a, this.d);
|
|
40
40
|
};
|
|
41
41
|
CanvasTemplateCellPresenter.$t = markType(CanvasTemplateCellPresenter, 'CanvasTemplateCellPresenter', CanvasCellPresenterBase.$);
|
|
42
42
|
return CanvasTemplateCellPresenter;
|
|
@@ -30,7 +30,7 @@ export var CanvasTemplateHeaderCellPresenter = /** @class */ /*@__PURE__*/ (func
|
|
|
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.bc(CellModel.fp) || a.bc(CellModel.
|
|
33
|
+
if (a.bc(CellModel.fp) || a.bc(CellModel.h7)) {
|
|
34
34
|
var d = Math.min(1, Math.max(0, a.c7));
|
|
35
35
|
var e = a.cs * (1 - d);
|
|
36
36
|
}
|
|
@@ -28,26 +28,26 @@ export var CanvasTextCellPresenter = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
30
|
if (a.a7) {
|
|
31
|
-
if (a.bc(TextCellModel.
|
|
32
|
-
b.
|
|
33
|
-
this.d.cr(b.
|
|
31
|
+
if (a.bc(TextCellModel.n9) || a.bc(TextCellModel.h5) || a.bc(TextCellModel.gz)) {
|
|
32
|
+
b.k1 = this.e(b);
|
|
33
|
+
this.d.cr(b.k1);
|
|
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.ly != null) {
|
|
40
|
+
return a.ly;
|
|
41
41
|
}
|
|
42
|
-
if (a.
|
|
43
|
-
return a.
|
|
42
|
+
if (a.ob != null) {
|
|
43
|
+
return a.ob;
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
|
-
if (a.
|
|
46
|
+
if (a.ii == null) {
|
|
47
47
|
return "";
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
|
-
return a.
|
|
50
|
+
return a.ii.toString();
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
};
|
|
@@ -36,11 +36,11 @@ export var CanvasTextHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function
|
|
|
36
36
|
_super.prototype.b.call(this, a);
|
|
37
37
|
var b = a;
|
|
38
38
|
if (a.a7) {
|
|
39
|
-
if (a.bc(TextCellModel.
|
|
40
|
-
b.
|
|
41
|
-
this.d.cr(b.
|
|
39
|
+
if (a.bc(TextCellModel.n9)) {
|
|
40
|
+
b.k1 = b.ob;
|
|
41
|
+
this.d.cr(b.k1);
|
|
42
42
|
}
|
|
43
|
-
if (a.bc(CellModel.
|
|
43
|
+
if (a.bc(CellModel.hl)) {
|
|
44
44
|
if (a.bt) {
|
|
45
45
|
this.d.db.m = false;
|
|
46
46
|
}
|
|
@@ -54,17 +54,17 @@ export var CanvasTextHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function
|
|
|
54
54
|
this.d.db.m = true;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
if (a.bc(CellModel.
|
|
57
|
+
if (a.bc(CellModel.hm)) {
|
|
58
58
|
if (a.bt) {
|
|
59
59
|
this.d.db.m = false;
|
|
60
60
|
}
|
|
61
|
-
this.d.db.a3 = a.
|
|
61
|
+
this.d.db.a3 = a.n1;
|
|
62
62
|
if (a.bt) {
|
|
63
63
|
this.d.db.m = true;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
if (a.bb("SortIndicatorStyle")) {
|
|
67
|
-
this.d.db.f = b.
|
|
67
|
+
this.d.db.f = b.oi;
|
|
68
68
|
}
|
|
69
69
|
CanvasContentCellModelHelper.a(this.a.bq, b, this.a);
|
|
70
70
|
}
|
|
@@ -25,86 +25,89 @@ export var CellPresenterBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25
25
|
this.b(a);
|
|
26
26
|
};
|
|
27
27
|
CellPresenterBase.prototype.b = function (a) {
|
|
28
|
-
this.a.
|
|
29
|
-
this.a.
|
|
30
|
-
this.a.
|
|
31
|
-
this.a.
|
|
32
|
-
if (a.bc(CellModel.
|
|
28
|
+
this.a.cw(a.c);
|
|
29
|
+
this.a.c5(a.e);
|
|
30
|
+
this.a.cz(a.d);
|
|
31
|
+
this.a.ck();
|
|
32
|
+
if (a.bc(CellModel.go)) {
|
|
33
33
|
this.a.ad = a.bh;
|
|
34
34
|
}
|
|
35
35
|
if (a.bc(CellModel.e0) || a.bc(CellModel.e4) || a.bc(CellModel.e2) || a.bc(CellModel.ey)) {
|
|
36
|
-
this.a.
|
|
36
|
+
this.a.c7(a.ez, a.e3, a.e1, a.ex);
|
|
37
37
|
}
|
|
38
38
|
if (a.a5) {
|
|
39
|
-
this.a.
|
|
39
|
+
this.a.cy(a.nk, a.en, a.es, a.eq, a.el);
|
|
40
40
|
if (a.bc(CellModel.ej)) {
|
|
41
41
|
if (!a.bj && a.p.i8 && a.bg && a.co == 1) {
|
|
42
|
-
this.a.
|
|
42
|
+
this.a.ca();
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
if (a.bs) {
|
|
47
|
-
this.a.
|
|
48
|
-
this.a.
|
|
47
|
+
this.a.c2(a.ga, (a.e3 + a.ex + a.es + a.el));
|
|
48
|
+
this.a.dd(a.h8, (a.ez + a.e1 + a.en + a.eq));
|
|
49
49
|
}
|
|
50
50
|
if (a.a7) {
|
|
51
51
|
if (a.bm && !this.a.z) {
|
|
52
|
-
this.a.
|
|
52
|
+
this.a.b9();
|
|
53
53
|
}
|
|
54
54
|
if (a.bc(CellModel.ek)) {
|
|
55
|
-
this.a.
|
|
55
|
+
this.a.cx(a.nj.color);
|
|
56
56
|
}
|
|
57
57
|
if (a.bc(CellModel.ew)) {
|
|
58
|
-
this.a.
|
|
58
|
+
this.a.c6(a.cq);
|
|
59
59
|
}
|
|
60
60
|
if (a.bb("IsCollapsable")) {
|
|
61
61
|
this.a.aa = a.a6;
|
|
62
|
-
this.a.bi = a.
|
|
62
|
+
this.a.bi = a.gg;
|
|
63
63
|
this.a.ab = a.be;
|
|
64
|
-
this.a.
|
|
64
|
+
this.a.dd(a.h8, (a.ez + a.e1 + a.en + a.eq));
|
|
65
65
|
}
|
|
66
66
|
if (a.bb("Indent")) {
|
|
67
|
-
this.a.bi = a.
|
|
68
|
-
this.a.
|
|
67
|
+
this.a.bi = a.gg;
|
|
68
|
+
this.a.dd(a.h8, (a.ez + a.e1 + a.en + a.eq));
|
|
69
69
|
}
|
|
70
70
|
if (a.bb("IsExpanded")) {
|
|
71
71
|
this.a.ab = a.be;
|
|
72
72
|
}
|
|
73
|
-
if (a.
|
|
74
|
-
this.a.
|
|
73
|
+
if (a.bb("IsCollapsable") || a.bb("ExpansionIndicatorIconColor")) {
|
|
74
|
+
this.a.dt = a.ns;
|
|
75
75
|
}
|
|
76
|
-
if (a.bc(CellModel.
|
|
77
|
-
this.a.
|
|
76
|
+
if (a.bc(CellModel.h0)) {
|
|
77
|
+
this.a.b4 = a.lp;
|
|
78
78
|
}
|
|
79
79
|
if (a.bc(CellModel.hy)) {
|
|
80
|
-
this.a.
|
|
80
|
+
this.a.dw = a.n5;
|
|
81
81
|
}
|
|
82
|
-
if (a.bc(CellModel.
|
|
83
|
-
this.a.
|
|
84
|
-
}
|
|
85
|
-
if (a.bc(CellModel.ho)) {
|
|
86
|
-
this.a.bv = a.lc;
|
|
82
|
+
if (a.bc(CellModel.hz)) {
|
|
83
|
+
this.a.n = a.ak;
|
|
87
84
|
}
|
|
88
85
|
if (a.bc(CellModel.hr)) {
|
|
89
|
-
this.a.
|
|
86
|
+
this.a.bz = a.lh;
|
|
90
87
|
}
|
|
91
88
|
if (a.bc(CellModel.hp)) {
|
|
92
|
-
this.a.
|
|
89
|
+
this.a.bw = a.le;
|
|
90
|
+
}
|
|
91
|
+
if (a.bc(CellModel.hs)) {
|
|
92
|
+
this.a.dv = a.n4;
|
|
93
|
+
}
|
|
94
|
+
if (a.bc(CellModel.hq)) {
|
|
95
|
+
this.a.du = a.n3;
|
|
93
96
|
}
|
|
94
|
-
if (a.bc(CellModel.
|
|
97
|
+
if (a.bc(CellModel.hx)) {
|
|
95
98
|
this.a.aj = a.c4;
|
|
96
99
|
}
|
|
97
|
-
if (a.bc(CellModel.
|
|
98
|
-
this.a.
|
|
100
|
+
if (a.bc(CellModel.hu) || a.bc(CellModel.hv) || a.bc(CellModel.hw) || a.bc(CellModel.hw)) {
|
|
101
|
+
this.a.dy = new Rect(0, a.c1, a.c2, a.c3, a.c0);
|
|
99
102
|
}
|
|
100
103
|
}
|
|
101
104
|
if (a.bs && a.bm) {
|
|
102
|
-
this.a.
|
|
105
|
+
this.a.dl(a);
|
|
103
106
|
}
|
|
104
107
|
if (a.bb("DoClone")) {
|
|
105
108
|
if (a.a1) {
|
|
106
109
|
a.a1 = false;
|
|
107
|
-
this.a.
|
|
110
|
+
this.a.b8();
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
};
|