igniteui-angular-data-grids 21.0.0 → 21.0.1-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 +9371 -8077
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +1 -1
- package/esm2015/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CellPresenterBase.js +10 -10
- package/esm2015/lib/CheckboxListBridge.js +28 -0
- package/esm2015/lib/CheckboxListView_combined.js +730 -705
- package/esm2015/lib/ColumnChooserView_combined.js +16 -16
- package/esm2015/lib/ColumnFilterCondition_combined.js +5835 -5150
- package/esm2015/lib/ColumnGroupingView_combined.js +14 -14
- package/esm2015/lib/ColumnPinningView_combined.js +16 -16
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm2015/lib/ContentCellModelHelper.js +3 -3
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +12 -12
- package/esm2015/lib/DateTimeCellPresenter.js +2 -2
- package/esm2015/lib/DraggerView.js +3 -3
- package/esm2015/lib/EditorCell.js +266 -266
- package/esm2015/lib/EditorCellPresenter.js +15 -15
- package/esm2015/lib/FilterCell.js +261 -261
- package/esm2015/lib/FilterCellPresenter.js +8 -8
- package/esm2015/lib/GridCellBase.js +65 -63
- package/esm2015/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm2015/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm2015/lib/GridExternalWrapper.js +9 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +311 -172
- package/esm2015/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +271 -433
- package/esm2015/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
- package/esm2015/lib/ImageCell.js +55 -55
- package/esm2015/lib/ImageCellPresenter.js +8 -8
- package/esm2015/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm2015/lib/NumericCell.js +4 -4
- package/esm2015/lib/NumericCellPresenter.js +2 -2
- package/esm2015/lib/PropertyEditorView_combined.js +22 -22
- package/esm2015/lib/SectionHeaderCell.js +8 -8
- package/esm2015/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm2015/lib/SummaryCell.js +25 -25
- package/esm2015/lib/SummaryCellPresenter.js +5 -5
- package/esm2015/lib/TemplateCell.js +11 -11
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +7 -7
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +22 -22
- package/esm2015/lib/TextCellPresenter.js +2 -2
- package/esm2015/lib/TextHeaderCell.js +140 -134
- package/esm2015/lib/TextHeaderCellPresenter.js +43 -21
- package/esm2015/lib/TextIconSetConditionalStyle.js +3 -3
- package/esm2015/lib/VerticalSeparatorCell.js +32 -32
- package/esm2015/lib/igx-checkbox-list-component.js +69 -69
- 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 +265 -139
- package/esm2015/lib/igx-data-grid-component.js +110 -2
- package/esm2015/lib/igx-data-grid-filter-dialog-component.js +79 -16
- package/esm2015/lib/igx-data-grid-pager-component.js +32 -10
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-definition-base-component.js +89 -89
- package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
- package/esm2015/lib/igx-header-component.js +16 -16
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-component.js +16 -16
- package/esm2015/lib/igx-summary-row-component.js +16 -16
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +65 -4
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/CanvasCellPresenterBase.js +1 -1
- package/esm5/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CellPresenterBase.js +10 -10
- package/esm5/lib/CheckboxListBridge.js +28 -0
- package/esm5/lib/CheckboxListView_combined.js +709 -684
- package/esm5/lib/ColumnChooserView_combined.js +16 -16
- package/esm5/lib/ColumnFilterCondition_combined.js +5822 -5005
- package/esm5/lib/ColumnGroupingView_combined.js +14 -14
- package/esm5/lib/ColumnPinningView_combined.js +16 -16
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm5/lib/ContentCellModelHelper.js +3 -3
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +12 -12
- package/esm5/lib/DateTimeCellPresenter.js +2 -2
- package/esm5/lib/DraggerView.js +3 -3
- package/esm5/lib/EditorCell.js +256 -256
- package/esm5/lib/EditorCellPresenter.js +15 -15
- package/esm5/lib/FilterCell.js +252 -252
- package/esm5/lib/FilterCellPresenter.js +8 -8
- package/esm5/lib/GridCellBase.js +64 -62
- package/esm5/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm5/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm5/lib/GridExternalWrapper.js +9 -6
- package/esm5/lib/GridFilterDialogView_combined.js +331 -164
- package/esm5/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +275 -585
- package/esm5/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +11 -11
- package/esm5/lib/ImageCell.js +54 -54
- package/esm5/lib/ImageCellPresenter.js +8 -8
- package/esm5/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm5/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm5/lib/NumericCell.js +4 -4
- package/esm5/lib/NumericCellPresenter.js +2 -2
- package/esm5/lib/PropertyEditorView_combined.js +22 -22
- package/esm5/lib/SectionHeaderCell.js +8 -8
- package/esm5/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm5/lib/SummaryCell.js +26 -26
- package/esm5/lib/SummaryCellPresenter.js +5 -5
- package/esm5/lib/TemplateCell.js +11 -11
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +7 -7
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +22 -22
- package/esm5/lib/TextCellPresenter.js +2 -2
- package/esm5/lib/TextHeaderCell.js +138 -132
- package/esm5/lib/TextHeaderCellPresenter.js +43 -21
- package/esm5/lib/TextIconSetConditionalStyle.js +4 -3
- package/esm5/lib/VerticalSeparatorCell.js +32 -32
- package/esm5/lib/igx-checkbox-list-component.js +69 -69
- 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 +313 -139
- package/esm5/lib/igx-data-grid-component.js +151 -3
- package/esm5/lib/igx-data-grid-filter-dialog-component.js +103 -16
- package/esm5/lib/igx-data-grid-pager-component.js +40 -10
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-definition-base-component.js +89 -89
- package/esm5/lib/igx-filter-row-definition-component.js +8 -8
- package/esm5/lib/igx-header-component.js +16 -16
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-component.js +16 -16
- package/esm5/lib/igx-summary-row-component.js +16 -16
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +93 -4
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-angular-data-grids.js +9273 -8141
- package/fesm5/igniteui-angular-data-grids.js +9373 -8080
- package/lib/CheckboxListBridge.d.ts +1 -0
- package/lib/CheckboxListExternal.d.ts +6 -0
- package/lib/CheckboxListView_combined.d.ts +153 -148
- package/lib/ColumnFilterCondition_combined.d.ts +1402 -1268
- package/lib/EditorCell.d.ts +51 -51
- package/lib/FilterCell.d.ts +53 -53
- package/lib/GridCellBase.d.ts +21 -19
- package/lib/GridExternalWrapper.d.ts +1 -0
- package/lib/GridFilterDialogView_combined.d.ts +81 -58
- package/lib/GridStyleRepository.d.ts +23 -84
- package/lib/GridStyleRepositoryKeys.d.ts +48 -0
- package/lib/ImageCell.d.ts +14 -14
- package/lib/SectionHeaderCell.d.ts +2 -2
- package/lib/SummaryCell.d.ts +4 -4
- package/lib/TemplateCell.d.ts +3 -3
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +4 -4
- package/lib/TextHeaderCell.d.ts +26 -24
- package/lib/VerticalSeparatorCell.d.ts +4 -4
- package/lib/igx-data-grid-column-component.d.ts +55 -1
- package/lib/igx-data-grid-component.d.ts +51 -2
- package/lib/igx-data-grid-filter-dialog-component.d.ts +28 -1
- package/lib/igx-data-grid-pager-component.d.ts +11 -1
- package/lib/igx-text-header-cell-info.d.ts +34 -0
- package/package.json +4 -4
- package/public_api.d.ts +1 -0
|
@@ -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.
|
|
20
|
+
this.d7 = null;
|
|
21
|
+
this.d3 = null;
|
|
22
|
+
this.d1 = null;
|
|
23
|
+
this.dx = 0;
|
|
23
24
|
this.dw = 0;
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
25
|
+
this.dz = 3;
|
|
26
|
+
this.d9 = null;
|
|
27
|
+
this.ec = -1;
|
|
27
28
|
this.eb = -1;
|
|
28
|
-
this.ea = -1;
|
|
29
|
-
this.d4 = false;
|
|
30
|
-
this.d7 = null;
|
|
31
29
|
this.d5 = false;
|
|
32
|
-
this.
|
|
30
|
+
this.d8 = null;
|
|
31
|
+
this.d6 = false;
|
|
32
|
+
this.d7 = a.createElement("span");
|
|
33
33
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
34
34
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.ar.append(this.
|
|
35
|
+
this.d7.setRawStyleProperty("display", "inline-block");
|
|
36
|
+
this.d7.setRawStyleProperty("line-height", "normal");
|
|
37
|
+
this.d7.setRawStyleProperty("vertical-align", "middle");
|
|
38
|
+
this.d7.setRawStyleProperty("overflow", "hidden");
|
|
39
|
+
this.d7.setRawStyleProperty("white-space", "nowrap");
|
|
40
|
+
this.d7.setRawStyleProperty("text-overflow", "ellipsis");
|
|
41
|
+
this.ar.append(this.d7);
|
|
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.d8 = d;
|
|
51
51
|
let e = a.getSubRenderer(d);
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
52
|
+
this.d1 = new GridFilterDialog();
|
|
53
|
+
this.d1.bx(e, this.ar, a);
|
|
54
54
|
this.ar.append(d);
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
let f = this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
55
|
+
this.d1.bo(b, c);
|
|
56
|
+
this.d1.am = 24;
|
|
57
|
+
let f = this.d1.ad;
|
|
58
|
+
this.d1.ad = false;
|
|
59
|
+
this.d1.bl();
|
|
60
|
+
this.d1.ad = f;
|
|
61
61
|
let g = 18;
|
|
62
62
|
let h = 18;
|
|
63
63
|
d = a.createElement("div");
|
|
@@ -67,129 +67,129 @@ 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.d9 = d;
|
|
71
71
|
e = a.getSubRenderer(d);
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
74
|
-
this.
|
|
75
|
-
this.
|
|
72
|
+
this.d3 = new GridSortIndicator();
|
|
73
|
+
this.d3.n = false;
|
|
74
|
+
this.d3.m = false;
|
|
75
|
+
this.d3.a0(e);
|
|
76
76
|
this.ar.append(d);
|
|
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.ar.listen("mouseenter", runOn(this, this.
|
|
87
|
-
this.ar.listen("mouseleave", runOn(this, this.
|
|
77
|
+
this.d3.au(g, h);
|
|
78
|
+
let i = this.d3;
|
|
79
|
+
i.propertyChanged = delegateCombine(i.propertyChanged, runOn(this, this.ef));
|
|
80
|
+
let j = this.d1;
|
|
81
|
+
j.dialogOpening = delegateCombine(j.dialogOpening, runOn(this, this.eg));
|
|
82
|
+
let k = this.d1;
|
|
83
|
+
k.filterChanging = delegateCombine(k.filterChanging, runOn(this, this.ei));
|
|
84
|
+
let l = this.d1;
|
|
85
|
+
l.filterChanged = delegateCombine(l.filterChanged, runOn(this, this.eh));
|
|
86
|
+
this.ar.listen("mouseenter", runOn(this, this.em));
|
|
87
|
+
this.ar.listen("mouseleave", runOn(this, this.el));
|
|
88
88
|
}
|
|
89
|
-
get
|
|
90
|
-
return this.
|
|
89
|
+
get ea() {
|
|
90
|
+
return this.d7;
|
|
91
91
|
}
|
|
92
|
-
get
|
|
93
|
-
return this.
|
|
92
|
+
get d4() {
|
|
93
|
+
return this.d3;
|
|
94
94
|
}
|
|
95
|
-
get
|
|
96
|
-
return this.
|
|
95
|
+
get d2() {
|
|
96
|
+
return this.d1;
|
|
97
97
|
}
|
|
98
|
-
get
|
|
99
|
-
return this.
|
|
98
|
+
get d0() {
|
|
99
|
+
return this.dz;
|
|
100
100
|
}
|
|
101
|
-
set
|
|
102
|
-
let b = this.
|
|
103
|
-
this.
|
|
104
|
-
this.ck("ColumnOptionsIconBehavior", enumGetBox(ColumnOptionsIconBehavior_$type, b), enumGetBox(ColumnOptionsIconBehavior_$type, this.
|
|
101
|
+
set d0(a) {
|
|
102
|
+
let b = this.dz;
|
|
103
|
+
this.dz = a;
|
|
104
|
+
this.ck("ColumnOptionsIconBehavior", enumGetBox(ColumnOptionsIconBehavior_$type, b), enumGetBox(ColumnOptionsIconBehavior_$type, this.dz));
|
|
105
105
|
}
|
|
106
|
-
get
|
|
107
|
-
return this.
|
|
106
|
+
get dy() {
|
|
107
|
+
return this.dx;
|
|
108
108
|
}
|
|
109
|
-
set
|
|
110
|
-
let b = this.
|
|
111
|
-
this.
|
|
112
|
-
this.ck("ColumnOptionsIconAlignment", enumGetBox(ColumnOptionsIconAlignment_$type, b), enumGetBox(ColumnOptionsIconAlignment_$type, this.
|
|
109
|
+
set dy(a) {
|
|
110
|
+
let b = this.dx;
|
|
111
|
+
this.dx = a;
|
|
112
|
+
this.ck("ColumnOptionsIconAlignment", enumGetBox(ColumnOptionsIconAlignment_$type, b), enumGetBox(ColumnOptionsIconAlignment_$type, this.dx));
|
|
113
113
|
}
|
|
114
114
|
af(a) {
|
|
115
115
|
return true;
|
|
116
116
|
}
|
|
117
|
-
|
|
118
|
-
super.
|
|
117
|
+
dc(a, b) {
|
|
118
|
+
super.dc(a, b);
|
|
119
119
|
a -= 21;
|
|
120
|
-
if (this.
|
|
120
|
+
if (this.d6) {
|
|
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.ec) {
|
|
125
|
+
this.ec = c;
|
|
126
|
+
this.d7.setRawStyleProperty("max-width", c.toString() + "px");
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
c1(a, b) {
|
|
130
130
|
super.c1(a, b);
|
|
131
|
-
this.
|
|
131
|
+
this.d7.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.eb != c) {
|
|
134
|
+
this.eb = c;
|
|
135
|
+
this.d7.setRawStyleProperty("max-height", c.toString() + "px");
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
c0(a, b) {
|
|
139
139
|
super.c0(a, b);
|
|
140
|
-
if (a == this.
|
|
141
|
-
this.
|
|
140
|
+
if (a == this.d7) {
|
|
141
|
+
this.d7.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
|
|
145
|
-
this.
|
|
144
|
+
dd(a, b, c, d) {
|
|
145
|
+
this.d1.bn();
|
|
146
146
|
}
|
|
147
|
-
|
|
147
|
+
ef(a, b) {
|
|
148
148
|
switch (b.propertyName) {
|
|
149
149
|
case "CurrentOpacity":
|
|
150
|
-
if (this.
|
|
151
|
-
this.
|
|
152
|
-
if (this.
|
|
153
|
-
this.
|
|
150
|
+
if (this.d4.t > 0) {
|
|
151
|
+
this.d9.setRawStyleProperty("width", "18px");
|
|
152
|
+
if (this.dw == 2) {
|
|
153
|
+
this.d9.setRawStyleProperty("margin", "0 5px 0 0");
|
|
154
154
|
}
|
|
155
155
|
else {
|
|
156
|
-
this.
|
|
156
|
+
this.d9.setRawStyleProperty("margin", "0 0 0 5px");
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
else {
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
160
|
+
this.d9.setRawStyleProperty("width", "0px");
|
|
161
|
+
this.d9.setRawStyleProperty("margin", "0");
|
|
162
162
|
}
|
|
163
163
|
break;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
|
|
166
|
+
em(a) {
|
|
167
167
|
if (this.b.isGridDragging) {
|
|
168
168
|
return;
|
|
169
169
|
}
|
|
170
|
-
this.
|
|
171
|
-
switch (this.
|
|
170
|
+
this.d1.bk();
|
|
171
|
+
switch (this.d0) {
|
|
172
172
|
case 2:
|
|
173
173
|
case 3:
|
|
174
|
-
this.
|
|
174
|
+
this.d1.b1();
|
|
175
175
|
break;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
|
|
179
|
-
switch (this.
|
|
178
|
+
el(a) {
|
|
179
|
+
switch (this.d0) {
|
|
180
180
|
case 2:
|
|
181
181
|
case 3:
|
|
182
|
-
this.
|
|
182
|
+
this.d1.bl();
|
|
183
183
|
break;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
|
|
186
|
+
eh(a, b) {
|
|
187
187
|
this.b.columnFilterChanged(b.a);
|
|
188
188
|
}
|
|
189
|
-
|
|
189
|
+
ei(a, b) {
|
|
190
190
|
this.b.columnFilterChanging(b.a);
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
eg(a, b) {
|
|
193
193
|
if (this.b != null) {
|
|
194
194
|
b.a = this.f.getColumn();
|
|
195
195
|
this.b.cancelEditMode(false);
|
|
@@ -197,72 +197,72 @@ export let TextHeaderCell = /*@__PURE__*/ (() => {
|
|
|
197
197
|
}
|
|
198
198
|
ci(a, b, c) {
|
|
199
199
|
super.ci(a, b, c);
|
|
200
|
-
this.
|
|
201
|
-
this.
|
|
200
|
+
this.dw = c;
|
|
201
|
+
this.d1.k = c;
|
|
202
202
|
if (c == 2) {
|
|
203
|
+
this.ar.removeChild(this.d9);
|
|
203
204
|
this.ar.removeChild(this.d8);
|
|
204
|
-
this.ar.removeChild(this.d7);
|
|
205
|
-
this.d6.before(this.d7);
|
|
206
205
|
this.d7.before(this.d8);
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
this.
|
|
206
|
+
this.d8.before(this.d9);
|
|
207
|
+
if (this.dy == 1) {
|
|
208
|
+
this.d8.setRawStyleProperty("margin", "0 5px 0 0");
|
|
209
|
+
this.d1.l = this.dw;
|
|
210
210
|
}
|
|
211
211
|
else {
|
|
212
|
-
this.
|
|
213
|
-
this.
|
|
212
|
+
this.d8.setRawStyleProperty("margin", "0");
|
|
213
|
+
this.d1.l = 0;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
else {
|
|
217
|
-
this.ar.removeChild(this.
|
|
218
|
-
this.ar.removeChild(this.
|
|
219
|
-
this.
|
|
220
|
-
this.
|
|
221
|
-
if (this.
|
|
222
|
-
this.
|
|
223
|
-
this.
|
|
217
|
+
this.ar.removeChild(this.d9);
|
|
218
|
+
this.ar.removeChild(this.d7);
|
|
219
|
+
this.d8.before(this.d7);
|
|
220
|
+
this.d8.before(this.d9);
|
|
221
|
+
if (this.dy == 1) {
|
|
222
|
+
this.d8.setRawStyleProperty("margin", "0 0 0 5px");
|
|
223
|
+
this.d1.l = this.dw;
|
|
224
224
|
}
|
|
225
225
|
else {
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
226
|
+
this.d8.setRawStyleProperty("margin", "0");
|
|
227
|
+
this.d1.l = 2;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
c6(a, b, c, d) {
|
|
232
232
|
super.c6(a, b, c, d);
|
|
233
|
-
this.
|
|
234
|
-
this.
|
|
233
|
+
this.d1.ap = a;
|
|
234
|
+
this.d1.aq = c;
|
|
235
235
|
}
|
|
236
|
-
|
|
237
|
-
if (this.
|
|
238
|
-
if (this.
|
|
239
|
-
this.
|
|
236
|
+
ek() {
|
|
237
|
+
if (this.dy == 2 || this.dy == 0) {
|
|
238
|
+
if (this.dw == 2) {
|
|
239
|
+
this.d1.l = 0;
|
|
240
240
|
}
|
|
241
241
|
else {
|
|
242
|
-
this.
|
|
242
|
+
this.d1.l = 2;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
else {
|
|
246
|
-
this.
|
|
247
|
-
if (this.
|
|
248
|
-
this.
|
|
246
|
+
this.d1.l = this.dw;
|
|
247
|
+
if (this.dw == 2) {
|
|
248
|
+
this.d8.setRawStyleProperty("margin", "0 5px 0 0");
|
|
249
249
|
}
|
|
250
250
|
else {
|
|
251
|
-
this.
|
|
251
|
+
this.d8.setRawStyleProperty("margin", "0 0 0 5px");
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
-
|
|
256
|
-
switch (this.
|
|
255
|
+
ej() {
|
|
256
|
+
switch (this.d0) {
|
|
257
257
|
case 1:
|
|
258
|
-
this.
|
|
259
|
-
this.
|
|
258
|
+
this.d1.ad = false;
|
|
259
|
+
this.d1.b1();
|
|
260
260
|
break;
|
|
261
261
|
case 2:
|
|
262
|
-
this.
|
|
262
|
+
this.d1.ad = false;
|
|
263
263
|
break;
|
|
264
264
|
case 3:
|
|
265
|
-
this.
|
|
265
|
+
this.d1.ad = true;
|
|
266
266
|
break;
|
|
267
267
|
}
|
|
268
268
|
}
|
|
@@ -270,10 +270,10 @@ export let TextHeaderCell = /*@__PURE__*/ (() => {
|
|
|
270
270
|
super.ck(a, b, c);
|
|
271
271
|
switch (a) {
|
|
272
272
|
case "ColumnOptionsIconAlignment":
|
|
273
|
-
this.
|
|
273
|
+
this.ek();
|
|
274
274
|
break;
|
|
275
275
|
case "ColumnOptionsIconBehavior":
|
|
276
|
-
this.
|
|
276
|
+
this.ej();
|
|
277
277
|
break;
|
|
278
278
|
}
|
|
279
279
|
}
|
|
@@ -281,22 +281,28 @@ export let TextHeaderCell = /*@__PURE__*/ (() => {
|
|
|
281
281
|
if (e_.button == 2) {
|
|
282
282
|
return;
|
|
283
283
|
}
|
|
284
|
-
let b = this.
|
|
284
|
+
let b = this.d1.af(e_);
|
|
285
285
|
if (b) {
|
|
286
|
-
this.
|
|
286
|
+
this.d5 = 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.d5) {
|
|
293
293
|
super.onContactCompleted(e_, a);
|
|
294
294
|
}
|
|
295
|
-
this.
|
|
295
|
+
this.d5 = false;
|
|
296
296
|
}
|
|
297
297
|
detach() {
|
|
298
298
|
super.detach();
|
|
299
|
-
if (this.
|
|
299
|
+
if (this.d1 != null) {
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
da(a) {
|
|
303
|
+
super.da(a);
|
|
304
|
+
if (this.d2 != null) {
|
|
305
|
+
this.d2.x = a;
|
|
300
306
|
}
|
|
301
307
|
}
|
|
302
308
|
get_ac() {
|
|
@@ -6,6 +6,7 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { CellPresenterBase } from "./CellPresenterBase";
|
|
8
8
|
import { CellModel } from "./CellModel";
|
|
9
|
+
import { TextHeaderCellModel } from "./TextHeaderCellModel";
|
|
9
10
|
import { TextCellModel } from "./TextCellModel";
|
|
10
11
|
import { ContentCellModelHelper } from "./ContentCellModelHelper";
|
|
11
12
|
import { TypeRegistrar, markType } from "igniteui-angular-core";
|
|
@@ -26,56 +27,77 @@ export let TextHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
26
27
|
if (a.a7) {
|
|
27
28
|
if (a.bc(TextCellModel.n0)) {
|
|
28
29
|
b.kx = b.n2;
|
|
29
|
-
this.d.c8(this.d.
|
|
30
|
+
this.d.c8(this.d.ea, b.kx);
|
|
30
31
|
}
|
|
31
32
|
if (a.bc(CellModel.hi)) {
|
|
32
|
-
let c = this.d.
|
|
33
|
+
let c = this.d.d4.m;
|
|
33
34
|
if (a.bt) {
|
|
34
|
-
this.d.
|
|
35
|
+
this.d.d4.m = false;
|
|
35
36
|
}
|
|
36
|
-
this.d.
|
|
37
|
+
this.d.d4.b = a.n;
|
|
37
38
|
if (a.bt) {
|
|
38
|
-
this.d.
|
|
39
|
+
this.d.d4.m = c;
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
42
|
if (a.bc(CellModel.hj)) {
|
|
42
|
-
let d = this.d.
|
|
43
|
+
let d = this.d.d4.m;
|
|
43
44
|
if (a.bt) {
|
|
44
|
-
this.d.
|
|
45
|
+
this.d.d4.m = false;
|
|
45
46
|
}
|
|
46
|
-
this.d.
|
|
47
|
+
this.d.d4.a3 = a.ns;
|
|
47
48
|
if (a.bt) {
|
|
48
|
-
this.d.
|
|
49
|
+
this.d.d4.m = d;
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
if (a.bb("IsColumnOptionsEnabled")) {
|
|
52
|
-
let e = b.
|
|
53
|
+
let e = b.od;
|
|
53
54
|
if (e) {
|
|
54
55
|
e = this.e();
|
|
55
56
|
}
|
|
56
|
-
this.d.
|
|
57
|
-
this.d.
|
|
58
|
-
this.a.
|
|
57
|
+
this.d.d6 = e;
|
|
58
|
+
this.d.d8.setRawStyleProperty("display", e ? "inline-block" : "none");
|
|
59
|
+
this.a.dc(a.h5, (a.g0 + a.g2 + a.fg + a.fj));
|
|
59
60
|
}
|
|
60
61
|
if (a.bb("SortIndicatorStyle")) {
|
|
61
|
-
this.d.
|
|
62
|
+
this.d.d4.f = b.n9;
|
|
62
63
|
}
|
|
63
64
|
if (a.bb("ColumnOptionsIconAlignment")) {
|
|
64
|
-
this.d.
|
|
65
|
+
this.d.dy = b.n5;
|
|
65
66
|
}
|
|
66
67
|
if (a.bb("ColumnOptionsIconBehavior")) {
|
|
67
|
-
this.d.
|
|
68
|
+
this.d.d0 = b.n7;
|
|
68
69
|
}
|
|
69
70
|
if (a.bb("ColumnOptionsIconColor")) {
|
|
70
|
-
this.d.
|
|
71
|
+
this.d.d2.ci = b.pd;
|
|
71
72
|
}
|
|
72
|
-
if (a.bb("Path") || (this.d.
|
|
73
|
+
if (a.bb("Path") || (this.d.d2.n != null && this.d.d2.n.grid == null)) {
|
|
73
74
|
let f = a.e.getColumn();
|
|
74
|
-
if (f != this.d.
|
|
75
|
-
this.d.
|
|
75
|
+
if (f != this.d.d2.n) {
|
|
76
|
+
this.d.d2.n = f;
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
|
-
|
|
79
|
+
if (a.bc(TextHeaderCellModel.on)) {
|
|
80
|
+
this.d.da(b.ob);
|
|
81
|
+
}
|
|
82
|
+
if (a.bc(TextHeaderCellModel.of)) {
|
|
83
|
+
this.d.d2.cd = b.pa;
|
|
84
|
+
}
|
|
85
|
+
if (a.bc(TextHeaderCellModel.om)) {
|
|
86
|
+
this.d.d2.ch = b.pf;
|
|
87
|
+
}
|
|
88
|
+
if (a.bc(TextHeaderCellModel.ol)) {
|
|
89
|
+
this.d.d2.cg = b.pe;
|
|
90
|
+
}
|
|
91
|
+
if (a.bc(TextHeaderCellModel.og)) {
|
|
92
|
+
this.d.d2.ce = b.pb;
|
|
93
|
+
}
|
|
94
|
+
if (a.bc(TextHeaderCellModel.oh)) {
|
|
95
|
+
this.d.d2.cf = b.pc;
|
|
96
|
+
}
|
|
97
|
+
if (a.bc(TextHeaderCellModel.oe)) {
|
|
98
|
+
this.d.d2.cc = b.o9;
|
|
99
|
+
}
|
|
100
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.ea, this.a);
|
|
79
101
|
}
|
|
80
102
|
}
|
|
81
103
|
e() {
|
|
@@ -49,9 +49,9 @@ export let TextIconSetConditionalStyle = /*@__PURE__*/ (() => {
|
|
|
49
49
|
case 3:
|
|
50
50
|
case 2:
|
|
51
51
|
case 1:
|
|
52
|
-
case 0: return [BrushUtil.
|
|
52
|
+
case 0: return [BrushUtil.l(255, 26, 199, 32), BrushUtil.l(255, 252, 171, 20), BrushUtil.l(255, 217, 76, 48)];
|
|
53
53
|
}
|
|
54
|
-
return [BrushUtil.
|
|
54
|
+
return [BrushUtil.l(255, 26, 199, 32), BrushUtil.l(255, 252, 171, 20), BrushUtil.l(255, 217, 76, 48)];
|
|
55
55
|
}
|
|
56
56
|
aw(a) {
|
|
57
57
|
let b = new Array(intDivide(a.length, 2));
|
|
@@ -90,7 +90,7 @@ export let TextIconSetConditionalStyle = /*@__PURE__*/ (() => {
|
|
|
90
90
|
i.cs = "FontInfo";
|
|
91
91
|
i.aj = ((() => {
|
|
92
92
|
let $ret = new GridConditionalStyleFontInfo();
|
|
93
|
-
$ret.textStyle = GridStyleRepository.
|
|
93
|
+
$ret.textStyle = GridStyleRepository.d(this.g.grid.theme, 33);
|
|
94
94
|
return $ret;
|
|
95
95
|
})());
|
|
96
96
|
h.properties.add(i);
|
|
@@ -14,56 +14,56 @@ export let VerticalSeparatorCell = /*@__PURE__*/ (() => {
|
|
|
14
14
|
class VerticalSeparatorCell extends GridCellBase {
|
|
15
15
|
constructor(a) {
|
|
16
16
|
super(a);
|
|
17
|
+
this.dx = null;
|
|
17
18
|
this.dw = null;
|
|
18
|
-
this.dv = null;
|
|
19
|
-
this.dx = 0;
|
|
20
19
|
this.dy = 0;
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
20
|
+
this.dz = 0;
|
|
21
|
+
this.dx = a.createElement("div");
|
|
22
|
+
this.dx.setRawStyleProperty("position", "absolute");
|
|
23
|
+
this.dx.setRawStyleProperty("pointer-events", "none");
|
|
24
|
+
this.ar.append(this.dx);
|
|
25
25
|
}
|
|
26
26
|
cx(a, b, c, d, e) {
|
|
27
27
|
if (a == null) {
|
|
28
|
-
if (this.
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
28
|
+
if (this.dw != null) {
|
|
29
|
+
this.dw.remove();
|
|
30
|
+
this.dw = null;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
else {
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
34
|
+
this.d0();
|
|
35
|
+
this.dy = b;
|
|
36
|
+
this.dz = d;
|
|
37
37
|
}
|
|
38
|
-
this.
|
|
38
|
+
this.d1();
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
super.
|
|
42
|
-
this.
|
|
40
|
+
dc(a, b) {
|
|
41
|
+
super.dc(a, b);
|
|
42
|
+
this.d1();
|
|
43
43
|
}
|
|
44
44
|
cw(a) {
|
|
45
|
-
this.
|
|
45
|
+
this.dx.setRawStyleProperty("background-color", a.colorString);
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
if (this.
|
|
47
|
+
d1() {
|
|
48
|
+
if (this.dw != null) {
|
|
49
|
+
this.dx.setRawStyleProperty("height", "100%");
|
|
50
|
+
this.dx.setRawStyleProperty("width", this.ar.width() - (this.dy + this.dz) + "px");
|
|
51
|
+
this.dx.setRawStyleProperty("left", intDivide(this.ar.width(), 2) + "px");
|
|
52
|
+
this.dw.setRawStyleProperty("width", "100%");
|
|
49
53
|
this.dw.setRawStyleProperty("height", "100%");
|
|
50
|
-
this.dw.setRawStyleProperty("width", this.ar.width() - (this.dx + this.dy) + "px");
|
|
51
|
-
this.dw.setRawStyleProperty("left", intDivide(this.ar.width(), 2) + "px");
|
|
52
|
-
this.dv.setRawStyleProperty("width", "100%");
|
|
53
|
-
this.dv.setRawStyleProperty("height", "100%");
|
|
54
54
|
}
|
|
55
55
|
else {
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
56
|
+
this.dx.setRawStyleProperty("height", "100%");
|
|
57
|
+
this.dx.setRawStyleProperty("width", this.ar.width() + "px");
|
|
58
|
+
this.dx.setRawStyleProperty("left", "0px");
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
if (this.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.ar.getNativeElement().insertBefore(this.
|
|
61
|
+
d0() {
|
|
62
|
+
if (this.dw == null) {
|
|
63
|
+
this.dw = this.am.createElement("div");
|
|
64
|
+
this.dw.setRawStyleProperty("position", "absolute");
|
|
65
|
+
this.dw.setRawStyleProperty("background-color", "rgba(0,0,0,0)");
|
|
66
|
+
this.ar.getNativeElement().insertBefore(this.dw.getNativeElement(), this.dx.getNativeElement());
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|