igniteui-angular-data-grids 20.1.0-beta.0 → 20.2.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-angular-data-grids.umd.js +5727 -5576
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +9 -9
- package/esm2015/lib/CanvasContentCellModelHelper.js +9 -9
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +7 -7
- package/esm2015/lib/CanvasImageCellPresenter.js +9 -9
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCell.js +1 -1
- package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +40 -37
- package/esm2015/lib/CheckboxListBridge.js +4 -0
- package/esm2015/lib/CheckboxListView_combined.js +778 -743
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +2894 -2867
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +13 -13
- package/esm2015/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/EditorCell.js +303 -303
- package/esm2015/lib/EditorCellPresenter.js +27 -27
- package/esm2015/lib/EditorRowCell.js +1 -1
- package/esm2015/lib/FilterCell.js +272 -272
- package/esm2015/lib/FilterCellPresenter.js +16 -16
- package/esm2015/lib/GridCellBase.js +354 -335
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +1 -1
- 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 +6 -6
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +1 -1
- package/esm2015/lib/GridSortIndicatorView_combined.js +15 -8
- package/esm2015/lib/ISummaryChooserView_combined.js +9 -9
- package/esm2015/lib/ImageCell.js +59 -59
- package/esm2015/lib/ImageCellPresenter.js +17 -17
- 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 +21 -21
- package/esm2015/lib/SectionHeaderCell.js +15 -15
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SortIndicatorStyle.js +6 -2
- package/esm2015/lib/SummaryCell.js +40 -40
- package/esm2015/lib/SummaryCellPresenter.js +10 -10
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +5 -5
- 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 +5 -5
- package/esm2015/lib/TextCell.js +32 -32
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +153 -153
- package/esm2015/lib/TextHeaderCellPresenter.js +25 -25
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +164 -155
- package/esm2015/lib/igx-checkbox-list-component.js +82 -66
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +87 -76
- 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-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/esm5/lib/AccessibilityRow.js +1 -1
- package/esm5/lib/CanvasCellPresenterBase.js +9 -9
- package/esm5/lib/CanvasContentCellModelHelper.js +9 -9
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +7 -7
- package/esm5/lib/CanvasImageCellPresenter.js +9 -9
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCell.js +1 -1
- package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +3 -3
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +40 -37
- package/esm5/lib/CheckboxListBridge.js +4 -0
- package/esm5/lib/CheckboxListView_combined.js +760 -725
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +2735 -2700
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +13 -13
- package/esm5/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/EditorCell.js +285 -285
- package/esm5/lib/EditorCellPresenter.js +27 -27
- package/esm5/lib/EditorRowCell.js +1 -1
- package/esm5/lib/FilterCell.js +262 -262
- package/esm5/lib/FilterCellPresenter.js +16 -16
- package/esm5/lib/GridCellBase.js +349 -326
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnHideOptionsView_combined.js +1 -1
- 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 +6 -6
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +1 -1
- package/esm5/lib/GridSortIndicatorView_combined.js +15 -10
- package/esm5/lib/ISummaryChooserView_combined.js +9 -9
- package/esm5/lib/ImageCell.js +59 -59
- package/esm5/lib/ImageCellPresenter.js +17 -17
- 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 +21 -21
- package/esm5/lib/SectionHeaderCell.js +15 -15
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SortIndicatorStyle.js +6 -2
- package/esm5/lib/SummaryCell.js +40 -40
- package/esm5/lib/SummaryCellPresenter.js +10 -10
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +5 -5
- 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 +5 -5
- package/esm5/lib/TextCell.js +32 -32
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +151 -151
- package/esm5/lib/TextHeaderCellPresenter.js +25 -25
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +168 -155
- package/esm5/lib/igx-checkbox-list-component.js +82 -66
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +91 -76
- 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-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/fesm2015/igniteui-angular-data-grids.js +5924 -5791
- package/fesm5/igniteui-angular-data-grids.js +5729 -5578
- package/lib/CheckboxListBridge.d.ts +1 -0
- package/lib/CheckboxListViewExternal.d.ts +1 -0
- package/lib/CheckboxListView_combined.d.ts +185 -179
- package/lib/ColumnFilterCondition_combined.d.ts +820 -813
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +105 -102
- package/lib/ImageCell.d.ts +17 -17
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +3 -3
- package/lib/SortIndicatorStyle.d.ts +5 -1
- package/lib/SummaryCell.d.ts +9 -9
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +29 -29
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igx-cell-info.d.ts +6 -0
- package/lib/igx-checkbox-list-component.d.ts +10 -0
- package/lib/igx-data-grid-column-component.d.ts +7 -1
- package/package.json +4 -4
|
@@ -294,7 +294,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
294
294
|
configurable: true
|
|
295
295
|
});
|
|
296
296
|
GridColumnFilterOptions.prototype.cu = function () {
|
|
297
|
-
var a = this.bx.
|
|
297
|
+
var a = this.bx.a1();
|
|
298
298
|
this.bw.al(!a);
|
|
299
299
|
var b = this.b3();
|
|
300
300
|
this.bw.am(b);
|
|
@@ -350,7 +350,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
350
350
|
}
|
|
351
351
|
this.column.g2 = i;
|
|
352
352
|
}
|
|
353
|
-
this.column.
|
|
353
|
+
this.column.n0("Filtered");
|
|
354
354
|
};
|
|
355
355
|
GridColumnFilterOptions.prototype.provideClearFiltersSection = function (a) {
|
|
356
356
|
this.bw.ah(a);
|
|
@@ -392,7 +392,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
392
392
|
GridColumnFilterOptions.prototype.co = function () {
|
|
393
393
|
var a = this.column;
|
|
394
394
|
var b = this.c;
|
|
395
|
-
var c = (null != a) ? a.
|
|
395
|
+
var c = (null != a) ? a.l7 : null;
|
|
396
396
|
var d = null;
|
|
397
397
|
var e = null;
|
|
398
398
|
if (b != null) {
|
|
@@ -453,7 +453,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
453
453
|
GridColumnFilterOptions.prototype.cv = function () {
|
|
454
454
|
var e_2, _a;
|
|
455
455
|
var a = this.column;
|
|
456
|
-
var b = (null != a) ? a.
|
|
456
|
+
var b = (null != a) ? a.l7 : null;
|
|
457
457
|
var c = true;
|
|
458
458
|
var d = toNullable(ColumnComparisonConditionOperatorType_$type, null);
|
|
459
459
|
var e = this.b4();
|
|
@@ -475,15 +475,15 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
if (e.count == 0 || !c) {
|
|
478
|
-
this.bx.
|
|
478
|
+
this.bx.ed();
|
|
479
479
|
return;
|
|
480
480
|
}
|
|
481
481
|
switch (d.value) {
|
|
482
482
|
case 0:
|
|
483
|
-
this.bx.
|
|
483
|
+
this.bx.db();
|
|
484
484
|
break;
|
|
485
485
|
case 1:
|
|
486
|
-
this.bx.
|
|
486
|
+
this.bx.ed();
|
|
487
487
|
break;
|
|
488
488
|
}
|
|
489
489
|
var h = this.bx.keys;
|
|
@@ -541,9 +541,9 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
541
541
|
GridColumnFilterOptions.prototype.cw = function () {
|
|
542
542
|
if (null != this.bx) {
|
|
543
543
|
this.bx.density = this.b0;
|
|
544
|
-
this.bx.
|
|
544
|
+
this.bx.ca = this.cc;
|
|
545
545
|
this.bx.backgroundColor = this.bo;
|
|
546
|
-
this.bx.
|
|
546
|
+
this.bx.fh = this.br;
|
|
547
547
|
this.bx.baseTheme = this.i;
|
|
548
548
|
this.bx.updateHrMargin(new Thickness(1, -7, 3, -7, 3));
|
|
549
549
|
}
|
|
@@ -178,7 +178,7 @@ var GridColumnGroupOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
178
178
|
if (null != a) {
|
|
179
179
|
var c = a.grid;
|
|
180
180
|
if (null != c) {
|
|
181
|
-
var d = a.
|
|
181
|
+
var d = a.l7;
|
|
182
182
|
var e = c.groupDescriptions.j;
|
|
183
183
|
for (var f = 0; f < e.count; f++) {
|
|
184
184
|
var g = e.item(f);
|
|
@@ -203,13 +203,13 @@ var GridColumnGroupOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
203
203
|
var a = this.c;
|
|
204
204
|
var b = this.column;
|
|
205
205
|
if (null != a && null != b) {
|
|
206
|
-
var c = new ColumnGroupDescription(1, b.
|
|
206
|
+
var c = new ColumnGroupDescription(1, b.l7);
|
|
207
207
|
var d = b.hs;
|
|
208
208
|
var e = d != 0 ? GridColumnOptionsUtilities.c(d) : 0;
|
|
209
209
|
c.c = e;
|
|
210
210
|
a.groupDescriptions.g(c);
|
|
211
211
|
b.hs = 0;
|
|
212
|
-
b.
|
|
212
|
+
b.n0("Grouped");
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
GridColumnGroupOptions.prototype.b8 = function () {
|
|
@@ -221,7 +221,7 @@ var GridColumnGroupOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
221
221
|
var d = ((function () { var e = _this.b3(c_1); c_1 = e.p0; return e.ret; })());
|
|
222
222
|
if (c_1 != -1) {
|
|
223
223
|
a.groupDescriptions.d(c_1);
|
|
224
|
-
b.
|
|
224
|
+
b.n0("Grouped");
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
};
|
|
@@ -305,7 +305,7 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
305
305
|
Object.defineProperty(GridColumnOptions.prototype, "dx", {
|
|
306
306
|
get: function () {
|
|
307
307
|
var a = this.column;
|
|
308
|
-
return (null != a) ? a.
|
|
308
|
+
return (null != a) ? a.lm : "(No column selected)";
|
|
309
309
|
},
|
|
310
310
|
enumerable: false,
|
|
311
311
|
configurable: true
|
|
@@ -167,7 +167,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
167
167
|
if (this.bw != null) {
|
|
168
168
|
var a = this.bw.a();
|
|
169
169
|
for (var b = 0; b < a.length; b++) {
|
|
170
|
-
var c = new ColumnSummaryDescription(1, this.column.
|
|
170
|
+
var c = new ColumnSummaryDescription(1, this.column.l7);
|
|
171
171
|
switch (a[b]) {
|
|
172
172
|
case "avg":
|
|
173
173
|
c.i = 3;
|
|
@@ -187,7 +187,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
187
187
|
}
|
|
188
188
|
for (var d = 0; d < this.c.summaryDescriptions.j.count; d++) {
|
|
189
189
|
var e = this.c.summaryDescriptions.j.item(d);
|
|
190
|
-
if (e.ah == this.column.
|
|
190
|
+
if (e.ah == this.column.l7 && e.i == c.i) {
|
|
191
191
|
this.c.summaryDescriptions.j.removeAt(d);
|
|
192
192
|
d--;
|
|
193
193
|
}
|
|
@@ -195,7 +195,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
195
195
|
}
|
|
196
196
|
var f = this.bw.b();
|
|
197
197
|
for (var g = 0; g < f.length; g++) {
|
|
198
|
-
var h = new ColumnSummaryDescription(1, this.column.
|
|
198
|
+
var h = new ColumnSummaryDescription(1, this.column.l7);
|
|
199
199
|
switch (f[g]) {
|
|
200
200
|
case "avg":
|
|
201
201
|
h.i = 3;
|
|
@@ -216,14 +216,14 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
216
216
|
var i = false;
|
|
217
217
|
for (var j = 0; j < this.c.summaryDescriptions.j.count; j++) {
|
|
218
218
|
var k = this.c.summaryDescriptions.j.item(j);
|
|
219
|
-
if (k.ah == this.column.
|
|
219
|
+
if (k.ah == this.column.l7 && k.i == h.i) {
|
|
220
220
|
i = true;
|
|
221
221
|
break;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
if (!i) {
|
|
225
225
|
this.c.summaryDescriptions.j.add(h);
|
|
226
|
-
this.column.
|
|
226
|
+
this.column.n0("Summed");
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
}
|
|
@@ -242,7 +242,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
242
242
|
this.b7 = 0;
|
|
243
243
|
for (var a = 0; a < this.c.summaryDescriptions.j.count; a++) {
|
|
244
244
|
var b = this.c.summaryDescriptions.j.item(a);
|
|
245
|
-
if (b.ah == this.column.
|
|
245
|
+
if (b.ah == this.column.l7) {
|
|
246
246
|
switch (b.i) {
|
|
247
247
|
case 3:
|
|
248
248
|
this.bw.a4("avg", true);
|
|
@@ -41,7 +41,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
41
41
|
var column_ = TypeRegistrar.create("IgxTextColumnComponent");
|
|
42
42
|
var b = (column_._implementation);
|
|
43
43
|
var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
44
|
-
b.
|
|
44
|
+
b.l7 = a;
|
|
45
45
|
return b;
|
|
46
46
|
}
|
|
47
47
|
return null;
|
|
@@ -51,7 +51,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
51
51
|
var column_ = TypeRegistrar.create("IgxNumericColumnComponent");
|
|
52
52
|
var b = (column_._implementation);
|
|
53
53
|
var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
54
|
-
b.
|
|
54
|
+
b.l7 = a;
|
|
55
55
|
return b;
|
|
56
56
|
}
|
|
57
57
|
return null;
|
|
@@ -61,7 +61,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
61
61
|
var column_ = TypeRegistrar.create("IgxDateTimeColumnComponent");
|
|
62
62
|
var b = (column_._implementation);
|
|
63
63
|
var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
64
|
-
b.
|
|
64
|
+
b.l7 = a;
|
|
65
65
|
return b;
|
|
66
66
|
}
|
|
67
67
|
return null;
|
|
@@ -71,7 +71,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
71
71
|
var column_ = TypeRegistrar.create("IgxImageColumnComponent");
|
|
72
72
|
var b = (column_._implementation);
|
|
73
73
|
var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
74
|
-
b.
|
|
74
|
+
b.l7 = a;
|
|
75
75
|
return b;
|
|
76
76
|
}
|
|
77
77
|
return null;
|
|
@@ -81,7 +81,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
81
81
|
var column_ = TypeRegistrar.create("IgxTemplateColumnComponent");
|
|
82
82
|
var b = (column_._implementation);
|
|
83
83
|
var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
84
|
-
b.
|
|
84
|
+
b.l7 = a;
|
|
85
85
|
return b;
|
|
86
86
|
}
|
|
87
87
|
return null;
|
|
@@ -91,7 +91,7 @@ var GridExternalWrapper = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
91
91
|
var column_ = TypeRegistrar.create("IgxComboBoxColumnComponent");
|
|
92
92
|
var b = (column_._implementation);
|
|
93
93
|
var c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
94
|
-
b.
|
|
94
|
+
b.l7 = a;
|
|
95
95
|
return b;
|
|
96
96
|
}
|
|
97
97
|
return null;
|
|
@@ -555,7 +555,7 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
555
555
|
if (this.n.grid != null) {
|
|
556
556
|
this.n.grid.vh();
|
|
557
557
|
}
|
|
558
|
-
this.n.
|
|
558
|
+
this.n.nx();
|
|
559
559
|
}
|
|
560
560
|
if (this.dialogOpening != null) {
|
|
561
561
|
var c = new GridFilterDialogOpeningEventArgs();
|
|
@@ -178,7 +178,7 @@ var GridSortIndicatorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
178
178
|
this.l = b;
|
|
179
179
|
this.a.j.u(this.l);
|
|
180
180
|
this.a.i.u(this.l);
|
|
181
|
-
this.l.rootWrapper.addClass("
|
|
181
|
+
this.l.rootWrapper.addClass("ig-sort-indicator-container");
|
|
182
182
|
var c = this.g;
|
|
183
183
|
var d = Math.round(b.rootWrapper.width());
|
|
184
184
|
var e = Math.round(b.rootWrapper.height());
|
|
@@ -431,6 +431,11 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
431
431
|
case 2:
|
|
432
432
|
this.ay(this.b, false);
|
|
433
433
|
break;
|
|
434
|
+
case 3:
|
|
435
|
+
this.t = 0;
|
|
436
|
+
this.z = 0;
|
|
437
|
+
this.c.u();
|
|
438
|
+
break;
|
|
434
439
|
}
|
|
435
440
|
break;
|
|
436
441
|
case "SortDirection":
|
|
@@ -575,22 +580,22 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
575
580
|
o.c.add(l);
|
|
576
581
|
var p = new Path();
|
|
577
582
|
p.an = o;
|
|
578
|
-
p._stroke = this.c.y();
|
|
583
|
+
p._stroke = this.a3 != null ? this.a3 : this.c.y();
|
|
579
584
|
p.ad = 1.5;
|
|
580
585
|
p.am = 2;
|
|
581
586
|
c.add(p);
|
|
582
587
|
};
|
|
583
588
|
GridSortIndicator.prototype.ar = function (a, b, c) {
|
|
584
|
-
var _this = this;
|
|
585
589
|
var d = Geometry.a("M3.792172, 7.800278 L7.983785, 3.635676 L12.148387, 7.800278L12.148387, 7.800278");
|
|
586
590
|
var e = Geometry.a("M7.97027972,4.10930186 L7.97027972,13.8116223 L7.97027972,4.10930186 Z");
|
|
587
591
|
var f = Geometry.a("M11.851613, 16.199722 L16.043224, 20.364325 L20.207829, 16.199722");
|
|
588
592
|
var g = Geometry.a("M16.043224,10.1883777 L16.043224,19.8906981 L16.043224,10.1883777 Z");
|
|
593
|
+
var h = this.a3 != null ? this.a3 : this.c.y();
|
|
589
594
|
c.add(((function () {
|
|
590
595
|
var $ret = new Path();
|
|
591
596
|
$ret.an = d;
|
|
592
597
|
$ret.am = 2;
|
|
593
|
-
$ret.stroke =
|
|
598
|
+
$ret.stroke = h;
|
|
594
599
|
$ret.ad = 2;
|
|
595
600
|
return $ret;
|
|
596
601
|
})()));
|
|
@@ -598,7 +603,7 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
598
603
|
var $ret = new Path();
|
|
599
604
|
$ret.an = e;
|
|
600
605
|
$ret.am = 2;
|
|
601
|
-
$ret.stroke =
|
|
606
|
+
$ret.stroke = h;
|
|
602
607
|
$ret.ad = 2;
|
|
603
608
|
return $ret;
|
|
604
609
|
})()));
|
|
@@ -606,7 +611,7 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
606
611
|
var $ret = new Path();
|
|
607
612
|
$ret.an = f;
|
|
608
613
|
$ret.am = 2;
|
|
609
|
-
$ret.stroke =
|
|
614
|
+
$ret.stroke = h;
|
|
610
615
|
$ret.ad = 2;
|
|
611
616
|
return $ret;
|
|
612
617
|
})()));
|
|
@@ -614,23 +619,23 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
614
619
|
var $ret = new Path();
|
|
615
620
|
$ret.an = g;
|
|
616
621
|
$ret.am = 2;
|
|
617
|
-
$ret.stroke =
|
|
622
|
+
$ret.stroke = h;
|
|
618
623
|
$ret.ad = 2;
|
|
619
624
|
return $ret;
|
|
620
625
|
})()));
|
|
621
626
|
};
|
|
622
627
|
GridSortIndicator.prototype.as = function (a, b, c) {
|
|
623
|
-
var _this = this;
|
|
624
628
|
var d = { $type: Point_$type, x: a / 2, y: b / 2 };
|
|
625
629
|
var e = { $type: Point_$type, x: d.x - 3.5, y: d.y - 1.5 };
|
|
626
630
|
var f = { $type: Point_$type, x: d.x - 3.5, y: d.y + 1.5 };
|
|
627
631
|
var g = Geometry.a("M" + e.x.toString() + ", " + e.y.toString() + " l 3.5,-3.5 3.5,3.5");
|
|
628
632
|
var h = Geometry.a("M" + f.x.toString() + ", " + f.y.toString() + " l 3.5,3.5 3.5,-3.5");
|
|
633
|
+
var i = this.a3 != null ? this.a3 : this.c.y();
|
|
629
634
|
c.add(((function () {
|
|
630
635
|
var $ret = new Path();
|
|
631
636
|
$ret.an = g;
|
|
632
637
|
$ret.am = 2;
|
|
633
|
-
$ret.stroke =
|
|
638
|
+
$ret.stroke = i;
|
|
634
639
|
$ret.ad = 2;
|
|
635
640
|
return $ret;
|
|
636
641
|
})()));
|
|
@@ -638,7 +643,7 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
638
643
|
var $ret = new Path();
|
|
639
644
|
$ret.an = h;
|
|
640
645
|
$ret.am = 2;
|
|
641
|
-
$ret.stroke =
|
|
646
|
+
$ret.stroke = i;
|
|
642
647
|
$ret.ad = 2;
|
|
643
648
|
return $ret;
|
|
644
649
|
})()));
|
|
@@ -90,8 +90,8 @@ var SummaryChooserView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
90
90
|
this.e();
|
|
91
91
|
};
|
|
92
92
|
SummaryChooserView.prototype.e = function () {
|
|
93
|
-
if (this.model.f.
|
|
94
|
-
var a = this.model.r.count * this.model.f.
|
|
93
|
+
if (this.model.f.bg > -1) {
|
|
94
|
+
var a = this.model.r.count * this.model.f.bg;
|
|
95
95
|
a += 4;
|
|
96
96
|
this.d.setStyleProperty("height", a + "px");
|
|
97
97
|
}
|
|
@@ -395,12 +395,12 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
395
395
|
SummaryChooser.prototype.a6 = function () {
|
|
396
396
|
if (this.e != null) {
|
|
397
397
|
this.e.density = this.m;
|
|
398
|
-
this.e.
|
|
398
|
+
this.e.fh = this.ba;
|
|
399
399
|
this.e.baseTheme = this.i;
|
|
400
400
|
this.e.backgroundColor = this.a9;
|
|
401
401
|
this.e.showSelectAll = false;
|
|
402
|
-
this.e.
|
|
403
|
-
this.e.
|
|
402
|
+
this.e.a7 = false;
|
|
403
|
+
this.e.a3 = false;
|
|
404
404
|
this.e.updateHrMargin(new Thickness(1, -7, 3, -7, 3));
|
|
405
405
|
this.e.itemsSource = this.q;
|
|
406
406
|
this.e.dataMemberPath = "label";
|
|
@@ -454,7 +454,7 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
454
454
|
if (d.iD == a) {
|
|
455
455
|
d.isSelected = b;
|
|
456
456
|
if (this.e != null) {
|
|
457
|
-
this.e.
|
|
457
|
+
this.e.dp(c, d, d);
|
|
458
458
|
}
|
|
459
459
|
break;
|
|
460
460
|
}
|
|
@@ -466,7 +466,7 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
466
466
|
c.label = b;
|
|
467
467
|
this.q.add(c);
|
|
468
468
|
if (this.e != null) {
|
|
469
|
-
this.e.
|
|
469
|
+
this.e.dl(this.q.count - 1, c);
|
|
470
470
|
}
|
|
471
471
|
this.c.onItemInserted();
|
|
472
472
|
};
|
|
@@ -476,7 +476,7 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
476
476
|
if (c.iD == a) {
|
|
477
477
|
this.q.removeAt(b);
|
|
478
478
|
if (this.e != null) {
|
|
479
|
-
this.e.
|
|
479
|
+
this.e.dn(b, c);
|
|
480
480
|
}
|
|
481
481
|
break;
|
|
482
482
|
}
|
|
@@ -489,7 +489,7 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
489
489
|
if (d.iD == a) {
|
|
490
490
|
d.label = b;
|
|
491
491
|
if (this.e != null) {
|
|
492
|
-
this.e.
|
|
492
|
+
this.e.dp(c, d, d);
|
|
493
493
|
}
|
|
494
494
|
break;
|
|
495
495
|
}
|
package/esm5/lib/ImageCell.js
CHANGED
|
@@ -15,112 +15,112 @@ var ImageCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
15
15
|
__extends(ImageCell, _super);
|
|
16
16
|
function ImageCell(a) {
|
|
17
17
|
var _this = _super.call(this, a) || this;
|
|
18
|
-
_this.
|
|
19
|
-
_this.ds = 1;
|
|
20
|
-
_this.dt = 3;
|
|
21
|
-
_this.d0 = null;
|
|
22
|
-
_this.du = false;
|
|
18
|
+
_this.d1 = null;
|
|
23
19
|
_this.dv = 1;
|
|
24
|
-
_this.
|
|
25
|
-
_this.
|
|
26
|
-
_this.
|
|
27
|
-
_this.
|
|
28
|
-
_this.
|
|
29
|
-
_this.
|
|
30
|
-
_this.
|
|
31
|
-
_this.
|
|
32
|
-
_this.
|
|
33
|
-
_this.
|
|
34
|
-
_this.
|
|
35
|
-
_this.
|
|
20
|
+
_this.dw = 3;
|
|
21
|
+
_this.d3 = null;
|
|
22
|
+
_this.dx = false;
|
|
23
|
+
_this.dy = 1;
|
|
24
|
+
_this.d0 = null;
|
|
25
|
+
_this.d1 = a.createElement("img");
|
|
26
|
+
_this.d1.listen("load", runOn(_this, _this.d6));
|
|
27
|
+
_this.d0 = a.createElement("div");
|
|
28
|
+
_this.d0.setRawStyleProperty("background-size", "contain");
|
|
29
|
+
_this.d0.setRawStyleProperty("background-repeat", "no-repeat");
|
|
30
|
+
_this.d0.setRawStyleProperty("background-position", "center");
|
|
31
|
+
_this.d0.setRawStyleProperty("width", "100%");
|
|
32
|
+
_this.d0.setRawStyleProperty("height", "100%");
|
|
33
|
+
_this.ar.setRawStyleProperty("text-align", "left");
|
|
34
|
+
_this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
35
|
+
_this.ar.append(_this.d0);
|
|
36
36
|
return _this;
|
|
37
37
|
}
|
|
38
|
-
Object.defineProperty(ImageCell.prototype, "
|
|
38
|
+
Object.defineProperty(ImageCell.prototype, "d2", {
|
|
39
39
|
get: function () {
|
|
40
|
-
return this.
|
|
40
|
+
return this.d1;
|
|
41
41
|
},
|
|
42
42
|
enumerable: false,
|
|
43
43
|
configurable: true
|
|
44
44
|
});
|
|
45
|
-
Object.defineProperty(ImageCell.prototype, "
|
|
45
|
+
Object.defineProperty(ImageCell.prototype, "dz", {
|
|
46
46
|
get: function () {
|
|
47
|
-
return this.
|
|
47
|
+
return this.dy;
|
|
48
48
|
},
|
|
49
49
|
set: function (a) {
|
|
50
|
-
this.
|
|
50
|
+
this.dy = a;
|
|
51
51
|
},
|
|
52
52
|
enumerable: false,
|
|
53
53
|
configurable: true
|
|
54
54
|
});
|
|
55
|
-
ImageCell.prototype.
|
|
56
|
-
this.
|
|
57
|
-
if (!stringIsNullOrEmpty(this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
55
|
+
ImageCell.prototype.d6 = function (a) {
|
|
56
|
+
this.dx = false;
|
|
57
|
+
if (!stringIsNullOrEmpty(this.d3)) {
|
|
58
|
+
this.d0.setRawStyleProperty("opacity", "1");
|
|
59
|
+
this.d0.setRawStyleProperty("background-image", "url(" + this.d3 + ")");
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
ImageCell.prototype.
|
|
63
|
-
if (a == this.
|
|
62
|
+
ImageCell.prototype.d7 = function (a, b) {
|
|
63
|
+
if (a == this.d3) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
66
|
+
this.d4();
|
|
67
|
+
this.d0.setRawStyleProperty("opacity", "0");
|
|
68
68
|
if (a == null || a.length == 0) {
|
|
69
|
-
this.
|
|
69
|
+
this.d5(this.d1);
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
|
-
if (Base.equalsStatic(a, this.
|
|
72
|
+
if (Base.equalsStatic(a, this.d3)) {
|
|
73
73
|
return;
|
|
74
74
|
}
|
|
75
|
-
this.
|
|
76
|
-
var img_ = this.
|
|
75
|
+
this.eb(a, b);
|
|
76
|
+
var img_ = this.d1.getNativeElement();
|
|
77
77
|
if (img_ != null && (img_.complete)) {
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
78
|
+
this.dx = false;
|
|
79
|
+
this.d1.setRawStyleProperty("opacity", "1");
|
|
80
|
+
this.d0.setRawStyleProperty("background-image", "url(" + this.d3 + ")");
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
|
-
ImageCell.prototype.
|
|
83
|
+
ImageCell.prototype.d5 = function (a) {
|
|
84
84
|
a.setAttribute("src", "");
|
|
85
|
-
this.
|
|
85
|
+
this.d0.setRawStyleProperty("background-image", "");
|
|
86
86
|
};
|
|
87
|
-
ImageCell.prototype.
|
|
87
|
+
ImageCell.prototype.ea = function (a) {
|
|
88
88
|
switch (a) {
|
|
89
89
|
case 1:
|
|
90
|
-
this.
|
|
90
|
+
this.d0.setRawStyleProperty("background-size", "100% 100%");
|
|
91
91
|
break;
|
|
92
92
|
case 2:
|
|
93
|
-
this.
|
|
93
|
+
this.d0.setRawStyleProperty("background-size", "auto");
|
|
94
94
|
break;
|
|
95
95
|
case 0:
|
|
96
|
-
this.
|
|
96
|
+
this.d0.setRawStyleProperty("background-size", "contain");
|
|
97
97
|
break;
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
|
-
ImageCell.prototype.
|
|
101
|
-
this.
|
|
102
|
-
this.
|
|
103
|
-
this.
|
|
100
|
+
ImageCell.prototype.eb = function (a, b) {
|
|
101
|
+
this.dx = true;
|
|
102
|
+
this.d3 = a;
|
|
103
|
+
this.d2.setAttribute("src", a);
|
|
104
104
|
};
|
|
105
|
-
ImageCell.prototype.
|
|
106
|
-
if (this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
105
|
+
ImageCell.prototype.d4 = function () {
|
|
106
|
+
if (this.dx) {
|
|
107
|
+
this.d5(this.d1);
|
|
108
|
+
this.d3 = "";
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
|
-
ImageCell.prototype.
|
|
112
|
-
this.
|
|
111
|
+
ImageCell.prototype.d8 = function (a) {
|
|
112
|
+
this.dv = a;
|
|
113
113
|
};
|
|
114
|
-
ImageCell.prototype.
|
|
115
|
-
this.
|
|
114
|
+
ImageCell.prototype.d9 = function (a) {
|
|
115
|
+
this.dw = a;
|
|
116
116
|
};
|
|
117
117
|
ImageCell.prototype.get_ae = function () {
|
|
118
118
|
return true;
|
|
119
119
|
};
|
|
120
|
-
ImageCell.prototype.
|
|
121
|
-
_super.prototype.
|
|
120
|
+
ImageCell.prototype.ck = function (a, b, c) {
|
|
121
|
+
_super.prototype.ck.call(this, a, b, c);
|
|
122
122
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
123
|
-
this.
|
|
123
|
+
this.d0.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
ImageCell.$t = markType(ImageCell, 'ImageCell', GridCellBase.$);
|