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