igniteui-angular-data-grids 20.0.1-beta.0 → 20.0.2-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 +10223 -8743
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +3 -3
- package/esm2015/lib/CanvasCellPresenterBase.js +14 -14
- package/esm2015/lib/CanvasContentCellModelHelper.js +18 -18
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +9 -9
- package/esm2015/lib/CanvasGridCellBase.js +9 -9
- package/esm2015/lib/CanvasImageCellPresenter.js +10 -10
- package/esm2015/lib/CanvasNumericCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/CanvasSummaryCell.js +1 -1
- package/esm2015/lib/CanvasSummaryCellPresenter.js +8 -8
- package/esm2015/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTextCellPresenter.js +10 -10
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +13 -13
- package/esm2015/lib/CellPresenterBase.js +64 -39
- package/esm2015/lib/CheckboxListView_combined.js +49 -49
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +6925 -6539
- package/esm2015/lib/ColumnGroupingView_combined.js +5 -5
- package/esm2015/lib/ColumnPinningView_combined.js +11 -11
- package/esm2015/lib/ColumnSortDescription.js +6 -1
- package/esm2015/lib/ColumnSummaryDescription.js +6 -1
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +46 -33
- package/esm2015/lib/DataGridCellLayoutPanel.js +19 -19
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +10 -10
- package/esm2015/lib/EditorCell.js +335 -335
- package/esm2015/lib/EditorCellPresenter.js +28 -28
- package/esm2015/lib/EditorRowCell.js +1 -1
- package/esm2015/lib/FilterCell.js +278 -278
- package/esm2015/lib/FilterCellPresenter.js +18 -18
- package/esm2015/lib/GridCellBase.js +587 -317
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +7 -7
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridConditionFilterStringErrorsParsingEventArgs.js +2 -14
- package/esm2015/lib/GridConditionalStyleFontInfo.js +26 -0
- package/esm2015/lib/GridConditionalStyleProperty.js +8 -8
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +1 -1
- package/esm2015/lib/ImageCell.js +62 -62
- package/esm2015/lib/ImageCellPresenter.js +18 -18
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +15 -15
- package/esm2015/lib/NumericCell.js +9 -5
- package/esm2015/lib/NumericCellPresenter.js +10 -10
- package/esm2015/lib/PropertyEditorView_combined.js +21 -21
- package/esm2015/lib/SectionHeaderCell.js +17 -17
- package/esm2015/lib/SectionHeaderCellPresenter.js +11 -11
- package/esm2015/lib/SummaryCell.js +41 -41
- package/esm2015/lib/SummaryCellPresenter.js +14 -14
- package/esm2015/lib/TemplateCell.js +16 -16
- package/esm2015/lib/TemplateCellPresenter.js +5 -5
- package/esm2015/lib/TemplateHeader.js +7 -7
- package/esm2015/lib/TemplateHeaderCell.js +6 -6
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +35 -30
- package/esm2015/lib/TextCellDecoration.js +33 -0
- package/esm2015/lib/TextCellPresenter.js +11 -11
- package/esm2015/lib/TextHeaderCell.js +157 -150
- package/esm2015/lib/TextHeaderCellPresenter.js +35 -35
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +301 -190
- package/esm2015/lib/igx-checkbox-list-component.js +1 -1
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +254 -115
- package/esm2015/lib/igx-data-grid-component.js +38 -5
- 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-definition-base-component.js +46 -45
- package/esm2015/lib/igx-editor-cell-info.js +23 -23
- package/esm2015/lib/igx-filter-cell-info.js +26 -26
- package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
- package/esm2015/lib/igx-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm2015/lib/igx-grid-conditional-style-font-info-component.js +144 -0
- package/esm2015/lib/igx-grid-conditional-style-font-info-dynamic-module.js +34 -0
- package/esm2015/lib/igx-grid-conditional-style-font-info-module.js +27 -0
- package/esm2015/lib/igx-header-component.js +16 -16
- 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-section-header-component.js +16 -16
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-summary-row-component.js +16 -16
- package/esm2015/lib/igx-template-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-text-cell-info.js +2 -2
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +10 -10
- package/esm2015/public_api.js +5 -0
- package/esm5/lib/AccessibilityRow.js +3 -3
- package/esm5/lib/CanvasCellPresenterBase.js +14 -14
- package/esm5/lib/CanvasContentCellModelHelper.js +18 -18
- package/esm5/lib/CanvasDateTimeCellPresenter.js +9 -9
- package/esm5/lib/CanvasGridCellBase.js +9 -9
- package/esm5/lib/CanvasImageCellPresenter.js +10 -10
- package/esm5/lib/CanvasNumericCellPresenter.js +9 -9
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/CanvasSummaryCell.js +1 -1
- package/esm5/lib/CanvasSummaryCellPresenter.js +8 -8
- package/esm5/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +4 -4
- package/esm5/lib/CanvasTextCellPresenter.js +10 -10
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +13 -13
- package/esm5/lib/CellPresenterBase.js +64 -39
- package/esm5/lib/CheckboxListView_combined.js +49 -49
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +6754 -6269
- package/esm5/lib/ColumnGroupingView_combined.js +5 -5
- package/esm5/lib/ColumnPinningView_combined.js +11 -11
- package/esm5/lib/ColumnSortDescription.js +6 -1
- package/esm5/lib/ColumnSummaryDescription.js +6 -1
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +46 -33
- package/esm5/lib/DataGridCellLayoutPanel.js +19 -19
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +10 -10
- package/esm5/lib/EditorCell.js +291 -291
- package/esm5/lib/EditorCellPresenter.js +28 -28
- package/esm5/lib/EditorRowCell.js +1 -1
- package/esm5/lib/FilterCell.js +266 -266
- package/esm5/lib/FilterCellPresenter.js +18 -18
- package/esm5/lib/GridCellBase.js +625 -311
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +7 -7
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridConditionFilterStringErrorsParsingEventArgs.js +2 -22
- package/esm5/lib/GridConditionalStyleFontInfo.js +32 -0
- package/esm5/lib/GridConditionalStyleProperty.js +8 -8
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +1 -1
- package/esm5/lib/ImageCell.js +61 -61
- package/esm5/lib/ImageCellPresenter.js +18 -18
- package/esm5/lib/MultiColumnComboBoxView_combined.js +15 -15
- package/esm5/lib/NumericCell.js +9 -5
- package/esm5/lib/NumericCellPresenter.js +10 -10
- package/esm5/lib/PropertyEditorView_combined.js +21 -21
- package/esm5/lib/SectionHeaderCell.js +17 -17
- package/esm5/lib/SectionHeaderCellPresenter.js +11 -11
- package/esm5/lib/SummaryCell.js +41 -41
- package/esm5/lib/SummaryCellPresenter.js +14 -14
- package/esm5/lib/TemplateCell.js +16 -16
- package/esm5/lib/TemplateCellPresenter.js +5 -5
- package/esm5/lib/TemplateHeader.js +7 -7
- package/esm5/lib/TemplateHeaderCell.js +6 -6
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +35 -30
- package/esm5/lib/TextCellDecoration.js +33 -0
- package/esm5/lib/TextCellPresenter.js +11 -11
- package/esm5/lib/TextHeaderCell.js +155 -148
- package/esm5/lib/TextHeaderCellPresenter.js +35 -35
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +349 -190
- package/esm5/lib/igx-checkbox-list-component.js +1 -1
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +302 -115
- package/esm5/lib/igx-data-grid-component.js +42 -5
- 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-definition-base-component.js +46 -45
- package/esm5/lib/igx-editor-cell-info.js +23 -23
- package/esm5/lib/igx-filter-cell-info.js +26 -26
- package/esm5/lib/igx-filter-row-definition-component.js +8 -8
- package/esm5/lib/igx-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm5/lib/igx-grid-conditional-style-font-info-component.js +155 -0
- package/esm5/lib/igx-grid-conditional-style-font-info-dynamic-module.js +33 -0
- package/esm5/lib/igx-grid-conditional-style-font-info-module.js +28 -0
- package/esm5/lib/igx-header-component.js +16 -16
- 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-section-header-component.js +16 -16
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-summary-row-component.js +16 -16
- package/esm5/lib/igx-template-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-text-cell-info.js +2 -2
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +10 -10
- package/esm5/public_api.js +5 -0
- package/fesm2015/igniteui-angular-data-grids.js +10236 -9009
- package/fesm5/igniteui-angular-data-grids.js +10219 -8745
- package/lib/ColumnFilterCondition_combined.d.ts +1784 -1694
- package/lib/ContentCellModelHelper.d.ts +4 -4
- package/lib/EditorCell.d.ts +74 -74
- package/lib/FilterCell.d.ts +61 -61
- package/lib/GridCellBase.d.ts +140 -95
- package/lib/GridConditionFilterStringErrorsParsingEventArgs.d.ts +2 -6
- package/lib/GridConditionalStyleFontInfo.d.ts +11 -0
- package/lib/ImageCell.d.ts +20 -20
- package/lib/MultiColumnComboBoxView_combined.d.ts +1 -1
- package/lib/NumericCell.d.ts +2 -1
- package/lib/SectionHeaderCell.d.ts +4 -4
- package/lib/SummaryCell.d.ts +11 -11
- package/lib/TemplateCell.d.ts +6 -6
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +3 -3
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +10 -8
- package/lib/TextCellDecoration.d.ts +26 -0
- package/lib/TextHeaderCell.d.ts +37 -35
- package/lib/VerticalSeparatorCell.d.ts +9 -9
- package/lib/igx-cell-info.d.ts +63 -0
- package/lib/igx-data-grid-column-component.d.ts +68 -2
- package/lib/igx-data-grid-component.d.ts +9 -2
- package/lib/igx-definition-base-component.d.ts +1 -1
- package/lib/igx-grid-conditional-style-font-info-component.d.ts +33 -0
- package/lib/igx-grid-conditional-style-font-info-dynamic-module.d.ts +9 -0
- package/lib/igx-grid-conditional-style-font-info-module.d.ts +8 -0
- package/package.json +4 -4
- package/public_api.d.ts +5 -0
|
@@ -734,10 +734,10 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
734
734
|
let c = this.targetGrid.groupDescriptions.j;
|
|
735
735
|
for (let d = 0; d < c.count; d++) {
|
|
736
736
|
let e = new GroupInfo();
|
|
737
|
-
let f = b.i((g) => g.
|
|
737
|
+
let f = b.i((g) => g.l5 == c.item(d).f);
|
|
738
738
|
if (f != -1) {
|
|
739
|
-
if (!stringIsNullOrEmpty(b._inner[f].
|
|
740
|
-
e.c = b._inner[f].
|
|
739
|
+
if (!stringIsNullOrEmpty(b._inner[f].mc)) {
|
|
740
|
+
e.c = b._inner[f].mc;
|
|
741
741
|
}
|
|
742
742
|
else {
|
|
743
743
|
e.c = c.item(d).f;
|
|
@@ -768,7 +768,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
768
768
|
let h = a;
|
|
769
769
|
let i = this.targetGrid.actualColumns._inner[h.cellPath.a5];
|
|
770
770
|
let j = new ColumnGroupDescription(0);
|
|
771
|
-
j.f = i.
|
|
771
|
+
j.f = i.l5;
|
|
772
772
|
j.c = 1;
|
|
773
773
|
let k = this.targetGrid.groupDescriptions.j.contains(j);
|
|
774
774
|
j.c = 0;
|
|
@@ -938,7 +938,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
938
938
|
}
|
|
939
939
|
let j = this.b.j;
|
|
940
940
|
for (let k = 0; k < j.count; k++) {
|
|
941
|
-
let l = this.q._inner[k].
|
|
941
|
+
let l = this.q._inner[k].bg();
|
|
942
942
|
let m = this.b.b(j._inner[k]);
|
|
943
943
|
l.i = m[0] - d;
|
|
944
944
|
l.g = m[1] - e;
|
|
@@ -304,12 +304,12 @@ export let ColumnPinning = /*@__PURE__*/ (() => {
|
|
|
304
304
|
let b = new ObservableCollection$1(ColumnPinningInfo.$, 0);
|
|
305
305
|
for (let c of fromEnum(this.b.actualColumns)) {
|
|
306
306
|
a = new ColumnPinningInfo();
|
|
307
|
-
let d = c.
|
|
308
|
-
if (c.
|
|
309
|
-
d = c.
|
|
307
|
+
let d = c.l5;
|
|
308
|
+
if (c.mc != null) {
|
|
309
|
+
d = c.mc;
|
|
310
310
|
}
|
|
311
311
|
a.columnName = d;
|
|
312
|
-
if (c.
|
|
312
|
+
if (c.io == 1) {
|
|
313
313
|
a.isPinned = true;
|
|
314
314
|
}
|
|
315
315
|
else {
|
|
@@ -335,17 +335,17 @@ export let ColumnPinning = /*@__PURE__*/ (() => {
|
|
|
335
335
|
let c = this.d.f.actualDataSource.getItemAtIndex(b.c);
|
|
336
336
|
let d = this.b.actualColumns.count;
|
|
337
337
|
for (let e = 0; e < d; e++) {
|
|
338
|
-
if (this.b.actualColumns._inner[e].
|
|
339
|
-
if (this.b.actualColumns._inner[e].
|
|
340
|
-
this.b.actualColumns._inner[e].
|
|
338
|
+
if (this.b.actualColumns._inner[e].l5 == c.columnName || this.b.actualColumns._inner[e].mw == c.columnName || this.b.actualColumns._inner[e].mc == c.columnName) {
|
|
339
|
+
if (this.b.actualColumns._inner[e].io == 0) {
|
|
340
|
+
this.b.actualColumns._inner[e].io = 1;
|
|
341
341
|
}
|
|
342
|
-
else if (this.b.actualColumns._inner[e].
|
|
343
|
-
this.b.actualColumns._inner[e].
|
|
342
|
+
else if (this.b.actualColumns._inner[e].io == 2) {
|
|
343
|
+
this.b.actualColumns._inner[e].io = 1;
|
|
344
344
|
}
|
|
345
345
|
else {
|
|
346
|
-
this.b.actualColumns._inner[e].
|
|
346
|
+
this.b.actualColumns._inner[e].io = 0;
|
|
347
347
|
}
|
|
348
|
-
this.b.actualColumns._inner[e].
|
|
348
|
+
this.b.actualColumns._inner[e].nx("Pinned");
|
|
349
349
|
break;
|
|
350
350
|
}
|
|
351
351
|
}
|
|
@@ -5,6 +5,7 @@ https://www.infragistics.com/legal/license/igultimate-eula
|
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
7
|
import { Base, markType } from "igniteui-angular-core";
|
|
8
|
+
import { stringEmpty } from "igniteui-angular-core";
|
|
8
9
|
/**
|
|
9
10
|
* @hidden
|
|
10
11
|
*/
|
|
@@ -53,7 +54,11 @@ export let ColumnSortDescription = /*@__PURE__*/ (() => {
|
|
|
53
54
|
return b.f == this.f && b.c == this.c;
|
|
54
55
|
}
|
|
55
56
|
getHashCode() {
|
|
56
|
-
|
|
57
|
+
let a = Base.getHashCodeStatic(stringEmpty());
|
|
58
|
+
if (this.f != null) {
|
|
59
|
+
a = Base.getHashCodeStatic(this.f);
|
|
60
|
+
}
|
|
61
|
+
return a * 17 + this.c;
|
|
57
62
|
}
|
|
58
63
|
}
|
|
59
64
|
ColumnSortDescription.$t = markType(ColumnSortDescription, 'ColumnSortDescription');
|
|
@@ -12,6 +12,7 @@ import { AverageSummaryCalculator } from "igniteui-angular-core";
|
|
|
12
12
|
import { CountSummaryCalculator } from "igniteui-angular-core";
|
|
13
13
|
import { BindingFormatter } from "igniteui-angular-core";
|
|
14
14
|
import { FormatSummaryTextEventArgs } from "./FormatSummaryTextEventArgs";
|
|
15
|
+
import { stringEmpty } from "igniteui-angular-core";
|
|
15
16
|
/**
|
|
16
17
|
* @hidden
|
|
17
18
|
*/
|
|
@@ -177,7 +178,11 @@ export let ColumnSummaryDescription = /*@__PURE__*/ (() => {
|
|
|
177
178
|
return b.ah == this.ah && b.i == this.i;
|
|
178
179
|
}
|
|
179
180
|
getHashCode() {
|
|
180
|
-
|
|
181
|
+
let a = Base.getHashCodeStatic(stringEmpty());
|
|
182
|
+
if (this.ah != null) {
|
|
183
|
+
a = Base.getHashCodeStatic(this.ah);
|
|
184
|
+
}
|
|
185
|
+
return a * 17 + this.i;
|
|
181
186
|
}
|
|
182
187
|
o(a, b, c) {
|
|
183
188
|
let d = ((() => {
|
|
@@ -521,15 +521,15 @@ export let ComparisonOperatorSelector = /*@__PURE__*/ (() => {
|
|
|
521
521
|
$ret.c = false;
|
|
522
522
|
return $ret;
|
|
523
523
|
})());
|
|
524
|
-
this.n.
|
|
525
|
-
this.n.
|
|
526
|
-
this.n.
|
|
524
|
+
this.n.ky = this.n.kz = 4;
|
|
525
|
+
this.n.k0 = this.n.kx = 0;
|
|
526
|
+
this.n.l5 = "Icon";
|
|
527
527
|
let e = this.n;
|
|
528
528
|
e.cellUpdating = delegateCombine(e.cellUpdating, runOn(this, this.el));
|
|
529
529
|
this.f.columns.add(this.n);
|
|
530
530
|
let f = new TextColumn();
|
|
531
|
-
f.
|
|
532
|
-
f.
|
|
531
|
+
f.l5 = "DisplayText";
|
|
532
|
+
f.ky = 0;
|
|
533
533
|
f.g = 0;
|
|
534
534
|
this.f.columns.add(f);
|
|
535
535
|
this.d4();
|
|
@@ -832,12 +832,12 @@ export let ComparisonOperatorSelector = /*@__PURE__*/ (() => {
|
|
|
832
832
|
this.em();
|
|
833
833
|
}
|
|
834
834
|
d9(a, b) {
|
|
835
|
-
let c = b.cellInfo.
|
|
835
|
+
let c = b.cellInfo.fn;
|
|
836
836
|
this.i = this.f.actualDataSource.getItemAtIndex(c);
|
|
837
837
|
this.d8();
|
|
838
838
|
}
|
|
839
839
|
el(a, b) {
|
|
840
|
-
this.e.t(b.content, b.cellInfo.
|
|
840
|
+
this.e.t(b.content, b.cellInfo.ic);
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
843
|
ComparisonOperatorSelector.$t = markType(ComparisonOperatorSelector, 'ComparisonOperatorSelector', Base.$, [INotifyPropertyChanged_$type]);
|
|
@@ -7,7 +7,6 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { Base, markType } from "igniteui-angular-core";
|
|
8
8
|
import { Color } from "igniteui-angular-core";
|
|
9
9
|
import { CellModel } from "./CellModel";
|
|
10
|
-
import { FontUtil } from "igniteui-angular-core";
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
|
@@ -19,7 +18,7 @@ export let ContentCellModelHelper = /*@__PURE__*/ (() => {
|
|
|
19
18
|
}
|
|
20
19
|
return a.color;
|
|
21
20
|
}
|
|
22
|
-
static
|
|
21
|
+
static b(a, b, c) {
|
|
23
22
|
switch (c) {
|
|
24
23
|
case 0:
|
|
25
24
|
a.setRawStyleProperty("text-align", "left");
|
|
@@ -52,23 +51,23 @@ export let ContentCellModelHelper = /*@__PURE__*/ (() => {
|
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
53
|
static a(a, b, c, d, e) {
|
|
55
|
-
if (b.
|
|
56
|
-
if (b.
|
|
57
|
-
let f = Math.min(1, Math.max(0, b.
|
|
58
|
-
let g = b.
|
|
54
|
+
if (b.a7) {
|
|
55
|
+
if (b.bc(CellModel.fm) || b.bc(CellModel.es) || b.bc(CellModel.h1) || b.bb("IsRowPinned") || b.bb("IsRowSticky") || b.bb("PinnedRowOpacity")) {
|
|
56
|
+
let f = Math.min(1, Math.max(0, b.c5));
|
|
57
|
+
let g = b.co * (1 - f);
|
|
59
58
|
d.setRawStyleProperty("opacity", g.toString());
|
|
60
|
-
if (b.
|
|
61
|
-
e.
|
|
59
|
+
if (b.bm) {
|
|
60
|
+
e.dh(b.co * f);
|
|
62
61
|
}
|
|
63
62
|
}
|
|
64
|
-
if (b.
|
|
65
|
-
ContentCellModelHelper.
|
|
66
|
-
if (b.
|
|
67
|
-
e.
|
|
63
|
+
if (b.bc(CellModel.e3)) {
|
|
64
|
+
ContentCellModelHelper.c(d, b.na);
|
|
65
|
+
if (b.bm) {
|
|
66
|
+
e.de(b.na);
|
|
68
67
|
}
|
|
69
68
|
}
|
|
70
|
-
if (b.
|
|
71
|
-
switch (b.
|
|
69
|
+
if (b.bc(CellModel.gs)) {
|
|
70
|
+
switch (b.ac) {
|
|
72
71
|
case 0:
|
|
73
72
|
d.setRawStyleProperty("white-space", "nowrap");
|
|
74
73
|
d.setRawStyleProperty("text-overflow", "ellipsis");
|
|
@@ -84,44 +83,58 @@ export let ContentCellModelHelper = /*@__PURE__*/ (() => {
|
|
|
84
83
|
break;
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
|
-
if (b.
|
|
86
|
+
if (b.bb("TextDecorations")) {
|
|
87
|
+
ContentCellModelHelper.d(d, b.aa);
|
|
88
|
+
}
|
|
89
|
+
if (b.bc(CellModel.f8) || b.bc(CellModel.h0)) {
|
|
88
90
|
let h = b.g;
|
|
89
91
|
let i = b.i;
|
|
90
|
-
ContentCellModelHelper.
|
|
91
|
-
e.
|
|
92
|
+
ContentCellModelHelper.b(c, d, h);
|
|
93
|
+
e.cf(c, d, h);
|
|
92
94
|
ContentCellModelHelper.e(c, d, i);
|
|
93
|
-
|
|
94
|
-
|
|
95
|
+
e.cl(i);
|
|
96
|
+
if (b.bm) {
|
|
97
|
+
e.dd(h, i);
|
|
95
98
|
}
|
|
96
99
|
}
|
|
97
|
-
if (b.
|
|
98
|
-
|
|
100
|
+
if (b.bb("ActualFontInfo")) {
|
|
101
|
+
e.cx(d, b.ah);
|
|
99
102
|
}
|
|
100
|
-
if (b.
|
|
101
|
-
if (b.
|
|
102
|
-
if (b.
|
|
103
|
+
if (b.bb("IsEdited") || b.bb("IsDeleted")) {
|
|
104
|
+
if (b.bd || b.ba) {
|
|
105
|
+
if (b.ba) {
|
|
103
106
|
d.setRawStyleProperty("text-decoration", "line-through");
|
|
104
107
|
}
|
|
105
108
|
else {
|
|
106
|
-
d
|
|
109
|
+
ContentCellModelHelper.d(d, b.aa);
|
|
107
110
|
}
|
|
108
111
|
}
|
|
109
112
|
else {
|
|
110
|
-
d
|
|
113
|
+
ContentCellModelHelper.d(d, b.aa);
|
|
111
114
|
}
|
|
112
115
|
}
|
|
113
116
|
}
|
|
114
117
|
}
|
|
115
|
-
static
|
|
116
|
-
if (c == null) {
|
|
117
|
-
c = FontUtil.getDefaultFont(a);
|
|
118
|
-
}
|
|
119
|
-
b.setRawStyleProperty("font", c.fontString);
|
|
120
|
-
}
|
|
121
|
-
static d(a, b) {
|
|
118
|
+
static c(a, b) {
|
|
122
119
|
let c = ContentCellModelHelper.g(b);
|
|
123
120
|
a.setRawStyleProperty("color", c.colorString);
|
|
124
121
|
}
|
|
122
|
+
static d(a, b) {
|
|
123
|
+
switch (b) {
|
|
124
|
+
case 1:
|
|
125
|
+
a.setRawStyleProperty("text-decoration", "line-through");
|
|
126
|
+
break;
|
|
127
|
+
case 2:
|
|
128
|
+
a.setRawStyleProperty("text-decoration", "overline");
|
|
129
|
+
break;
|
|
130
|
+
case 3:
|
|
131
|
+
a.setRawStyleProperty("text-decoration", "underline");
|
|
132
|
+
break;
|
|
133
|
+
case 0:
|
|
134
|
+
a.setRawStyleProperty("text-decoration", "none");
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
125
138
|
}
|
|
126
139
|
ContentCellModelHelper.$t = markType(ContentCellModelHelper, 'ContentCellModelHelper');
|
|
127
140
|
ContentCellModelHelper.f = Color.u(0, 0, 0, 0);
|
|
@@ -90,7 +90,7 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
90
90
|
let c = b.nativeCell.ah = false;
|
|
91
91
|
}
|
|
92
92
|
else {
|
|
93
|
-
let d = b.nativeCell.
|
|
93
|
+
let d = b.nativeCell.ap;
|
|
94
94
|
d.setRawStyleProperty("top", "-1000px");
|
|
95
95
|
d.setRawStyleProperty("left", "-1000px");
|
|
96
96
|
if (a.l.d != 0) {
|
|
@@ -187,10 +187,10 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
187
187
|
else {
|
|
188
188
|
p = true;
|
|
189
189
|
}
|
|
190
|
-
if (v.
|
|
190
|
+
if (v.bl) {
|
|
191
191
|
m = true;
|
|
192
192
|
}
|
|
193
|
-
if (v.u == 1 && v.
|
|
193
|
+
if (v.u == 1 && v.h6 != n) {
|
|
194
194
|
m = true;
|
|
195
195
|
}
|
|
196
196
|
}
|
|
@@ -231,7 +231,7 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
231
231
|
let ai = ag.isCanvasBased;
|
|
232
232
|
let aj = null;
|
|
233
233
|
if (!ai) {
|
|
234
|
-
aj = ag.nativeCell.
|
|
234
|
+
aj = ag.nativeCell.ap;
|
|
235
235
|
if (af.u == 0) {
|
|
236
236
|
this.element.append(aj);
|
|
237
237
|
ag.nativeCell.isRemoved = false;
|
|
@@ -246,19 +246,19 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
246
246
|
ag.nativeCell.isRemoved = false;
|
|
247
247
|
}
|
|
248
248
|
af.u = 2;
|
|
249
|
-
let al = (af.
|
|
250
|
-
let am = (af.
|
|
249
|
+
let al = (af.hc + intDivide(af.h2, 2));
|
|
250
|
+
let am = (af.he + intDivide(af.f6, 2));
|
|
251
251
|
let an = (al - b) / this.f.actualVisibleRegion.width;
|
|
252
252
|
let ao = (am - a) / this.f.actualVisibleRegion.height;
|
|
253
|
-
if (af.
|
|
253
|
+
if (af.bn) {
|
|
254
254
|
if (!ai) {
|
|
255
|
-
aj.setRawPosition(af.
|
|
255
|
+
aj.setRawPosition(af.c6, af.c7);
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
if (!ai) {
|
|
259
259
|
if (af.l.d != 0) {
|
|
260
260
|
if (this.f.b2) {
|
|
261
|
-
aj.setRawStyleProperty("clip", this.w(af.l.d, af.
|
|
261
|
+
aj.setRawStyleProperty("clip", this.w(af.l.d, af.c6, af.c7));
|
|
262
262
|
}
|
|
263
263
|
else {
|
|
264
264
|
aj.setRawStyleProperty("clip", "auto");
|
|
@@ -268,15 +268,15 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
268
268
|
aj.setRawStyleProperty("clip", this.y(af));
|
|
269
269
|
}
|
|
270
270
|
else {
|
|
271
|
-
if (Rect.l_op_Inequality(af.
|
|
272
|
-
aj.setRawStyleProperty("clip", this.x(af.
|
|
271
|
+
if (Rect.l_op_Inequality(af.nv, Rect.empty)) {
|
|
272
|
+
aj.setRawStyleProperty("clip", this.x(af.nv));
|
|
273
273
|
}
|
|
274
274
|
else {
|
|
275
275
|
aj.setRawStyleProperty("clip", "auto");
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
af.
|
|
279
|
+
af.l5();
|
|
280
280
|
if (ai) {
|
|
281
281
|
let ap = af.s.nativeCell;
|
|
282
282
|
ap.co(z);
|
|
@@ -286,15 +286,15 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
286
286
|
let aq = y.a;
|
|
287
287
|
aq.aa();
|
|
288
288
|
if (af.l.d != 0 && this.f.b2) {
|
|
289
|
-
aq.
|
|
289
|
+
aq.ag(this.ax(af.l.d));
|
|
290
290
|
}
|
|
291
291
|
let ar = af.s.nativeCell;
|
|
292
|
-
ar.b6(aq, y.c, y.d, af.
|
|
292
|
+
ar.b6(aq, y.c, y.d, af.c6, af.c7, z);
|
|
293
293
|
aq.z();
|
|
294
294
|
}
|
|
295
|
-
af.
|
|
295
|
+
af.ly();
|
|
296
296
|
if (m) {
|
|
297
|
-
af.
|
|
297
|
+
af.h6 = n;
|
|
298
298
|
if (!ai) {
|
|
299
299
|
aj.setRawStyleProperty("z-index", x.toString());
|
|
300
300
|
}
|
|
@@ -516,10 +516,10 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
516
516
|
return stringFormat1("rect({0}px, {1}px, {2}px, {3}px)", a.top, a.right, a.bottom, a.left);
|
|
517
517
|
}
|
|
518
518
|
y(a) {
|
|
519
|
-
let b = a.
|
|
519
|
+
let b = a.c6 < this.g.cn ? this.g.cn - a.c6 : 0;
|
|
520
520
|
let c = 0;
|
|
521
|
-
let d = this.g.cy == -1 ? a.
|
|
522
|
-
let e = a.
|
|
521
|
+
let d = this.g.cy == -1 ? a.h2 : (a.c6 + a.h2 > this.g.co) ? a.h2 - (a.c6 + a.h2 - this.g.co) : a.h2;
|
|
522
|
+
let e = a.f6;
|
|
523
523
|
return this.x(new Rect(0, b, c, d, e));
|
|
524
524
|
}
|
|
525
525
|
ah(a, b) {
|
|
@@ -17,49 +17,49 @@ export let DataGridScrollerKeyboardListener = /*@__PURE__*/ (() => {
|
|
|
17
17
|
this.a = a;
|
|
18
18
|
}
|
|
19
19
|
onDownArrow(a, b) {
|
|
20
|
-
return this.a.
|
|
20
|
+
return this.a.kl(a, b);
|
|
21
21
|
}
|
|
22
22
|
onEnd(a, b) {
|
|
23
|
-
return this.a.
|
|
23
|
+
return this.a.km(a, b);
|
|
24
24
|
}
|
|
25
25
|
onHome(a, b) {
|
|
26
|
-
return this.a.
|
|
26
|
+
return this.a.kq(a, b);
|
|
27
27
|
}
|
|
28
28
|
onLeftArrow(a, b) {
|
|
29
|
-
return this.a.
|
|
29
|
+
return this.a.ks(a, b);
|
|
30
30
|
}
|
|
31
31
|
onPageDown(a, b) {
|
|
32
|
-
return this.a.
|
|
32
|
+
return this.a.kt(a, b);
|
|
33
33
|
}
|
|
34
34
|
onPageUp(a, b) {
|
|
35
|
-
return this.a.
|
|
35
|
+
return this.a.ku(a, b);
|
|
36
36
|
}
|
|
37
37
|
onRightArrow(a, b) {
|
|
38
|
-
return this.a.
|
|
38
|
+
return this.a.kv(a, b);
|
|
39
39
|
}
|
|
40
40
|
onTab(a, b) {
|
|
41
|
-
return this.a.
|
|
41
|
+
return this.a.kx(a, b);
|
|
42
42
|
}
|
|
43
43
|
onUpArrow(a, b) {
|
|
44
|
-
return this.a.
|
|
44
|
+
return this.a.ky(a, b);
|
|
45
45
|
}
|
|
46
46
|
onWheel() {
|
|
47
|
-
this.a.
|
|
47
|
+
this.a.xo();
|
|
48
48
|
}
|
|
49
49
|
onEnter(a, b) {
|
|
50
|
-
return this.a.
|
|
50
|
+
return this.a.kn(a, b);
|
|
51
51
|
}
|
|
52
52
|
onEscape() {
|
|
53
|
-
return this.a.
|
|
53
|
+
return this.a.ko();
|
|
54
54
|
}
|
|
55
55
|
onF2() {
|
|
56
|
-
return this.a.
|
|
56
|
+
return this.a.kp();
|
|
57
57
|
}
|
|
58
58
|
onSpace(a, b) {
|
|
59
|
-
return this.a.
|
|
59
|
+
return this.a.kw(a, b);
|
|
60
60
|
}
|
|
61
61
|
onKeyDown(a, b, c) {
|
|
62
|
-
return this.a.
|
|
62
|
+
return this.a.kr(a, b, c);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
DataGridScrollerKeyboardListener.$t = markType(DataGridScrollerKeyboardListener, 'DataGridScrollerKeyboardListener', Base.$, [IScrollerKeyboardListener_$type]);
|
|
@@ -748,10 +748,10 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
748
748
|
this.s = 0;
|
|
749
749
|
this.t = 0;
|
|
750
750
|
for (let b = 0; b < a; b++) {
|
|
751
|
-
if (this.e.actualColumns._inner[b].
|
|
751
|
+
if (this.e.actualColumns._inner[b].ju == true) {
|
|
752
752
|
this.s++;
|
|
753
753
|
}
|
|
754
|
-
if (this.e.actualColumns._inner[b].
|
|
754
|
+
if (this.e.actualColumns._inner[b].io == 1) {
|
|
755
755
|
this.t++;
|
|
756
756
|
}
|
|
757
757
|
}
|
|
@@ -23,23 +23,23 @@ export let DateTimeCellPresenter = /*@__PURE__*/ (() => {
|
|
|
23
23
|
b(a) {
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
|
-
if (a.
|
|
27
|
-
if (a.
|
|
26
|
+
if (a.a7) {
|
|
27
|
+
if (a.bc(DateTimeCellModel.n8) || a.bc(DateTimeCellModel.n9) || a.bc(DateTimeCellModel.n7) || a.bc(DateTimeCellModel.gv) || a.bc(DateTimeCellModel.hz)) {
|
|
28
28
|
this.e(b);
|
|
29
|
-
this.d.
|
|
29
|
+
this.d.c5(this.d.dt, b.ku);
|
|
30
30
|
}
|
|
31
|
-
ContentCellModelHelper.a(this.a.
|
|
31
|
+
ContentCellModelHelper.a(this.a.ak, b, this.a.ap, this.d.dt, this.a);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
e(a) {
|
|
35
|
-
if (a.
|
|
36
|
-
a.
|
|
35
|
+
if (a.lp != null) {
|
|
36
|
+
a.ku = a.lp;
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
|
-
a.
|
|
40
|
-
if (a.
|
|
41
|
-
if (a.
|
|
42
|
-
a.
|
|
39
|
+
a.ku = a.ok(a.n6);
|
|
40
|
+
if (a.ku == stringEmpty()) {
|
|
41
|
+
if (a.ib != null && !(typeCast(Date_$type, a.ib) !== null)) {
|
|
42
|
+
a.ku = a.ib.toString();
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|