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
|
@@ -262,7 +262,7 @@ export let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
262
262
|
this.bc("TextFilterCaption", b, this.cf);
|
|
263
263
|
}
|
|
264
264
|
cu() {
|
|
265
|
-
let a = this.bx.
|
|
265
|
+
let a = this.bx.a1();
|
|
266
266
|
this.bw.al(!a);
|
|
267
267
|
let b = this.b3();
|
|
268
268
|
this.bw.am(b);
|
|
@@ -301,7 +301,7 @@ export let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
301
301
|
}
|
|
302
302
|
this.column.g2 = i;
|
|
303
303
|
}
|
|
304
|
-
this.column.
|
|
304
|
+
this.column.n0("Filtered");
|
|
305
305
|
}
|
|
306
306
|
provideClearFiltersSection(a) {
|
|
307
307
|
this.bw.ah(a);
|
|
@@ -343,7 +343,7 @@ export let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
343
343
|
co() {
|
|
344
344
|
let a = this.column;
|
|
345
345
|
let b = this.c;
|
|
346
|
-
let c = (null != a) ? a.
|
|
346
|
+
let c = (null != a) ? a.l7 : null;
|
|
347
347
|
let d = null;
|
|
348
348
|
let e = null;
|
|
349
349
|
if (b != null) {
|
|
@@ -403,7 +403,7 @@ export let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
403
403
|
}
|
|
404
404
|
cv() {
|
|
405
405
|
let a = this.column;
|
|
406
|
-
let b = (null != a) ? a.
|
|
406
|
+
let b = (null != a) ? a.l7 : null;
|
|
407
407
|
let c = true;
|
|
408
408
|
let d = toNullable(ColumnComparisonConditionOperatorType_$type, null);
|
|
409
409
|
let e = this.b4();
|
|
@@ -425,15 +425,15 @@ export let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
427
|
if (e.count == 0 || !c) {
|
|
428
|
-
this.bx.
|
|
428
|
+
this.bx.ed();
|
|
429
429
|
return;
|
|
430
430
|
}
|
|
431
431
|
switch (d.value) {
|
|
432
432
|
case 0:
|
|
433
|
-
this.bx.
|
|
433
|
+
this.bx.db();
|
|
434
434
|
break;
|
|
435
435
|
case 1:
|
|
436
|
-
this.bx.
|
|
436
|
+
this.bx.ed();
|
|
437
437
|
break;
|
|
438
438
|
}
|
|
439
439
|
let h = this.bx.keys;
|
|
@@ -475,9 +475,9 @@ export let GridColumnFilterOptions = /*@__PURE__*/ (() => {
|
|
|
475
475
|
cw() {
|
|
476
476
|
if (null != this.bx) {
|
|
477
477
|
this.bx.density = this.b0;
|
|
478
|
-
this.bx.
|
|
478
|
+
this.bx.ca = this.cc;
|
|
479
479
|
this.bx.backgroundColor = this.bo;
|
|
480
|
-
this.bx.
|
|
480
|
+
this.bx.fh = this.br;
|
|
481
481
|
this.bx.baseTheme = this.i;
|
|
482
482
|
this.bx.updateHrMargin(new Thickness(1, -7, 3, -7, 3));
|
|
483
483
|
}
|
|
@@ -159,7 +159,7 @@ export let GridColumnGroupOptions = /*@__PURE__*/ (() => {
|
|
|
159
159
|
if (null != a) {
|
|
160
160
|
let c = a.grid;
|
|
161
161
|
if (null != c) {
|
|
162
|
-
let d = a.
|
|
162
|
+
let d = a.l7;
|
|
163
163
|
let e = c.groupDescriptions.j;
|
|
164
164
|
for (let f = 0; f < e.count; f++) {
|
|
165
165
|
let g = e.item(f);
|
|
@@ -184,13 +184,13 @@ export let GridColumnGroupOptions = /*@__PURE__*/ (() => {
|
|
|
184
184
|
let a = this.c;
|
|
185
185
|
let b = this.column;
|
|
186
186
|
if (null != a && null != b) {
|
|
187
|
-
let c = new ColumnGroupDescription(1, b.
|
|
187
|
+
let c = new ColumnGroupDescription(1, b.l7);
|
|
188
188
|
let d = b.hs;
|
|
189
189
|
let e = d != 0 ? GridColumnOptionsUtilities.c(d) : 0;
|
|
190
190
|
c.c = e;
|
|
191
191
|
a.groupDescriptions.g(c);
|
|
192
192
|
b.hs = 0;
|
|
193
|
-
b.
|
|
193
|
+
b.n0("Grouped");
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
b8() {
|
|
@@ -201,7 +201,7 @@ export let GridColumnGroupOptions = /*@__PURE__*/ (() => {
|
|
|
201
201
|
let d = ((() => { let e = this.b3(c); c = e.p0; return e.ret; })());
|
|
202
202
|
if (c != -1) {
|
|
203
203
|
a.groupDescriptions.d(c);
|
|
204
|
-
b.
|
|
204
|
+
b.n0("Grouped");
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
}
|
|
@@ -297,7 +297,7 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
|
|
|
297
297
|
}
|
|
298
298
|
get dx() {
|
|
299
299
|
let a = this.column;
|
|
300
|
-
return (null != a) ? a.
|
|
300
|
+
return (null != a) ? a.lm : "(No column selected)";
|
|
301
301
|
}
|
|
302
302
|
get ci() {
|
|
303
303
|
if (null == this.ch) {
|
|
@@ -159,7 +159,7 @@ export let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
|
|
|
159
159
|
if (this.bw != null) {
|
|
160
160
|
let a = this.bw.a();
|
|
161
161
|
for (let b = 0; b < a.length; b++) {
|
|
162
|
-
let c = new ColumnSummaryDescription(1, this.column.
|
|
162
|
+
let c = new ColumnSummaryDescription(1, this.column.l7);
|
|
163
163
|
switch (a[b]) {
|
|
164
164
|
case "avg":
|
|
165
165
|
c.i = 3;
|
|
@@ -179,7 +179,7 @@ export let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
|
|
|
179
179
|
}
|
|
180
180
|
for (let d = 0; d < this.c.summaryDescriptions.j.count; d++) {
|
|
181
181
|
let e = this.c.summaryDescriptions.j.item(d);
|
|
182
|
-
if (e.ah == this.column.
|
|
182
|
+
if (e.ah == this.column.l7 && e.i == c.i) {
|
|
183
183
|
this.c.summaryDescriptions.j.removeAt(d);
|
|
184
184
|
d--;
|
|
185
185
|
}
|
|
@@ -187,7 +187,7 @@ export let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
|
|
|
187
187
|
}
|
|
188
188
|
let f = this.bw.b();
|
|
189
189
|
for (let g = 0; g < f.length; g++) {
|
|
190
|
-
let h = new ColumnSummaryDescription(1, this.column.
|
|
190
|
+
let h = new ColumnSummaryDescription(1, this.column.l7);
|
|
191
191
|
switch (f[g]) {
|
|
192
192
|
case "avg":
|
|
193
193
|
h.i = 3;
|
|
@@ -208,14 +208,14 @@ export let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
|
|
|
208
208
|
let i = false;
|
|
209
209
|
for (let j = 0; j < this.c.summaryDescriptions.j.count; j++) {
|
|
210
210
|
let k = this.c.summaryDescriptions.j.item(j);
|
|
211
|
-
if (k.ah == this.column.
|
|
211
|
+
if (k.ah == this.column.l7 && k.i == h.i) {
|
|
212
212
|
i = true;
|
|
213
213
|
break;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
if (!i) {
|
|
217
217
|
this.c.summaryDescriptions.j.add(h);
|
|
218
|
-
this.column.
|
|
218
|
+
this.column.n0("Summed");
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
}
|
|
@@ -234,7 +234,7 @@ export let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
|
|
|
234
234
|
this.b7 = 0;
|
|
235
235
|
for (let a = 0; a < this.c.summaryDescriptions.j.count; a++) {
|
|
236
236
|
let b = this.c.summaryDescriptions.j.item(a);
|
|
237
|
-
if (b.ah == this.column.
|
|
237
|
+
if (b.ah == this.column.l7) {
|
|
238
238
|
switch (b.i) {
|
|
239
239
|
case 3:
|
|
240
240
|
this.bw.a4("avg", true);
|
|
@@ -35,7 +35,7 @@ export let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
35
35
|
let column_ = TypeRegistrar.create("IgxTextColumnComponent");
|
|
36
36
|
let b = (column_._implementation);
|
|
37
37
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
38
|
-
b.
|
|
38
|
+
b.l7 = a;
|
|
39
39
|
return b;
|
|
40
40
|
}
|
|
41
41
|
return null;
|
|
@@ -45,7 +45,7 @@ export let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
45
45
|
let column_ = TypeRegistrar.create("IgxNumericColumnComponent");
|
|
46
46
|
let b = (column_._implementation);
|
|
47
47
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
48
|
-
b.
|
|
48
|
+
b.l7 = a;
|
|
49
49
|
return b;
|
|
50
50
|
}
|
|
51
51
|
return null;
|
|
@@ -55,7 +55,7 @@ export let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
55
55
|
let column_ = TypeRegistrar.create("IgxDateTimeColumnComponent");
|
|
56
56
|
let b = (column_._implementation);
|
|
57
57
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
58
|
-
b.
|
|
58
|
+
b.l7 = a;
|
|
59
59
|
return b;
|
|
60
60
|
}
|
|
61
61
|
return null;
|
|
@@ -65,7 +65,7 @@ export let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
65
65
|
let column_ = TypeRegistrar.create("IgxImageColumnComponent");
|
|
66
66
|
let b = (column_._implementation);
|
|
67
67
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
68
|
-
b.
|
|
68
|
+
b.l7 = a;
|
|
69
69
|
return b;
|
|
70
70
|
}
|
|
71
71
|
return null;
|
|
@@ -75,7 +75,7 @@ export let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
75
75
|
let column_ = TypeRegistrar.create("IgxTemplateColumnComponent");
|
|
76
76
|
let b = (column_._implementation);
|
|
77
77
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
78
|
-
b.
|
|
78
|
+
b.l7 = a;
|
|
79
79
|
return b;
|
|
80
80
|
}
|
|
81
81
|
return null;
|
|
@@ -85,7 +85,7 @@ export let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
85
85
|
let column_ = TypeRegistrar.create("IgxComboBoxColumnComponent");
|
|
86
86
|
let b = (column_._implementation);
|
|
87
87
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
88
|
-
b.
|
|
88
|
+
b.l7 = a;
|
|
89
89
|
return b;
|
|
90
90
|
}
|
|
91
91
|
return null;
|
|
@@ -175,7 +175,7 @@ export let GridSortIndicatorView = /*@__PURE__*/ (() => {
|
|
|
175
175
|
this.l = b;
|
|
176
176
|
this.a.j.u(this.l);
|
|
177
177
|
this.a.i.u(this.l);
|
|
178
|
-
this.l.rootWrapper.addClass("
|
|
178
|
+
this.l.rootWrapper.addClass("ig-sort-indicator-container");
|
|
179
179
|
let c = this.g;
|
|
180
180
|
let d = Math.round(b.rootWrapper.width());
|
|
181
181
|
let e = Math.round(b.rootWrapper.height());
|
|
@@ -383,6 +383,11 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
383
383
|
case 2:
|
|
384
384
|
this.ay(this.b, false);
|
|
385
385
|
break;
|
|
386
|
+
case 3:
|
|
387
|
+
this.t = 0;
|
|
388
|
+
this.z = 0;
|
|
389
|
+
this.c.u();
|
|
390
|
+
break;
|
|
386
391
|
}
|
|
387
392
|
break;
|
|
388
393
|
case "SortDirection":
|
|
@@ -527,7 +532,7 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
527
532
|
o.c.add(l);
|
|
528
533
|
let p = new Path();
|
|
529
534
|
p.an = o;
|
|
530
|
-
p._stroke = this.c.y();
|
|
535
|
+
p._stroke = this.a3 != null ? this.a3 : this.c.y();
|
|
531
536
|
p.ad = 1.5;
|
|
532
537
|
p.am = 2;
|
|
533
538
|
c.add(p);
|
|
@@ -537,11 +542,12 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
537
542
|
let e = Geometry.a("M7.97027972,4.10930186 L7.97027972,13.8116223 L7.97027972,4.10930186 Z");
|
|
538
543
|
let f = Geometry.a("M11.851613, 16.199722 L16.043224, 20.364325 L20.207829, 16.199722");
|
|
539
544
|
let g = Geometry.a("M16.043224,10.1883777 L16.043224,19.8906981 L16.043224,10.1883777 Z");
|
|
545
|
+
let h = this.a3 != null ? this.a3 : this.c.y();
|
|
540
546
|
c.add(((() => {
|
|
541
547
|
let $ret = new Path();
|
|
542
548
|
$ret.an = d;
|
|
543
549
|
$ret.am = 2;
|
|
544
|
-
$ret.stroke =
|
|
550
|
+
$ret.stroke = h;
|
|
545
551
|
$ret.ad = 2;
|
|
546
552
|
return $ret;
|
|
547
553
|
})()));
|
|
@@ -549,7 +555,7 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
549
555
|
let $ret = new Path();
|
|
550
556
|
$ret.an = e;
|
|
551
557
|
$ret.am = 2;
|
|
552
|
-
$ret.stroke =
|
|
558
|
+
$ret.stroke = h;
|
|
553
559
|
$ret.ad = 2;
|
|
554
560
|
return $ret;
|
|
555
561
|
})()));
|
|
@@ -557,7 +563,7 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
557
563
|
let $ret = new Path();
|
|
558
564
|
$ret.an = f;
|
|
559
565
|
$ret.am = 2;
|
|
560
|
-
$ret.stroke =
|
|
566
|
+
$ret.stroke = h;
|
|
561
567
|
$ret.ad = 2;
|
|
562
568
|
return $ret;
|
|
563
569
|
})()));
|
|
@@ -565,7 +571,7 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
565
571
|
let $ret = new Path();
|
|
566
572
|
$ret.an = g;
|
|
567
573
|
$ret.am = 2;
|
|
568
|
-
$ret.stroke =
|
|
574
|
+
$ret.stroke = h;
|
|
569
575
|
$ret.ad = 2;
|
|
570
576
|
return $ret;
|
|
571
577
|
})()));
|
|
@@ -576,11 +582,12 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
576
582
|
let f = { $type: Point_$type, x: d.x - 3.5, y: d.y + 1.5 };
|
|
577
583
|
let g = Geometry.a("M" + e.x.toString() + ", " + e.y.toString() + " l 3.5,-3.5 3.5,3.5");
|
|
578
584
|
let h = Geometry.a("M" + f.x.toString() + ", " + f.y.toString() + " l 3.5,3.5 3.5,-3.5");
|
|
585
|
+
let i = this.a3 != null ? this.a3 : this.c.y();
|
|
579
586
|
c.add(((() => {
|
|
580
587
|
let $ret = new Path();
|
|
581
588
|
$ret.an = g;
|
|
582
589
|
$ret.am = 2;
|
|
583
|
-
$ret.stroke =
|
|
590
|
+
$ret.stroke = i;
|
|
584
591
|
$ret.ad = 2;
|
|
585
592
|
return $ret;
|
|
586
593
|
})()));
|
|
@@ -588,7 +595,7 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
588
595
|
let $ret = new Path();
|
|
589
596
|
$ret.an = h;
|
|
590
597
|
$ret.am = 2;
|
|
591
|
-
$ret.stroke =
|
|
598
|
+
$ret.stroke = i;
|
|
592
599
|
$ret.ad = 2;
|
|
593
600
|
return $ret;
|
|
594
601
|
})()));
|
|
@@ -75,8 +75,8 @@ export let SummaryChooserView = /*@__PURE__*/ (() => {
|
|
|
75
75
|
this.e();
|
|
76
76
|
}
|
|
77
77
|
e() {
|
|
78
|
-
if (this.model.f.
|
|
79
|
-
let a = this.model.r.count * this.model.f.
|
|
78
|
+
if (this.model.f.bg > -1) {
|
|
79
|
+
let a = this.model.r.count * this.model.f.bg;
|
|
80
80
|
a += 4;
|
|
81
81
|
this.d.setStyleProperty("height", a + "px");
|
|
82
82
|
}
|
|
@@ -322,12 +322,12 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
322
322
|
a6() {
|
|
323
323
|
if (this.e != null) {
|
|
324
324
|
this.e.density = this.m;
|
|
325
|
-
this.e.
|
|
325
|
+
this.e.fh = this.ba;
|
|
326
326
|
this.e.baseTheme = this.i;
|
|
327
327
|
this.e.backgroundColor = this.a9;
|
|
328
328
|
this.e.showSelectAll = false;
|
|
329
|
-
this.e.
|
|
330
|
-
this.e.
|
|
329
|
+
this.e.a7 = false;
|
|
330
|
+
this.e.a3 = false;
|
|
331
331
|
this.e.updateHrMargin(new Thickness(1, -7, 3, -7, 3));
|
|
332
332
|
this.e.itemsSource = this.q;
|
|
333
333
|
this.e.dataMemberPath = "label";
|
|
@@ -381,7 +381,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
381
381
|
if (d.iD == a) {
|
|
382
382
|
d.isSelected = b;
|
|
383
383
|
if (this.e != null) {
|
|
384
|
-
this.e.
|
|
384
|
+
this.e.dp(c, d, d);
|
|
385
385
|
}
|
|
386
386
|
break;
|
|
387
387
|
}
|
|
@@ -393,7 +393,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
393
393
|
c.label = b;
|
|
394
394
|
this.q.add(c);
|
|
395
395
|
if (this.e != null) {
|
|
396
|
-
this.e.
|
|
396
|
+
this.e.dl(this.q.count - 1, c);
|
|
397
397
|
}
|
|
398
398
|
this.c.onItemInserted();
|
|
399
399
|
}
|
|
@@ -403,7 +403,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
403
403
|
if (c.iD == a) {
|
|
404
404
|
this.q.removeAt(b);
|
|
405
405
|
if (this.e != null) {
|
|
406
|
-
this.e.
|
|
406
|
+
this.e.dn(b, c);
|
|
407
407
|
}
|
|
408
408
|
break;
|
|
409
409
|
}
|
|
@@ -416,7 +416,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
416
416
|
if (d.iD == a) {
|
|
417
417
|
d.label = b;
|
|
418
418
|
if (this.e != null) {
|
|
419
|
-
this.e.
|
|
419
|
+
this.e.dp(c, d, d);
|
|
420
420
|
}
|
|
421
421
|
break;
|
|
422
422
|
}
|
package/esm2015/lib/ImageCell.js
CHANGED
|
@@ -14,103 +14,103 @@ export let ImageCell = /*@__PURE__*/ (() => {
|
|
|
14
14
|
class ImageCell extends GridCellBase {
|
|
15
15
|
constructor(a) {
|
|
16
16
|
super(a);
|
|
17
|
-
this.
|
|
18
|
-
this.ds = 1;
|
|
19
|
-
this.dt = 3;
|
|
20
|
-
this.d0 = null;
|
|
21
|
-
this.du = false;
|
|
17
|
+
this.d1 = null;
|
|
22
18
|
this.dv = 1;
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
19
|
+
this.dw = 3;
|
|
20
|
+
this.d3 = null;
|
|
21
|
+
this.dx = false;
|
|
22
|
+
this.dy = 1;
|
|
23
|
+
this.d0 = null;
|
|
24
|
+
this.d1 = a.createElement("img");
|
|
25
|
+
this.d1.listen("load", runOn(this, this.d6));
|
|
26
|
+
this.d0 = a.createElement("div");
|
|
27
|
+
this.d0.setRawStyleProperty("background-size", "contain");
|
|
28
|
+
this.d0.setRawStyleProperty("background-repeat", "no-repeat");
|
|
29
|
+
this.d0.setRawStyleProperty("background-position", "center");
|
|
30
|
+
this.d0.setRawStyleProperty("width", "100%");
|
|
31
|
+
this.d0.setRawStyleProperty("height", "100%");
|
|
32
|
+
this.ar.setRawStyleProperty("text-align", "left");
|
|
33
|
+
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
34
|
+
this.ar.append(this.d0);
|
|
35
|
+
}
|
|
36
|
+
get d2() {
|
|
37
|
+
return this.d1;
|
|
35
38
|
}
|
|
36
39
|
get dz() {
|
|
37
40
|
return this.dy;
|
|
38
41
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
set dw(a) {
|
|
43
|
-
this.dv = a;
|
|
42
|
+
set dz(a) {
|
|
43
|
+
this.dy = a;
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
this.
|
|
47
|
-
if (!stringIsNullOrEmpty(this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
45
|
+
d6(a) {
|
|
46
|
+
this.dx = false;
|
|
47
|
+
if (!stringIsNullOrEmpty(this.d3)) {
|
|
48
|
+
this.d0.setRawStyleProperty("opacity", "1");
|
|
49
|
+
this.d0.setRawStyleProperty("background-image", "url(" + this.d3 + ")");
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
if (a == this.
|
|
52
|
+
d7(a, b) {
|
|
53
|
+
if (a == this.d3) {
|
|
54
54
|
return;
|
|
55
55
|
}
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
56
|
+
this.d4();
|
|
57
|
+
this.d0.setRawStyleProperty("opacity", "0");
|
|
58
58
|
if (a == null || a.length == 0) {
|
|
59
|
-
this.
|
|
59
|
+
this.d5(this.d1);
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
if (Base.equalsStatic(a, this.
|
|
62
|
+
if (Base.equalsStatic(a, this.d3)) {
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
|
-
this.
|
|
66
|
-
let img_ = this.
|
|
65
|
+
this.eb(a, b);
|
|
66
|
+
let img_ = this.d1.getNativeElement();
|
|
67
67
|
if (img_ != null && (img_.complete)) {
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
68
|
+
this.dx = false;
|
|
69
|
+
this.d1.setRawStyleProperty("opacity", "1");
|
|
70
|
+
this.d0.setRawStyleProperty("background-image", "url(" + this.d3 + ")");
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
d5(a) {
|
|
74
74
|
a.setAttribute("src", "");
|
|
75
|
-
this.
|
|
75
|
+
this.d0.setRawStyleProperty("background-image", "");
|
|
76
76
|
}
|
|
77
|
-
|
|
77
|
+
ea(a) {
|
|
78
78
|
switch (a) {
|
|
79
79
|
case 1:
|
|
80
|
-
this.
|
|
80
|
+
this.d0.setRawStyleProperty("background-size", "100% 100%");
|
|
81
81
|
break;
|
|
82
82
|
case 2:
|
|
83
|
-
this.
|
|
83
|
+
this.d0.setRawStyleProperty("background-size", "auto");
|
|
84
84
|
break;
|
|
85
85
|
case 0:
|
|
86
|
-
this.
|
|
86
|
+
this.d0.setRawStyleProperty("background-size", "contain");
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
this.
|
|
92
|
-
this.
|
|
93
|
-
this.
|
|
90
|
+
eb(a, b) {
|
|
91
|
+
this.dx = true;
|
|
92
|
+
this.d3 = a;
|
|
93
|
+
this.d2.setAttribute("src", a);
|
|
94
94
|
}
|
|
95
|
-
|
|
96
|
-
if (this.
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
95
|
+
d4() {
|
|
96
|
+
if (this.dx) {
|
|
97
|
+
this.d5(this.d1);
|
|
98
|
+
this.d3 = "";
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
this.
|
|
101
|
+
d8(a) {
|
|
102
|
+
this.dv = a;
|
|
103
103
|
}
|
|
104
|
-
|
|
105
|
-
this.
|
|
104
|
+
d9(a) {
|
|
105
|
+
this.dw = a;
|
|
106
106
|
}
|
|
107
107
|
get_ae() {
|
|
108
108
|
return true;
|
|
109
109
|
}
|
|
110
|
-
|
|
111
|
-
super.
|
|
110
|
+
ck(a, b, c) {
|
|
111
|
+
super.ck(a, b, c);
|
|
112
112
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
113
|
-
this.
|
|
113
|
+
this.d0.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -24,29 +24,29 @@ export let ImageCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
if (a.a7) {
|
|
27
|
-
if (a.bc(CellModel.
|
|
28
|
-
let c = Math.min(1, Math.max(0, a.
|
|
29
|
-
let d = a.
|
|
30
|
-
this.d.
|
|
27
|
+
if (a.bc(CellModel.fo) || a.bc(CellModel.h4)) {
|
|
28
|
+
let c = Math.min(1, Math.max(0, a.c7));
|
|
29
|
+
let d = a.cs * (1 - c);
|
|
30
|
+
this.d.dz = d;
|
|
31
31
|
}
|
|
32
|
-
if (b.bc(ImageCellModel.
|
|
33
|
-
this.e(b.
|
|
32
|
+
if (b.bc(ImageCellModel.n4) || b.bc(ImageCellModel.n5)) {
|
|
33
|
+
this.e(b.n8, b.n1);
|
|
34
34
|
}
|
|
35
|
-
if (b.bc(ImageCellModel.
|
|
36
|
-
this.f(b.
|
|
35
|
+
if (b.bc(ImageCellModel.n6) || b.bc(ImageCellModel.ga) || b.bc(ImageCellModel.h3)) {
|
|
36
|
+
this.f(b.n3, b.g, b.i);
|
|
37
37
|
}
|
|
38
|
-
if (b.bc(ImageCellModel.
|
|
38
|
+
if (b.bc(ImageCellModel.hk)) {
|
|
39
39
|
if (a.u == 1) {
|
|
40
|
-
this.d.
|
|
40
|
+
this.d.d4();
|
|
41
41
|
}
|
|
42
42
|
else if (a.u == 2) {
|
|
43
|
-
this.e(b.
|
|
43
|
+
this.e(b.n8, b.n1);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
f(a, b, c) {
|
|
49
|
-
this.d.
|
|
49
|
+
this.d.ea(a);
|
|
50
50
|
}
|
|
51
51
|
e(a, b) {
|
|
52
52
|
let c = a.toLowerCase();
|
|
@@ -54,35 +54,35 @@ export let ImageCellPresenter = /*@__PURE__*/ (() => {
|
|
|
54
54
|
b = 4;
|
|
55
55
|
}
|
|
56
56
|
if (stringStartsWith(c, "http") || b == 4) {
|
|
57
|
-
this.d.
|
|
57
|
+
this.d.d7(a, 4);
|
|
58
58
|
}
|
|
59
59
|
if (stringStartsWith(c, "asset") || b == 2) {
|
|
60
60
|
let d = a;
|
|
61
61
|
if (stringStartsWith(c, "asset")) {
|
|
62
62
|
d = a.substr(8);
|
|
63
63
|
}
|
|
64
|
-
this.d.
|
|
64
|
+
this.d.d7(d, 2);
|
|
65
65
|
}
|
|
66
66
|
if (stringStartsWith(c, "drawable") || b == 1) {
|
|
67
67
|
let e = a;
|
|
68
68
|
if (stringStartsWith(c, "drawable")) {
|
|
69
69
|
e = a.substr(11);
|
|
70
70
|
}
|
|
71
|
-
this.d.
|
|
71
|
+
this.d.d7(e, 1);
|
|
72
72
|
}
|
|
73
73
|
if (stringStartsWith(c, "nativeresource") || b == 1) {
|
|
74
74
|
let f = a;
|
|
75
75
|
if (stringStartsWith(c, "nativeresource")) {
|
|
76
76
|
f = a.substr(17);
|
|
77
77
|
}
|
|
78
|
-
this.d.
|
|
78
|
+
this.d.d7(f, 1);
|
|
79
79
|
}
|
|
80
80
|
if (stringStartsWith(c, "embeddedresource") || b == 3) {
|
|
81
81
|
let g = a;
|
|
82
82
|
if (stringStartsWith(c, "embeddedresource")) {
|
|
83
83
|
g = a.substr(19);
|
|
84
84
|
}
|
|
85
|
-
this.d.
|
|
85
|
+
this.d.d7(g, 3);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
}
|