igniteui-angular-data-grids 20.1.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
package/esm2015/lib/TextCell.js
CHANGED
|
@@ -13,51 +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.
|
|
16
|
+
this.dv = null;
|
|
17
|
+
this.dy = -1;
|
|
18
|
+
this.dx = -1;
|
|
19
|
+
this.ar.setRawStyleProperty("text-align", "left");
|
|
20
|
+
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
21
|
+
this.dv = a.createElement("span");
|
|
22
|
+
this.dv.setRawStyleProperty("display", "inline-block");
|
|
23
|
+
this.dv.setRawStyleProperty("overflow", "hidden");
|
|
24
|
+
this.dv.setRawStyleProperty("white-space", "nowrap");
|
|
25
|
+
this.dv.setRawStyleProperty("text-overflow", "ellipsis");
|
|
26
|
+
this.da(this.dv, 1);
|
|
27
|
+
this.ar.append(this.dv);
|
|
28
28
|
}
|
|
29
|
-
get
|
|
30
|
-
return this.
|
|
29
|
+
get dw() {
|
|
30
|
+
return this.dv;
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
super.
|
|
34
|
-
let c = Math.max(0, a - b - (this.
|
|
35
|
-
if (this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
32
|
+
db(a, b) {
|
|
33
|
+
super.db(a, b);
|
|
34
|
+
let c = Math.max(0, a - b - (this.bd + this.bf + this.be));
|
|
35
|
+
if (this.dy != c) {
|
|
36
|
+
this.dy = c;
|
|
37
|
+
this.dv.setRawStyleProperty("max-width", c.toString() + "px");
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
super.
|
|
40
|
+
c1(a, b) {
|
|
41
|
+
super.c1(a, b);
|
|
42
42
|
let c = Math.max(0, a - b);
|
|
43
|
-
if (this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
43
|
+
if (this.dx != c) {
|
|
44
|
+
this.dx = c;
|
|
45
|
+
this.dv.setRawStyleProperty("max-height", c.toString() + "px");
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
super.
|
|
50
|
-
if (a == this.
|
|
51
|
-
this.
|
|
48
|
+
c0(a, b) {
|
|
49
|
+
super.c0(a, b);
|
|
50
|
+
if (a == this.dv) {
|
|
51
|
+
this.dv.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
get_ae() {
|
|
55
55
|
return true;
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
super.
|
|
57
|
+
ck(a, b, c) {
|
|
58
|
+
super.ck(a, b, c);
|
|
59
59
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
60
|
-
this.
|
|
60
|
+
this.dv.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -23,26 +23,26 @@ export let TextCellPresenter = /*@__PURE__*/ (() => {
|
|
|
23
23
|
super.b(a);
|
|
24
24
|
let b = a;
|
|
25
25
|
if (a.a7) {
|
|
26
|
-
if (a.bc(TextCellModel.
|
|
27
|
-
b.
|
|
28
|
-
this.d.
|
|
26
|
+
if (a.bc(TextCellModel.n0) || a.bc(TextCellModel.h2) || a.bc(TextCellModel.gx)) {
|
|
27
|
+
b.kx = this.e(b);
|
|
28
|
+
this.d.c8(this.d.dw, b.kx);
|
|
29
29
|
}
|
|
30
|
-
ContentCellModelHelper.a(this.a.
|
|
30
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dw, this.a);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
e(a) {
|
|
34
|
-
if (a.
|
|
35
|
-
return a.
|
|
34
|
+
if (a.lt != null) {
|
|
35
|
+
return a.lt;
|
|
36
36
|
}
|
|
37
|
-
if (a.
|
|
38
|
-
return a.
|
|
37
|
+
if (a.n2 != null) {
|
|
38
|
+
return a.n2;
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
if (a.
|
|
41
|
+
if (a.ie == null) {
|
|
42
42
|
return "";
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
|
-
return a.
|
|
45
|
+
return a.ie.toString();
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -17,28 +17,28 @@ export let TextHeaderCell = /*@__PURE__*/ (() => {
|
|
|
17
17
|
class TextHeaderCell extends GridCellBase {
|
|
18
18
|
constructor(a) {
|
|
19
19
|
super(a);
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
20
|
+
this.d6 = null;
|
|
21
|
+
this.d2 = null;
|
|
22
|
+
this.d0 = null;
|
|
23
|
+
this.dw = 0;
|
|
24
|
+
this.dv = 0;
|
|
25
|
+
this.dy = 3;
|
|
26
|
+
this.d8 = null;
|
|
27
|
+
this.eb = -1;
|
|
28
|
+
this.ea = -1;
|
|
29
|
+
this.d4 = false;
|
|
30
|
+
this.d7 = null;
|
|
31
|
+
this.d5 = false;
|
|
32
|
+
this.d6 = a.createElement("span");
|
|
33
|
+
this.ar.setRawStyleProperty("text-align", "left");
|
|
34
|
+
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
35
|
+
this.d6.setRawStyleProperty("display", "inline-block");
|
|
36
|
+
this.d6.setRawStyleProperty("line-height", "normal");
|
|
37
|
+
this.d6.setRawStyleProperty("vertical-align", "middle");
|
|
38
|
+
this.d6.setRawStyleProperty("overflow", "hidden");
|
|
39
|
+
this.d6.setRawStyleProperty("white-space", "nowrap");
|
|
40
|
+
this.d6.setRawStyleProperty("text-overflow", "ellipsis");
|
|
41
|
+
this.ar.append(this.d6);
|
|
42
42
|
let b = 18;
|
|
43
43
|
let c = 18;
|
|
44
44
|
let d = a.createElement("div");
|
|
@@ -47,17 +47,17 @@ export let TextHeaderCell = /*@__PURE__*/ (() => {
|
|
|
47
47
|
d.setRawStyleProperty("vertical-align", "middle");
|
|
48
48
|
d.setRawStyleProperty("width", b + "px");
|
|
49
49
|
d.setRawStyleProperty("height", c + "px");
|
|
50
|
-
this.
|
|
50
|
+
this.d7 = d;
|
|
51
51
|
let e = a.getSubRenderer(d);
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
let f = this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
52
|
+
this.d0 = new GridFilterDialog();
|
|
53
|
+
this.d0.bn(e, this.ar, a);
|
|
54
|
+
this.ar.append(d);
|
|
55
|
+
this.d0.be(b, c);
|
|
56
|
+
this.d0.ak = 24;
|
|
57
|
+
let f = this.d0.ab;
|
|
58
|
+
this.d0.ab = false;
|
|
59
|
+
this.d0.bb();
|
|
60
|
+
this.d0.ab = f;
|
|
61
61
|
let g = 18;
|
|
62
62
|
let h = 18;
|
|
63
63
|
d = a.createElement("div");
|
|
@@ -67,213 +67,213 @@ export let TextHeaderCell = /*@__PURE__*/ (() => {
|
|
|
67
67
|
d.setRawStyleProperty("width", "0px");
|
|
68
68
|
d.setRawStyleProperty("height", h + "px");
|
|
69
69
|
d.setRawStyleProperty("margin", "0 0 0 5px");
|
|
70
|
-
this.
|
|
70
|
+
this.d8 = d;
|
|
71
71
|
e = a.getSubRenderer(d);
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
74
|
-
this.
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
77
|
-
this.
|
|
78
|
-
let i = this.
|
|
79
|
-
i.propertyChanged = delegateCombine(i.propertyChanged, runOn(this, this.
|
|
80
|
-
let j = this.
|
|
81
|
-
j.dialogOpening = delegateCombine(j.dialogOpening, runOn(this, this.
|
|
82
|
-
let k = this.
|
|
83
|
-
k.filterChanging = delegateCombine(k.filterChanging, runOn(this, this.
|
|
84
|
-
let l = this.
|
|
85
|
-
l.filterChanged = delegateCombine(l.filterChanged, runOn(this, this.
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
72
|
+
this.d2 = new GridSortIndicator();
|
|
73
|
+
this.d2.n = false;
|
|
74
|
+
this.d2.m = false;
|
|
75
|
+
this.d2.a0(e);
|
|
76
|
+
this.ar.append(d);
|
|
77
|
+
this.d2.au(g, h);
|
|
78
|
+
let i = this.d2;
|
|
79
|
+
i.propertyChanged = delegateCombine(i.propertyChanged, runOn(this, this.ee));
|
|
80
|
+
let j = this.d0;
|
|
81
|
+
j.dialogOpening = delegateCombine(j.dialogOpening, runOn(this, this.ef));
|
|
82
|
+
let k = this.d0;
|
|
83
|
+
k.filterChanging = delegateCombine(k.filterChanging, runOn(this, this.eh));
|
|
84
|
+
let l = this.d0;
|
|
85
|
+
l.filterChanged = delegateCombine(l.filterChanged, runOn(this, this.eg));
|
|
86
|
+
this.ar.listen("mouseenter", runOn(this, this.el));
|
|
87
|
+
this.ar.listen("mouseleave", runOn(this, this.ek));
|
|
88
88
|
}
|
|
89
|
-
get
|
|
90
|
-
return this.
|
|
89
|
+
get d9() {
|
|
90
|
+
return this.d6;
|
|
91
91
|
}
|
|
92
|
-
get
|
|
93
|
-
return this.
|
|
92
|
+
get d3() {
|
|
93
|
+
return this.d2;
|
|
94
94
|
}
|
|
95
|
-
get
|
|
96
|
-
return this.
|
|
95
|
+
get d1() {
|
|
96
|
+
return this.d0;
|
|
97
97
|
}
|
|
98
|
-
get
|
|
99
|
-
return this.
|
|
98
|
+
get dz() {
|
|
99
|
+
return this.dy;
|
|
100
100
|
}
|
|
101
|
-
set
|
|
102
|
-
let b = this.
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
101
|
+
set dz(a) {
|
|
102
|
+
let b = this.dy;
|
|
103
|
+
this.dy = a;
|
|
104
|
+
this.ck("ColumnOptionsIconBehavior", enumGetBox(ColumnOptionsIconBehavior_$type, b), enumGetBox(ColumnOptionsIconBehavior_$type, this.dy));
|
|
105
105
|
}
|
|
106
|
-
get
|
|
107
|
-
return this.
|
|
106
|
+
get dx() {
|
|
107
|
+
return this.dw;
|
|
108
108
|
}
|
|
109
|
-
set
|
|
110
|
-
let b = this.
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
109
|
+
set dx(a) {
|
|
110
|
+
let b = this.dw;
|
|
111
|
+
this.dw = a;
|
|
112
|
+
this.ck("ColumnOptionsIconAlignment", enumGetBox(ColumnOptionsIconAlignment_$type, b), enumGetBox(ColumnOptionsIconAlignment_$type, this.dw));
|
|
113
113
|
}
|
|
114
114
|
af(a) {
|
|
115
115
|
return true;
|
|
116
116
|
}
|
|
117
|
-
|
|
118
|
-
super.
|
|
117
|
+
db(a, b) {
|
|
118
|
+
super.db(a, b);
|
|
119
119
|
a -= 21;
|
|
120
|
-
if (this.
|
|
120
|
+
if (this.d5) {
|
|
121
121
|
a -= 15;
|
|
122
122
|
}
|
|
123
123
|
let c = Math.max(0, a - b);
|
|
124
|
-
if (c != this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
124
|
+
if (c != this.eb) {
|
|
125
|
+
this.eb = c;
|
|
126
|
+
this.d6.setRawStyleProperty("max-width", c.toString() + "px");
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
super.
|
|
131
|
-
this.
|
|
129
|
+
c1(a, b) {
|
|
130
|
+
super.c1(a, b);
|
|
131
|
+
this.d6.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
132
132
|
let c = Math.max(0, a - b);
|
|
133
|
-
if (this.
|
|
134
|
-
this.
|
|
135
|
-
this.
|
|
133
|
+
if (this.ea != c) {
|
|
134
|
+
this.ea = c;
|
|
135
|
+
this.d6.setRawStyleProperty("max-height", c.toString() + "px");
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
|
|
139
|
-
super.
|
|
140
|
-
if (a == this.
|
|
141
|
-
this.
|
|
138
|
+
c0(a, b) {
|
|
139
|
+
super.c0(a, b);
|
|
140
|
+
if (a == this.d6) {
|
|
141
|
+
this.d6.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
|
|
145
|
-
this.
|
|
144
|
+
dc(a, b, c, d) {
|
|
145
|
+
this.d0.bd();
|
|
146
146
|
}
|
|
147
|
-
|
|
147
|
+
ee(a, b) {
|
|
148
148
|
switch (b.propertyName) {
|
|
149
149
|
case "CurrentOpacity":
|
|
150
|
-
if (this.
|
|
151
|
-
this.
|
|
152
|
-
if (this.
|
|
153
|
-
this.
|
|
150
|
+
if (this.d3.t > 0) {
|
|
151
|
+
this.d8.setRawStyleProperty("width", "18px");
|
|
152
|
+
if (this.dv == 2) {
|
|
153
|
+
this.d8.setRawStyleProperty("margin", "0 5px 0 0");
|
|
154
154
|
}
|
|
155
155
|
else {
|
|
156
|
-
this.
|
|
156
|
+
this.d8.setRawStyleProperty("margin", "0 0 0 5px");
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
else {
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
160
|
+
this.d8.setRawStyleProperty("width", "0px");
|
|
161
|
+
this.d8.setRawStyleProperty("margin", "0");
|
|
162
162
|
}
|
|
163
163
|
break;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
|
|
166
|
+
el(a) {
|
|
167
167
|
if (this.b.isGridDragging) {
|
|
168
168
|
return;
|
|
169
169
|
}
|
|
170
|
-
this.
|
|
171
|
-
switch (this.
|
|
170
|
+
this.d0.ba();
|
|
171
|
+
switch (this.dz) {
|
|
172
172
|
case 2:
|
|
173
173
|
case 3:
|
|
174
|
-
this.
|
|
174
|
+
this.d0.br();
|
|
175
175
|
break;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
|
|
179
|
-
switch (this.
|
|
178
|
+
ek(a) {
|
|
179
|
+
switch (this.dz) {
|
|
180
180
|
case 2:
|
|
181
181
|
case 3:
|
|
182
|
-
this.
|
|
182
|
+
this.d0.bb();
|
|
183
183
|
break;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
|
|
186
|
+
eg(a, b) {
|
|
187
187
|
this.b.columnFilterChanged(b.a);
|
|
188
188
|
}
|
|
189
|
-
|
|
189
|
+
eh(a, b) {
|
|
190
190
|
this.b.columnFilterChanging(b.a);
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
ef(a, b) {
|
|
193
193
|
if (this.b != null) {
|
|
194
194
|
b.a = this.f.getColumn();
|
|
195
195
|
this.b.cancelEditMode(false);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
|
|
199
|
-
super.
|
|
200
|
-
this.
|
|
201
|
-
this.
|
|
198
|
+
ci(a, b, c) {
|
|
199
|
+
super.ci(a, b, c);
|
|
200
|
+
this.dv = c;
|
|
201
|
+
this.d0.k = c;
|
|
202
202
|
if (c == 2) {
|
|
203
|
-
this.
|
|
204
|
-
this.
|
|
205
|
-
this.
|
|
206
|
-
this.
|
|
207
|
-
if (this.
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
203
|
+
this.ar.removeChild(this.d8);
|
|
204
|
+
this.ar.removeChild(this.d7);
|
|
205
|
+
this.d6.before(this.d7);
|
|
206
|
+
this.d7.before(this.d8);
|
|
207
|
+
if (this.dx == 1) {
|
|
208
|
+
this.d7.setRawStyleProperty("margin", "0 5px 0 0");
|
|
209
|
+
this.d0.l = this.dv;
|
|
210
210
|
}
|
|
211
211
|
else {
|
|
212
|
-
this.
|
|
213
|
-
this.
|
|
212
|
+
this.d7.setRawStyleProperty("margin", "0");
|
|
213
|
+
this.d0.l = 0;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
else {
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
220
|
-
this.
|
|
221
|
-
if (this.
|
|
222
|
-
this.
|
|
223
|
-
this.
|
|
217
|
+
this.ar.removeChild(this.d8);
|
|
218
|
+
this.ar.removeChild(this.d6);
|
|
219
|
+
this.d7.before(this.d6);
|
|
220
|
+
this.d7.before(this.d8);
|
|
221
|
+
if (this.dx == 1) {
|
|
222
|
+
this.d7.setRawStyleProperty("margin", "0 0 0 5px");
|
|
223
|
+
this.d0.l = this.dv;
|
|
224
224
|
}
|
|
225
225
|
else {
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
226
|
+
this.d7.setRawStyleProperty("margin", "0");
|
|
227
|
+
this.d0.l = 2;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
|
-
|
|
232
|
-
super.
|
|
233
|
-
this.
|
|
234
|
-
this.
|
|
231
|
+
c6(a, b, c, d) {
|
|
232
|
+
super.c6(a, b, c, d);
|
|
233
|
+
this.d0.an = a;
|
|
234
|
+
this.d0.ao = c;
|
|
235
235
|
}
|
|
236
|
-
|
|
237
|
-
if (this.
|
|
238
|
-
if (this.
|
|
239
|
-
this.
|
|
236
|
+
ej() {
|
|
237
|
+
if (this.dx == 2 || this.dx == 0) {
|
|
238
|
+
if (this.dv == 2) {
|
|
239
|
+
this.d0.l = 0;
|
|
240
240
|
}
|
|
241
241
|
else {
|
|
242
|
-
this.
|
|
242
|
+
this.d0.l = 2;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
else {
|
|
246
|
-
this.
|
|
247
|
-
if (this.
|
|
248
|
-
this.
|
|
246
|
+
this.d0.l = this.dv;
|
|
247
|
+
if (this.dv == 2) {
|
|
248
|
+
this.d7.setRawStyleProperty("margin", "0 5px 0 0");
|
|
249
249
|
}
|
|
250
250
|
else {
|
|
251
|
-
this.
|
|
251
|
+
this.d7.setRawStyleProperty("margin", "0 0 0 5px");
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
-
|
|
256
|
-
switch (this.
|
|
255
|
+
ei() {
|
|
256
|
+
switch (this.dz) {
|
|
257
257
|
case 1:
|
|
258
|
-
this.
|
|
259
|
-
this.
|
|
258
|
+
this.d0.ab = false;
|
|
259
|
+
this.d0.br();
|
|
260
260
|
break;
|
|
261
261
|
case 2:
|
|
262
|
-
this.
|
|
262
|
+
this.d0.ab = false;
|
|
263
263
|
break;
|
|
264
264
|
case 3:
|
|
265
|
-
this.
|
|
265
|
+
this.d0.ab = true;
|
|
266
266
|
break;
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
|
-
|
|
270
|
-
super.
|
|
269
|
+
ck(a, b, c) {
|
|
270
|
+
super.ck(a, b, c);
|
|
271
271
|
switch (a) {
|
|
272
272
|
case "ColumnOptionsIconAlignment":
|
|
273
|
-
this.
|
|
273
|
+
this.ej();
|
|
274
274
|
break;
|
|
275
275
|
case "ColumnOptionsIconBehavior":
|
|
276
|
-
this.
|
|
276
|
+
this.ei();
|
|
277
277
|
break;
|
|
278
278
|
}
|
|
279
279
|
}
|
|
@@ -281,22 +281,22 @@ export let TextHeaderCell = /*@__PURE__*/ (() => {
|
|
|
281
281
|
if (e_.button == 2) {
|
|
282
282
|
return;
|
|
283
283
|
}
|
|
284
|
-
let b = this.
|
|
284
|
+
let b = this.d0.ad(e_);
|
|
285
285
|
if (b) {
|
|
286
|
-
this.
|
|
286
|
+
this.d4 = true;
|
|
287
287
|
return;
|
|
288
288
|
}
|
|
289
289
|
super.onContactStarted(e_, a);
|
|
290
290
|
}
|
|
291
291
|
onContactCompleted(e_, a) {
|
|
292
|
-
if (!this.
|
|
292
|
+
if (!this.d4) {
|
|
293
293
|
super.onContactCompleted(e_, a);
|
|
294
294
|
}
|
|
295
|
-
this.
|
|
295
|
+
this.d4 = false;
|
|
296
296
|
}
|
|
297
297
|
detach() {
|
|
298
298
|
super.detach();
|
|
299
|
-
if (this.
|
|
299
|
+
if (this.d0 != null) {
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
get_ac() {
|
|
@@ -24,58 +24,58 @@ export let TextHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
if (a.a7) {
|
|
27
|
-
if (a.bc(TextCellModel.
|
|
28
|
-
b.
|
|
29
|
-
this.d.
|
|
27
|
+
if (a.bc(TextCellModel.n0)) {
|
|
28
|
+
b.kx = b.n2;
|
|
29
|
+
this.d.c8(this.d.d9, b.kx);
|
|
30
30
|
}
|
|
31
|
-
if (a.bc(CellModel.
|
|
32
|
-
let c = this.d.
|
|
31
|
+
if (a.bc(CellModel.hi)) {
|
|
32
|
+
let c = this.d.d3.m;
|
|
33
33
|
if (a.bt) {
|
|
34
|
-
this.d.
|
|
34
|
+
this.d.d3.m = false;
|
|
35
35
|
}
|
|
36
|
-
this.d.
|
|
36
|
+
this.d.d3.b = a.n;
|
|
37
37
|
if (a.bt) {
|
|
38
|
-
this.d.
|
|
38
|
+
this.d.d3.m = c;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
if (a.bc(CellModel.
|
|
42
|
-
let d = this.d.
|
|
41
|
+
if (a.bc(CellModel.hj)) {
|
|
42
|
+
let d = this.d.d3.m;
|
|
43
43
|
if (a.bt) {
|
|
44
|
-
this.d.
|
|
44
|
+
this.d.d3.m = false;
|
|
45
45
|
}
|
|
46
|
-
this.d.
|
|
46
|
+
this.d.d3.a3 = a.ns;
|
|
47
47
|
if (a.bt) {
|
|
48
|
-
this.d.
|
|
48
|
+
this.d.d3.m = d;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
if (a.bb("IsColumnOptionsEnabled")) {
|
|
52
|
-
let e = b.
|
|
52
|
+
let e = b.ob;
|
|
53
53
|
if (e) {
|
|
54
54
|
e = this.e();
|
|
55
55
|
}
|
|
56
|
-
this.d.
|
|
57
|
-
this.d.
|
|
58
|
-
this.a.
|
|
56
|
+
this.d.d5 = e;
|
|
57
|
+
this.d.d7.setRawStyleProperty("display", e ? "inline-block" : "none");
|
|
58
|
+
this.a.db(a.h5, (a.g0 + a.g2 + a.fg + a.fj));
|
|
59
59
|
}
|
|
60
60
|
if (a.bb("SortIndicatorStyle")) {
|
|
61
|
-
this.d.
|
|
61
|
+
this.d.d3.f = b.n9;
|
|
62
62
|
}
|
|
63
63
|
if (a.bb("ColumnOptionsIconAlignment")) {
|
|
64
|
-
this.d.
|
|
64
|
+
this.d.dx = b.n5;
|
|
65
65
|
}
|
|
66
66
|
if (a.bb("ColumnOptionsIconBehavior")) {
|
|
67
|
-
this.d.
|
|
67
|
+
this.d.dz = b.n7;
|
|
68
68
|
}
|
|
69
69
|
if (a.bb("ColumnOptionsIconColor")) {
|
|
70
|
-
this.d.
|
|
70
|
+
this.d.d1.bw = b.on;
|
|
71
71
|
}
|
|
72
|
-
if (a.bb("Path") || (this.d.
|
|
72
|
+
if (a.bb("Path") || (this.d.d1.n != null && this.d.d1.n.grid == null)) {
|
|
73
73
|
let f = a.e.getColumn();
|
|
74
|
-
if (f != this.d.
|
|
75
|
-
this.d.
|
|
74
|
+
if (f != this.d.d1.n) {
|
|
75
|
+
this.d.d1.n = f;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
ContentCellModelHelper.a(this.a.
|
|
78
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d9, this.a);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
e() {
|