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
|
@@ -147,7 +147,7 @@ let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
147
147
|
if (this.c != null && this.c.filterUIType != 0) {
|
|
148
148
|
return false;
|
|
149
149
|
}
|
|
150
|
-
if (!this.column.
|
|
150
|
+
if (!this.column.j9) {
|
|
151
151
|
return false;
|
|
152
152
|
}
|
|
153
153
|
if (this.c == null || this.c.actualDataSource == null || !this.c.actualDataSource.isGroupingSupported || !this.c.actualDataSource.isFilteringSupported) {
|
|
@@ -296,7 +296,7 @@ let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
296
296
|
}
|
|
297
297
|
this.column.g5 = i;
|
|
298
298
|
}
|
|
299
|
-
this.column.
|
|
299
|
+
this.column.pf("Filtered");
|
|
300
300
|
}
|
|
301
301
|
provideClearFiltersSection(a) {
|
|
302
302
|
this.bw.ah(a);
|
|
@@ -338,7 +338,7 @@ let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
338
338
|
co() {
|
|
339
339
|
let a = this.column;
|
|
340
340
|
let b = this.c;
|
|
341
|
-
let c = (null != a) ? a.
|
|
341
|
+
let c = (null != a) ? a.nj : null;
|
|
342
342
|
let d = null;
|
|
343
343
|
let e = null;
|
|
344
344
|
if (b != null) {
|
|
@@ -398,7 +398,7 @@ let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
398
398
|
}
|
|
399
399
|
cv() {
|
|
400
400
|
let a = this.column;
|
|
401
|
-
let b = (null != a) ? a.
|
|
401
|
+
let b = (null != a) ? a.nj : null;
|
|
402
402
|
let c = true;
|
|
403
403
|
let d = toNullable(ColumnComparisonConditionOperatorType_$type, null);
|
|
404
404
|
let e = this.b4();
|
|
@@ -113,7 +113,7 @@ let GridColumnGroupOptions = /*@__PURE__*/ (() => {
|
|
|
113
113
|
if (null == this.c) {
|
|
114
114
|
return false;
|
|
115
115
|
}
|
|
116
|
-
return this.column.
|
|
116
|
+
return this.column.jy;
|
|
117
117
|
}
|
|
118
118
|
bj(a, b) {
|
|
119
119
|
if (null != a) {
|
|
@@ -154,7 +154,7 @@ let GridColumnGroupOptions = /*@__PURE__*/ (() => {
|
|
|
154
154
|
if (null != a) {
|
|
155
155
|
let c = a.grid;
|
|
156
156
|
if (null != c) {
|
|
157
|
-
let d = a.
|
|
157
|
+
let d = a.nj;
|
|
158
158
|
let e = c.groupDescriptions.j;
|
|
159
159
|
for (let f = 0; f < e.count; f++) {
|
|
160
160
|
let g = e.item(f);
|
|
@@ -179,13 +179,13 @@ let GridColumnGroupOptions = /*@__PURE__*/ (() => {
|
|
|
179
179
|
let a = this.c;
|
|
180
180
|
let b = this.column;
|
|
181
181
|
if (null != a && null != b) {
|
|
182
|
-
let c = new ColumnGroupDescription(1, b.
|
|
182
|
+
let c = new ColumnGroupDescription(1, b.nj);
|
|
183
183
|
let d = b.hv;
|
|
184
184
|
let e = d != 0 ? GridColumnOptionsUtilities.c(d) : 0;
|
|
185
185
|
c.c = e;
|
|
186
186
|
a.groupDescriptions.g(c);
|
|
187
187
|
b.hv = 0;
|
|
188
|
-
b.
|
|
188
|
+
b.pf("Grouped");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
b8() {
|
|
@@ -196,7 +196,7 @@ let GridColumnGroupOptions = /*@__PURE__*/ (() => {
|
|
|
196
196
|
let d = ((() => { let e = this.b3(c); c = e.p0; return e.ret; })());
|
|
197
197
|
if (c != -1) {
|
|
198
198
|
a.groupDescriptions.d(c);
|
|
199
|
-
b.
|
|
199
|
+
b.pf("Grouped");
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
}
|
|
@@ -127,15 +127,15 @@ let GridColumnHideOptions = /*@__PURE__*/ (() => {
|
|
|
127
127
|
get b3() {
|
|
128
128
|
let a = this.column;
|
|
129
129
|
if (null != a) {
|
|
130
|
-
return a.
|
|
130
|
+
return a.kb;
|
|
131
131
|
}
|
|
132
132
|
return false;
|
|
133
133
|
}
|
|
134
134
|
set b3(a) {
|
|
135
135
|
let b = this.column;
|
|
136
136
|
if (null != b) {
|
|
137
|
-
b.
|
|
138
|
-
b.
|
|
137
|
+
b.kb = a;
|
|
138
|
+
b.pf("Hidden");
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
get b2() {
|
|
@@ -292,7 +292,7 @@ let GridColumnOptions = /*@__PURE__*/ (() => {
|
|
|
292
292
|
}
|
|
293
293
|
get dx() {
|
|
294
294
|
let a = this.column;
|
|
295
|
-
return (null != a) ? a.
|
|
295
|
+
return (null != a) ? a.ml : "(No column selected)";
|
|
296
296
|
}
|
|
297
297
|
get ci() {
|
|
298
298
|
if (null == this.ch) {
|
|
@@ -124,7 +124,7 @@ let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
|
|
|
124
124
|
if (this.c == null || this.column == null) {
|
|
125
125
|
return false;
|
|
126
126
|
}
|
|
127
|
-
return this.column.
|
|
127
|
+
return this.column.jz && this.c.summaryScope != 3;
|
|
128
128
|
}
|
|
129
129
|
be(a, b, c) {
|
|
130
130
|
super.be(a, b, c);
|
|
@@ -154,7 +154,7 @@ let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
|
|
|
154
154
|
if (this.bw != null) {
|
|
155
155
|
let a = this.bw.a();
|
|
156
156
|
for (let b = 0; b < a.length; b++) {
|
|
157
|
-
let c = new ColumnSummaryDescription(1, this.column.
|
|
157
|
+
let c = new ColumnSummaryDescription(1, this.column.nj);
|
|
158
158
|
switch (a[b]) {
|
|
159
159
|
case "avg":
|
|
160
160
|
c.i = 3;
|
|
@@ -174,7 +174,7 @@ let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
|
|
|
174
174
|
}
|
|
175
175
|
for (let d = 0; d < this.c.summaryDescriptions.j.count; d++) {
|
|
176
176
|
let e = this.c.summaryDescriptions.j.item(d);
|
|
177
|
-
if (e.ah == this.column.
|
|
177
|
+
if (e.ah == this.column.nj && e.i == c.i) {
|
|
178
178
|
this.c.summaryDescriptions.j.removeAt(d);
|
|
179
179
|
d--;
|
|
180
180
|
}
|
|
@@ -182,7 +182,7 @@ let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
|
|
|
182
182
|
}
|
|
183
183
|
let f = this.bw.b();
|
|
184
184
|
for (let g = 0; g < f.length; g++) {
|
|
185
|
-
let h = new ColumnSummaryDescription(1, this.column.
|
|
185
|
+
let h = new ColumnSummaryDescription(1, this.column.nj);
|
|
186
186
|
switch (f[g]) {
|
|
187
187
|
case "avg":
|
|
188
188
|
h.i = 3;
|
|
@@ -203,14 +203,14 @@ let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
|
|
|
203
203
|
let i = false;
|
|
204
204
|
for (let j = 0; j < this.c.summaryDescriptions.j.count; j++) {
|
|
205
205
|
let k = this.c.summaryDescriptions.j.item(j);
|
|
206
|
-
if (k.ah == this.column.
|
|
206
|
+
if (k.ah == this.column.nj && k.i == h.i) {
|
|
207
207
|
i = true;
|
|
208
208
|
break;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
if (!i) {
|
|
212
212
|
this.c.summaryDescriptions.j.add(h);
|
|
213
|
-
this.column.
|
|
213
|
+
this.column.pf("Summed");
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
}
|
|
@@ -229,7 +229,7 @@ let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
|
|
|
229
229
|
this.b7 = 0;
|
|
230
230
|
for (let a = 0; a < this.c.summaryDescriptions.j.count; a++) {
|
|
231
231
|
let b = this.c.summaryDescriptions.j.item(a);
|
|
232
|
-
if (b.ah == this.column.
|
|
232
|
+
if (b.ah == this.column.nj) {
|
|
233
233
|
switch (b.i) {
|
|
234
234
|
case 3:
|
|
235
235
|
this.bw.a4("avg", true);
|
|
@@ -32,7 +32,7 @@ let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
32
32
|
let column_ = TypeRegistrar.create("IgxTextColumnComponent");
|
|
33
33
|
let b = (column_._implementation);
|
|
34
34
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
35
|
-
b.
|
|
35
|
+
b.nj = a;
|
|
36
36
|
return b;
|
|
37
37
|
}
|
|
38
38
|
return null;
|
|
@@ -42,7 +42,7 @@ let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
42
42
|
let column_ = TypeRegistrar.create("IgxNumericColumnComponent");
|
|
43
43
|
let b = (column_._implementation);
|
|
44
44
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
45
|
-
b.
|
|
45
|
+
b.nj = a;
|
|
46
46
|
return b;
|
|
47
47
|
}
|
|
48
48
|
return null;
|
|
@@ -52,7 +52,7 @@ let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
52
52
|
let column_ = TypeRegistrar.create("IgxDateTimeColumnComponent");
|
|
53
53
|
let b = (column_._implementation);
|
|
54
54
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
55
|
-
b.
|
|
55
|
+
b.nj = a;
|
|
56
56
|
return b;
|
|
57
57
|
}
|
|
58
58
|
return null;
|
|
@@ -62,7 +62,7 @@ let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
62
62
|
let column_ = TypeRegistrar.create("IgxImageColumnComponent");
|
|
63
63
|
let b = (column_._implementation);
|
|
64
64
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
65
|
-
b.
|
|
65
|
+
b.nj = a;
|
|
66
66
|
return b;
|
|
67
67
|
}
|
|
68
68
|
return null;
|
|
@@ -72,7 +72,7 @@ let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
72
72
|
let column_ = TypeRegistrar.create("IgxTemplateColumnComponent");
|
|
73
73
|
let b = (column_._implementation);
|
|
74
74
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
75
|
-
b.
|
|
75
|
+
b.nj = a;
|
|
76
76
|
return b;
|
|
77
77
|
}
|
|
78
78
|
return null;
|
|
@@ -82,7 +82,7 @@ let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
82
82
|
let column_ = TypeRegistrar.create("IgxComboBoxColumnComponent");
|
|
83
83
|
let b = (column_._implementation);
|
|
84
84
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
85
|
-
b.
|
|
85
|
+
b.nj = a;
|
|
86
86
|
return b;
|
|
87
87
|
}
|
|
88
88
|
return null;
|
|
@@ -732,9 +732,9 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
732
732
|
}
|
|
733
733
|
if (this.n != null) {
|
|
734
734
|
if (this.n.grid != null) {
|
|
735
|
-
this.n.grid.
|
|
735
|
+
this.n.grid.wg();
|
|
736
736
|
}
|
|
737
|
-
this.n.
|
|
737
|
+
this.n.pb();
|
|
738
738
|
}
|
|
739
739
|
if (this.dialogOpening != null) {
|
|
740
740
|
let c = new GridFilterDialogOpeningEventArgs();
|
package/esm2015/lib/ImageCell.js
CHANGED
|
@@ -9,105 +9,105 @@ import { Base, runOn, markType } from "igniteui-webcomponents-core";
|
|
|
9
9
|
import { stringIsNullOrEmpty } from "igniteui-webcomponents-core";
|
|
10
10
|
let ImageCell = /*@__PURE__*/ (() => {
|
|
11
11
|
class ImageCell extends GridCellBase {
|
|
12
|
+
get d6() {
|
|
13
|
+
return this.d5;
|
|
14
|
+
}
|
|
12
15
|
get d3() {
|
|
13
16
|
return this.d2;
|
|
14
17
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
set d0(a) {
|
|
19
|
-
this.dz = a;
|
|
18
|
+
set d3(a) {
|
|
19
|
+
this.d2 = a;
|
|
20
20
|
}
|
|
21
21
|
constructor(a) {
|
|
22
22
|
super(a);
|
|
23
|
-
this.
|
|
24
|
-
this.dw = 1;
|
|
25
|
-
this.dx = 3;
|
|
26
|
-
this.d4 = null;
|
|
27
|
-
this.dy = false;
|
|
23
|
+
this.d5 = null;
|
|
28
24
|
this.dz = 1;
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
25
|
+
this.d0 = 3;
|
|
26
|
+
this.d7 = null;
|
|
27
|
+
this.d1 = false;
|
|
28
|
+
this.d2 = 1;
|
|
29
|
+
this.d4 = null;
|
|
30
|
+
this.d5 = a.createElement("img");
|
|
31
|
+
this.d5.listen("load", runOn(this, this.ea));
|
|
32
|
+
this.d4 = a.createElement("div");
|
|
33
|
+
this.d4.setRawStyleProperty("background-size", "contain");
|
|
34
|
+
this.d4.setRawStyleProperty("background-repeat", "no-repeat");
|
|
35
|
+
this.d4.setRawStyleProperty("background-position", "center");
|
|
36
|
+
this.d4.setRawStyleProperty("width", "100%");
|
|
37
|
+
this.d4.setRawStyleProperty("height", "100%");
|
|
38
38
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
39
39
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
40
|
-
this.ar.append(this.
|
|
40
|
+
this.ar.append(this.d4);
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
this.
|
|
44
|
-
if (!stringIsNullOrEmpty(this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
42
|
+
ea(a) {
|
|
43
|
+
this.d1 = false;
|
|
44
|
+
if (!stringIsNullOrEmpty(this.d7)) {
|
|
45
|
+
this.d4.setRawStyleProperty("opacity", "1");
|
|
46
|
+
this.d4.setRawStyleProperty("background-image", "url(" + this.d7 + ")");
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
if (a == this.
|
|
49
|
+
eb(a, b) {
|
|
50
|
+
if (a == this.d7) {
|
|
51
51
|
return;
|
|
52
52
|
}
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
53
|
+
this.d8();
|
|
54
|
+
this.d4.setRawStyleProperty("opacity", "0");
|
|
55
55
|
if (a == null || a.length == 0) {
|
|
56
|
-
this.
|
|
56
|
+
this.d9(this.d5);
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
|
-
if (Base.equalsStatic(a, this.
|
|
59
|
+
if (Base.equalsStatic(a, this.d7)) {
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
this.
|
|
63
|
-
let img_ = this.
|
|
62
|
+
this.ef(a, b);
|
|
63
|
+
let img_ = this.d5.getNativeElement();
|
|
64
64
|
if (img_ != null && (img_.complete)) {
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
65
|
+
this.d1 = false;
|
|
66
|
+
this.d5.setRawStyleProperty("opacity", "1");
|
|
67
|
+
this.d4.setRawStyleProperty("background-image", "url(" + this.d7 + ")");
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
|
|
70
|
+
d9(a) {
|
|
71
71
|
a.setAttribute("src", "");
|
|
72
|
-
this.
|
|
72
|
+
this.d4.setRawStyleProperty("background-image", "");
|
|
73
73
|
}
|
|
74
|
-
|
|
74
|
+
ee(a) {
|
|
75
75
|
switch (a) {
|
|
76
76
|
case 1:
|
|
77
|
-
this.
|
|
77
|
+
this.d4.setRawStyleProperty("background-size", "100% 100%");
|
|
78
78
|
break;
|
|
79
79
|
case 2:
|
|
80
|
-
this.
|
|
80
|
+
this.d4.setRawStyleProperty("background-size", "auto");
|
|
81
81
|
break;
|
|
82
82
|
case 0:
|
|
83
|
-
this.
|
|
83
|
+
this.d4.setRawStyleProperty("background-size", "contain");
|
|
84
84
|
break;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
|
|
88
|
-
this.
|
|
89
|
-
this.
|
|
90
|
-
this.
|
|
87
|
+
ef(a, b) {
|
|
88
|
+
this.d1 = true;
|
|
89
|
+
this.d7 = a;
|
|
90
|
+
this.d6.setAttribute("src", a);
|
|
91
91
|
}
|
|
92
|
-
|
|
93
|
-
if (this.
|
|
94
|
-
this.
|
|
95
|
-
this.
|
|
92
|
+
d8() {
|
|
93
|
+
if (this.d1) {
|
|
94
|
+
this.d9(this.d5);
|
|
95
|
+
this.d7 = "";
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
this.
|
|
98
|
+
ec(a) {
|
|
99
|
+
this.dz = a;
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
this.
|
|
101
|
+
ed(a) {
|
|
102
|
+
this.d0 = a;
|
|
103
103
|
}
|
|
104
104
|
get_ae() {
|
|
105
105
|
return true;
|
|
106
106
|
}
|
|
107
|
-
|
|
108
|
-
super.
|
|
107
|
+
cl(a, b, c) {
|
|
108
|
+
super.cl(a, b, c);
|
|
109
109
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
110
|
-
this.
|
|
110
|
+
this.d4.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -21,29 +21,29 @@ let ImageCellPresenter = /*@__PURE__*/ (() => {
|
|
|
21
21
|
super.b(a);
|
|
22
22
|
let b = a;
|
|
23
23
|
if (a.a7) {
|
|
24
|
-
if (a.bc(CellModel.fp) || a.bc(CellModel.
|
|
24
|
+
if (a.bc(CellModel.fp) || a.bc(CellModel.h7)) {
|
|
25
25
|
let c = Math.min(1, Math.max(0, a.c7));
|
|
26
26
|
let d = a.cs * (1 - c);
|
|
27
|
-
this.d.
|
|
27
|
+
this.d.d3 = d;
|
|
28
28
|
}
|
|
29
|
-
if (b.bc(ImageCellModel.
|
|
30
|
-
this.e(b.
|
|
29
|
+
if (b.bc(ImageCellModel.od) || b.bc(ImageCellModel.oe)) {
|
|
30
|
+
this.e(b.oh, b.oa);
|
|
31
31
|
}
|
|
32
|
-
if (b.bc(ImageCellModel.
|
|
33
|
-
this.f(b.
|
|
32
|
+
if (b.bc(ImageCellModel.of) || b.bc(ImageCellModel.gc) || b.bc(ImageCellModel.h6)) {
|
|
33
|
+
this.f(b.oc, b.g, b.i);
|
|
34
34
|
}
|
|
35
|
-
if (b.bc(ImageCellModel.
|
|
35
|
+
if (b.bc(ImageCellModel.hn)) {
|
|
36
36
|
if (a.u == 1) {
|
|
37
|
-
this.d.
|
|
37
|
+
this.d.d8();
|
|
38
38
|
}
|
|
39
39
|
else if (a.u == 2) {
|
|
40
|
-
this.e(b.
|
|
40
|
+
this.e(b.oh, b.oa);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
f(a, b, c) {
|
|
46
|
-
this.d.
|
|
46
|
+
this.d.ee(a);
|
|
47
47
|
}
|
|
48
48
|
e(a, b) {
|
|
49
49
|
let c = a.toLowerCase();
|
|
@@ -51,35 +51,35 @@ let ImageCellPresenter = /*@__PURE__*/ (() => {
|
|
|
51
51
|
b = 4;
|
|
52
52
|
}
|
|
53
53
|
if (stringStartsWith(c, "http") || b == 4) {
|
|
54
|
-
this.d.
|
|
54
|
+
this.d.eb(a, 4);
|
|
55
55
|
}
|
|
56
56
|
if (stringStartsWith(c, "asset") || b == 2) {
|
|
57
57
|
let d = a;
|
|
58
58
|
if (stringStartsWith(c, "asset")) {
|
|
59
59
|
d = a.substr(8);
|
|
60
60
|
}
|
|
61
|
-
this.d.
|
|
61
|
+
this.d.eb(d, 2);
|
|
62
62
|
}
|
|
63
63
|
if (stringStartsWith(c, "drawable") || b == 1) {
|
|
64
64
|
let e = a;
|
|
65
65
|
if (stringStartsWith(c, "drawable")) {
|
|
66
66
|
e = a.substr(11);
|
|
67
67
|
}
|
|
68
|
-
this.d.
|
|
68
|
+
this.d.eb(e, 1);
|
|
69
69
|
}
|
|
70
70
|
if (stringStartsWith(c, "nativeresource") || b == 1) {
|
|
71
71
|
let f = a;
|
|
72
72
|
if (stringStartsWith(c, "nativeresource")) {
|
|
73
73
|
f = a.substr(17);
|
|
74
74
|
}
|
|
75
|
-
this.d.
|
|
75
|
+
this.d.eb(f, 1);
|
|
76
76
|
}
|
|
77
77
|
if (stringStartsWith(c, "embeddedresource") || b == 3) {
|
|
78
78
|
let g = a;
|
|
79
79
|
if (stringStartsWith(c, "embeddedresource")) {
|
|
80
80
|
g = a.substr(19);
|
|
81
81
|
}
|
|
82
|
-
this.d.
|
|
82
|
+
this.d.eb(g, 3);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
}
|
|
@@ -677,7 +677,7 @@ let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
677
677
|
}
|
|
678
678
|
let f = this.g;
|
|
679
679
|
let g = this.g.p();
|
|
680
|
-
e = g.
|
|
680
|
+
e = g.no();
|
|
681
681
|
}
|
|
682
682
|
d.d = e;
|
|
683
683
|
d.b = a;
|
|
@@ -2398,7 +2398,7 @@ let MultiColumnComboBox = /*@__PURE__*/ (() => {
|
|
|
2398
2398
|
return c._inner[0];
|
|
2399
2399
|
}
|
|
2400
2400
|
for (let d of fromEnum(c)) {
|
|
2401
|
-
if (0 == StringComparer.b.compare(d.
|
|
2401
|
+
if (0 == StringComparer.b.compare(d.nj, a)) {
|
|
2402
2402
|
return d;
|
|
2403
2403
|
}
|
|
2404
2404
|
}
|
|
@@ -10,18 +10,18 @@ let NumericCell = /*@__PURE__*/ (() => {
|
|
|
10
10
|
class NumericCell extends TextCell {
|
|
11
11
|
constructor(a) {
|
|
12
12
|
super(a);
|
|
13
|
-
this.
|
|
14
|
-
this.
|
|
13
|
+
this.c3(this.d0, 2);
|
|
14
|
+
this.dc(this.d0, 1);
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
super.
|
|
16
|
+
cl(a, b, c) {
|
|
17
|
+
super.cl(a, b, c);
|
|
18
18
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
19
|
-
this.
|
|
19
|
+
this.d0.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
super.
|
|
24
|
-
this.
|
|
22
|
+
b9() {
|
|
23
|
+
super.b9();
|
|
24
|
+
this.di(2, 1);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
NumericCell.$t = /*@__PURE__*/ markType(NumericCell, 'NumericCell', TextCell.$);
|
|
@@ -21,20 +21,20 @@ let NumericCellPresenter = /*@__PURE__*/ (() => {
|
|
|
21
21
|
super.b(a);
|
|
22
22
|
let b = a;
|
|
23
23
|
if (a.a7) {
|
|
24
|
-
if (a.bc(NumericCellModel.
|
|
25
|
-
b.
|
|
26
|
-
this.d.
|
|
24
|
+
if (a.bc(NumericCellModel.o1) || a.bc(NumericCellModel.oo) || a.bc(NumericCellModel.h5) || b.og()) {
|
|
25
|
+
b.k1 = this.e(b);
|
|
26
|
+
this.d.c9(this.d.d0, b.k1);
|
|
27
27
|
}
|
|
28
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
28
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d0, this.a);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
e(a) {
|
|
32
|
-
if (a.
|
|
33
|
-
return a.
|
|
32
|
+
if (a.ly != null) {
|
|
33
|
+
return a.ly;
|
|
34
34
|
}
|
|
35
|
-
if (a.
|
|
36
|
-
let val_ = a.
|
|
37
|
-
let override_ = a.
|
|
35
|
+
if (a.o7 != null) {
|
|
36
|
+
let val_ = a.ok;
|
|
37
|
+
let override_ = a.o7;
|
|
38
38
|
return (override_.format(val_));
|
|
39
39
|
}
|
|
40
40
|
return NumericCellFormatter.c(a);
|