igniteui-angular-data-grids 20.0.1 → 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
|
@@ -15,33 +15,33 @@ export let TemplateCell = /*@__PURE__*/ (() => {
|
|
|
15
15
|
class TemplateCell extends GridCellBase {
|
|
16
16
|
constructor(a) {
|
|
17
17
|
super(a);
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
18
|
+
this.ds = null;
|
|
19
|
+
this.ds = new TemplateCellContainer(a);
|
|
20
|
+
this.ds.element.setRawStyleProperty("box-sizing", "border-box");
|
|
21
|
+
this.ap.append(this.ds.element);
|
|
22
|
+
this.ap.listen("keydown", runOn(this, this.du));
|
|
23
23
|
}
|
|
24
|
-
get
|
|
25
|
-
return this.
|
|
24
|
+
get dt() {
|
|
25
|
+
return this.ds;
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
get_ae() {
|
|
28
28
|
return true;
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
super.
|
|
30
|
+
ch(a, b, c) {
|
|
31
|
+
super.ch(a, b, c);
|
|
32
32
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
33
|
-
this.
|
|
33
|
+
this.ds.element.setRawStyleProperty("margin-left", this.bb + this.bd + this.bc + "px");
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
let a = this.
|
|
36
|
+
b6() {
|
|
37
|
+
let a = this.ds.element.getNativeElement();
|
|
38
38
|
if (a.contains(document.activeElement)) {
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
-
super.
|
|
41
|
+
super.b6();
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
let b = this.
|
|
43
|
+
du(a) {
|
|
44
|
+
let b = this.ds.element.getNativeElement();
|
|
45
45
|
if (b.contains(document.activeElement) && document.activeElement.nodeName == "INPUT") {
|
|
46
46
|
let c = BaseDOMEventProxy.c0(a);
|
|
47
47
|
if (c == 14 || c == 16) {
|
|
@@ -24,12 +24,12 @@ export let TemplateCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
let c = this.d.actualColumns._inner[a.l.a5];
|
|
27
|
-
if (a.
|
|
28
|
-
let d = Math.min(1, Math.max(0, a.
|
|
29
|
-
let e = a.
|
|
30
|
-
this.e.
|
|
27
|
+
if (a.bc(CellModel.fm) || a.bc(CellModel.h1)) {
|
|
28
|
+
let d = Math.min(1, Math.max(0, a.c5));
|
|
29
|
+
let e = a.cr * (1 - d);
|
|
30
|
+
this.e.dt.element.setRawStyleProperty("opacity", e.toString());
|
|
31
31
|
}
|
|
32
|
-
c.
|
|
32
|
+
c.o7(a, this.e.dt);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
TemplateCellPresenter.$t = markType(TemplateCellPresenter, 'TemplateCellPresenter', CellPresenterBase.$);
|
|
@@ -20,19 +20,19 @@ export let TemplateHeader = /*@__PURE__*/ (() => {
|
|
|
20
20
|
n(a) {
|
|
21
21
|
return new TemplateHeaderCellModel();
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
d3(a, b, c) {
|
|
24
24
|
let d = "template-header-" + a.a5.toString();
|
|
25
25
|
return d;
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
super.
|
|
27
|
+
ep(a, b, c, d) {
|
|
28
|
+
super.ep(a, b, c, d);
|
|
29
29
|
let e = a;
|
|
30
30
|
let f = b.cf(a.l);
|
|
31
|
-
e.
|
|
32
|
-
e.n = f.
|
|
33
|
-
e.
|
|
31
|
+
e.ny = f.lk;
|
|
32
|
+
e.n = f.hs;
|
|
33
|
+
e.n1 = f.jg;
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
hr(a, b) {
|
|
36
36
|
if (this.cellUpdating != null) {
|
|
37
37
|
this.cellUpdating(this, ((() => {
|
|
38
38
|
let $ret = new TemplateHeaderCellUpdatingEventArgs();
|
|
@@ -14,14 +14,14 @@ export let TemplateHeaderCell = /*@__PURE__*/ (() => {
|
|
|
14
14
|
class TemplateHeaderCell extends GridCellBase {
|
|
15
15
|
constructor(a) {
|
|
16
16
|
super(a);
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
17
|
+
this.ds = null;
|
|
18
|
+
this.ds = new TemplateCellContainer(a);
|
|
19
|
+
this.ap.append(this.ds.element);
|
|
20
20
|
}
|
|
21
|
-
get
|
|
22
|
-
return this.
|
|
21
|
+
get dt() {
|
|
22
|
+
return this.ds;
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
get_ac() {
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -15,35 +15,35 @@ export let TemplateHeaderCellModel = /*@__PURE__*/ (() => {
|
|
|
15
15
|
class TemplateHeaderCellModel extends TemplateCellModel {
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments);
|
|
18
|
-
this.
|
|
18
|
+
this.n0 = false;
|
|
19
19
|
}
|
|
20
|
-
get
|
|
21
|
-
return this.
|
|
20
|
+
get n1() {
|
|
21
|
+
return this.n0;
|
|
22
22
|
}
|
|
23
|
-
set
|
|
24
|
-
let b = this.
|
|
25
|
-
this.
|
|
26
|
-
if (this.
|
|
27
|
-
this.
|
|
23
|
+
set n1(a) {
|
|
24
|
+
let b = this.n0;
|
|
25
|
+
this.n0 = a;
|
|
26
|
+
if (this.n0 != b) {
|
|
27
|
+
this.mb("IsFilterUIVisible", TemplateHeaderCellModel.n2, b, this.n0);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
super.
|
|
30
|
+
mk(a, b) {
|
|
31
|
+
super.mk(a, b);
|
|
32
32
|
if (a == "IsFilterUIVisible") {
|
|
33
|
-
this.
|
|
33
|
+
this.n1 = b;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
lw(a) {
|
|
37
37
|
switch (a) {
|
|
38
38
|
case "IsFilterUIVisible": return Boolean_$type;
|
|
39
39
|
}
|
|
40
|
-
return super.
|
|
40
|
+
return super.lw(a);
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
ia(a) {
|
|
43
43
|
if (a == "IsFilterUIVisible") {
|
|
44
|
-
return this.
|
|
44
|
+
return this.n1;
|
|
45
45
|
}
|
|
46
|
-
return super.
|
|
46
|
+
return super.ia(a);
|
|
47
47
|
}
|
|
48
48
|
b(a) {
|
|
49
49
|
if (a == null) {
|
|
@@ -51,11 +51,11 @@ export let TemplateHeaderCellModel = /*@__PURE__*/ (() => {
|
|
|
51
51
|
}
|
|
52
52
|
a = super.b(a);
|
|
53
53
|
let b = a;
|
|
54
|
-
b.ae = this.
|
|
54
|
+
b.ae = this.ny;
|
|
55
55
|
return b;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
TemplateHeaderCellModel.$t = markType(TemplateHeaderCellModel, 'TemplateHeaderCellModel', TemplateCellModel.$);
|
|
59
|
-
TemplateHeaderCellModel.
|
|
59
|
+
TemplateHeaderCellModel.n2 = CellModel.f5("IsFilterUIVisible");
|
|
60
60
|
return TemplateHeaderCellModel;
|
|
61
61
|
})();
|
|
@@ -24,13 +24,13 @@ export let TemplateHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = this.d.actualColumns._inner[a.l.a5];
|
|
26
26
|
let c = b.header;
|
|
27
|
-
if (a.
|
|
28
|
-
let d = Math.min(1, Math.max(0, a.
|
|
29
|
-
let e = a.
|
|
30
|
-
this.e.
|
|
27
|
+
if (a.bc(CellModel.fm) || a.bc(CellModel.h1)) {
|
|
28
|
+
let d = Math.min(1, Math.max(0, a.c5));
|
|
29
|
+
let e = a.cr * (1 - d);
|
|
30
|
+
this.e.dt.element.setRawStyleProperty("opacity", e.toString());
|
|
31
31
|
}
|
|
32
32
|
let f = a;
|
|
33
|
-
c.
|
|
33
|
+
c.hr(f, this.e.dt);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
TemplateHeaderCellPresenter.$t = markType(TemplateHeaderCellPresenter, 'TemplateHeaderCellPresenter', CellPresenterBase.$);
|
|
@@ -17,13 +17,13 @@ export let TemplateSectionHeader = /*@__PURE__*/ (() => {
|
|
|
17
17
|
super(...arguments);
|
|
18
18
|
this.cellUpdating = null;
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
d3(a, b, c) {
|
|
21
21
|
return "templateSectionHeader";
|
|
22
22
|
}
|
|
23
23
|
n(a) {
|
|
24
24
|
return new TemplateSectionHeaderCellModel();
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
hv(a, b) {
|
|
27
27
|
if (this.cellUpdating != null) {
|
|
28
28
|
this.cellUpdating(this, ((() => {
|
|
29
29
|
let $ret = new TemplateSectionHeaderCellUpdatingEventArgs();
|
package/esm2015/lib/TextCell.js
CHANGED
|
@@ -13,46 +13,51 @@ export let TextCell = /*@__PURE__*/ (() => {
|
|
|
13
13
|
class TextCell extends GridCellBase {
|
|
14
14
|
constructor(a) {
|
|
15
15
|
super(a);
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.ah.append(this.ck);
|
|
16
|
+
this.ds = null;
|
|
17
|
+
this.dv = -1;
|
|
18
|
+
this.du = -1;
|
|
19
|
+
this.ap.setRawStyleProperty("text-align", "left");
|
|
20
|
+
this.ap.setRawStyleProperty("vertical-align", "middle");
|
|
21
|
+
this.ds = a.createElement("span");
|
|
22
|
+
this.ds.setRawStyleProperty("display", "inline-block");
|
|
23
|
+
this.ds.setRawStyleProperty("overflow", "hidden");
|
|
24
|
+
this.ds.setRawStyleProperty("white-space", "nowrap");
|
|
25
|
+
this.ds.setRawStyleProperty("text-overflow", "ellipsis");
|
|
26
|
+
this.c7(this.ds, 1);
|
|
27
|
+
this.ap.append(this.ds);
|
|
29
28
|
}
|
|
30
|
-
get
|
|
31
|
-
return this.
|
|
29
|
+
get dt() {
|
|
30
|
+
return this.ds;
|
|
32
31
|
}
|
|
33
|
-
|
|
34
|
-
super.
|
|
35
|
-
let c = Math.max(0, a - b - (this.
|
|
36
|
-
if (this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
32
|
+
c8(a, b) {
|
|
33
|
+
super.c8(a, b);
|
|
34
|
+
let c = Math.max(0, a - b - (this.bb + this.bd + this.bc));
|
|
35
|
+
if (this.dv != c) {
|
|
36
|
+
this.dv = c;
|
|
37
|
+
this.ds.setRawStyleProperty("max-width", c.toString() + "px");
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
|
-
|
|
42
|
-
super.
|
|
40
|
+
cy(a, b) {
|
|
41
|
+
super.cy(a, b);
|
|
43
42
|
let c = Math.max(0, a - b);
|
|
44
|
-
if (this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
43
|
+
if (this.du != c) {
|
|
44
|
+
this.du = c;
|
|
45
|
+
this.ds.setRawStyleProperty("max-height", c.toString() + "px");
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
|
-
|
|
48
|
+
cx(a, b) {
|
|
49
|
+
super.cx(a, b);
|
|
50
|
+
if (a == this.ds) {
|
|
51
|
+
this.ds.setRawStyleProperty("line-height", (this.be - this.bf).toString() + "px");
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
get_ae() {
|
|
50
55
|
return true;
|
|
51
56
|
}
|
|
52
|
-
|
|
53
|
-
super.
|
|
57
|
+
ch(a, b, c) {
|
|
58
|
+
super.ch(a, b, c);
|
|
54
59
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
55
|
-
this.
|
|
60
|
+
this.ds.setRawStyleProperty("margin-left", this.bb + this.bd + this.bc + "px");
|
|
56
61
|
}
|
|
57
62
|
}
|
|
58
63
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
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
|
+
*/
|
|
7
|
+
import { markEnum } from "igniteui-angular-core";
|
|
8
|
+
/**
|
|
9
|
+
* Indicates how to decorate cell text.
|
|
10
|
+
*/
|
|
11
|
+
export var TextCellDecoration = /*@__PURE__*/ (function (TextCellDecoration) {
|
|
12
|
+
/**
|
|
13
|
+
* No decorations are applied.
|
|
14
|
+
*/
|
|
15
|
+
TextCellDecoration[TextCellDecoration["None"] = 0] = "None";
|
|
16
|
+
/**
|
|
17
|
+
* Draws a line through the middle of the text.
|
|
18
|
+
*/
|
|
19
|
+
TextCellDecoration[TextCellDecoration["Strikethrough"] = 1] = "Strikethrough";
|
|
20
|
+
/**
|
|
21
|
+
* Draws a line above the text.
|
|
22
|
+
*/
|
|
23
|
+
TextCellDecoration[TextCellDecoration["Overline"] = 2] = "Overline";
|
|
24
|
+
/**
|
|
25
|
+
* Draws a line beneath the text.
|
|
26
|
+
*/
|
|
27
|
+
TextCellDecoration[TextCellDecoration["Underline"] = 3] = "Underline";
|
|
28
|
+
return TextCellDecoration;
|
|
29
|
+
})({});
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export let TextCellDecoration_$type = markEnum('TextCellDecoration', 'None,0|Strikethrough,1|Overline,2|Underline,3');
|
|
@@ -22,27 +22,27 @@ export let TextCellPresenter = /*@__PURE__*/ (() => {
|
|
|
22
22
|
b(a) {
|
|
23
23
|
super.b(a);
|
|
24
24
|
let b = a;
|
|
25
|
-
if (a.
|
|
26
|
-
if (a.
|
|
27
|
-
b.
|
|
28
|
-
this.d.
|
|
25
|
+
if (a.a7) {
|
|
26
|
+
if (a.bc(TextCellModel.nw) || a.bc(TextCellModel.hz) || a.bc(TextCellModel.gv)) {
|
|
27
|
+
b.ku = this.e(b);
|
|
28
|
+
this.d.c5(this.d.dt, b.ku);
|
|
29
29
|
}
|
|
30
|
-
ContentCellModelHelper.a(this.a.
|
|
30
|
+
ContentCellModelHelper.a(this.a.ak, b, this.a.ap, this.d.dt, this.a);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
e(a) {
|
|
34
|
-
if (a.
|
|
35
|
-
return a.
|
|
34
|
+
if (a.lp != null) {
|
|
35
|
+
return a.lp;
|
|
36
36
|
}
|
|
37
|
-
if (a.
|
|
38
|
-
return a.
|
|
37
|
+
if (a.ny != null) {
|
|
38
|
+
return a.ny;
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
if (a.
|
|
41
|
+
if (a.ib == null) {
|
|
42
42
|
return "";
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
|
-
return a.
|
|
45
|
+
return a.ib.toString();
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|