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
|
@@ -24,123 +24,123 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
24
24
|
class FilterCell extends GridCellBase {
|
|
25
25
|
constructor(a) {
|
|
26
26
|
super(a);
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.ed = null;
|
|
30
|
-
this.ee = null;
|
|
27
|
+
this.ei = null;
|
|
28
|
+
this.ek = null;
|
|
31
29
|
this.eg = null;
|
|
30
|
+
this.eh = null;
|
|
31
|
+
this.ej = null;
|
|
32
|
+
this.d9 = null;
|
|
33
|
+
this.d8 = null;
|
|
34
|
+
this.dy = null;
|
|
35
|
+
this.dz = null;
|
|
36
|
+
this.ea = null;
|
|
32
37
|
this.d6 = null;
|
|
33
|
-
this.
|
|
38
|
+
this.ed = true;
|
|
39
|
+
this.d0 = 0;
|
|
40
|
+
this.ee = true;
|
|
41
|
+
this.d4 = null;
|
|
42
|
+
this.eb = null;
|
|
43
|
+
this.el = null;
|
|
34
44
|
this.dv = null;
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.ef.setStyleProperty("align-items", "center");
|
|
50
|
-
this.ef.setStyleProperty("height", "100%");
|
|
51
|
-
this.ap.append(this.ef);
|
|
45
|
+
this.fj = null;
|
|
46
|
+
this.ei = a.createElement("div");
|
|
47
|
+
this.ei.setStyleProperty("display", "flex");
|
|
48
|
+
this.ei.setStyleProperty("flex-direction", "row");
|
|
49
|
+
this.ei.setStyleProperty("align-items", "center");
|
|
50
|
+
this.ei.setStyleProperty("height", "100%");
|
|
51
|
+
this.ar.append(this.ei);
|
|
52
|
+
this.ek = a.createElement("div");
|
|
53
|
+
this.eg = a.getSubRenderer(this.ek);
|
|
54
|
+
this.dz = new ComparisonOperatorSelector();
|
|
55
|
+
this.dz.ej(this.eg);
|
|
56
|
+
this.ek.setStyleProperty("width", "24px");
|
|
57
|
+
this.ek.setStyleProperty("height", "24px");
|
|
58
|
+
this.ei.append(this.ek);
|
|
52
59
|
this.eh = a.createElement("div");
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
this.d7 = new XIcon();
|
|
67
|
-
this.d7.provideContainer(a.getSubRenderer(this.eg));
|
|
68
|
-
this.ef.append(this.eg);
|
|
69
|
-
this.ez();
|
|
70
|
-
}
|
|
71
|
-
d4(a) {
|
|
72
|
-
switch (this.dy) {
|
|
60
|
+
this.eh.setStyleProperty("display", "flex");
|
|
61
|
+
this.eh.setStyleProperty("flex", "1");
|
|
62
|
+
this.eh.setStyleProperty("margin", "0 4px");
|
|
63
|
+
this.ei.append(this.eh);
|
|
64
|
+
this.ej = a.createElement("div");
|
|
65
|
+
this.ej.setStyleProperty("transform", "scale(0.75)");
|
|
66
|
+
this.ea = new XIcon();
|
|
67
|
+
this.ea.provideContainer(a.getSubRenderer(this.ej));
|
|
68
|
+
this.ei.append(this.ej);
|
|
69
|
+
this.e2();
|
|
70
|
+
}
|
|
71
|
+
d7(a) {
|
|
72
|
+
switch (this.d1) {
|
|
73
73
|
case 0:
|
|
74
74
|
case 1:
|
|
75
|
-
if (this.
|
|
76
|
-
this.
|
|
75
|
+
if (this.d9 == null) {
|
|
76
|
+
this.d9 = new TextEditorView(this.am, this.f.getTheme(), this.b);
|
|
77
77
|
}
|
|
78
|
-
return this.
|
|
78
|
+
return this.d9;
|
|
79
79
|
case 2:
|
|
80
|
-
if (this.
|
|
81
|
-
this.
|
|
80
|
+
if (this.d8 == null) {
|
|
81
|
+
this.d8 = new NumericEditorView(this.am, this.f.getTheme(), this.b);
|
|
82
82
|
}
|
|
83
|
-
return this.
|
|
83
|
+
return this.d8;
|
|
84
84
|
case 3:
|
|
85
|
-
if (this.
|
|
86
|
-
this.
|
|
85
|
+
if (this.dy == null) {
|
|
86
|
+
this.dy = new DateEditorView(this.am, this.f.getTheme(), this.b);
|
|
87
87
|
}
|
|
88
|
-
return this.
|
|
88
|
+
return this.dy;
|
|
89
89
|
default: return null;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
|
|
93
|
-
this.
|
|
92
|
+
fe() {
|
|
93
|
+
this.eh.removeChildren();
|
|
94
94
|
}
|
|
95
|
-
|
|
96
|
-
this.
|
|
95
|
+
e0() {
|
|
96
|
+
this.eh.append(this.d6.container);
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
if (this.
|
|
100
|
-
this.
|
|
98
|
+
e7() {
|
|
99
|
+
if (this.ar.getChildCount() == 0) {
|
|
100
|
+
this.ar.append(this.ei);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
|
|
104
|
-
if (this.
|
|
105
|
-
this.
|
|
103
|
+
e5() {
|
|
104
|
+
if (this.ar.getChildCount() > 0) {
|
|
105
|
+
this.ar.removeChildren();
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
|
|
109
|
-
super.
|
|
110
|
-
this.
|
|
108
|
+
ck(a, b, c) {
|
|
109
|
+
super.ck(a, b, c);
|
|
110
|
+
this.fd(a, b, c);
|
|
111
111
|
}
|
|
112
|
-
|
|
113
|
-
this.
|
|
112
|
+
cj() {
|
|
113
|
+
this.fb();
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
ff(a, b, c, d) {
|
|
116
116
|
if (this.d != null) {
|
|
117
|
-
let e = this.
|
|
117
|
+
let e = this.ek.getNativeElement();
|
|
118
118
|
this.d.update("SelectorTop", (e.offsetTop));
|
|
119
119
|
this.d.update("SelectorLeft", (e.offsetLeft));
|
|
120
|
-
let f = this.
|
|
120
|
+
let f = this.eh.getNativeElement();
|
|
121
121
|
this.d.update("EditorTop", (f.offsetTop));
|
|
122
122
|
this.d.update("EditorLeft", (f.offsetLeft));
|
|
123
|
-
let g = this.
|
|
123
|
+
let g = this.ej.getNativeElement();
|
|
124
124
|
this.d.update("ClearIconTop", (g.offsetTop));
|
|
125
125
|
this.d.update("ClearIconLeft", (g.offsetLeft));
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
|
|
129
|
-
let a = this.
|
|
130
|
-
a.valueChanged = delegateCombine(a.valueChanged, runOn(this, this.
|
|
131
|
-
this.
|
|
132
|
-
this.
|
|
133
|
-
let b = this.
|
|
134
|
-
b.clicked = delegateCombine(b.clicked, runOn(this, this.
|
|
128
|
+
e2() {
|
|
129
|
+
let a = this.dz;
|
|
130
|
+
a.valueChanged = delegateCombine(a.valueChanged, runOn(this, this.fc));
|
|
131
|
+
this.ea.svgPath = FilterCell.en;
|
|
132
|
+
this.fh(false);
|
|
133
|
+
let b = this.ea;
|
|
134
|
+
b.clicked = delegateCombine(b.clicked, runOn(this, this.e1));
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
if (this.
|
|
138
|
-
this.
|
|
136
|
+
fb() {
|
|
137
|
+
if (this.d6 == null) {
|
|
138
|
+
this.e6();
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
|
|
141
|
+
d2() {
|
|
142
142
|
let a = 1;
|
|
143
|
-
switch (this.
|
|
143
|
+
switch (this.dx) {
|
|
144
144
|
case 11:
|
|
145
145
|
case 2:
|
|
146
146
|
case 0:
|
|
@@ -159,7 +159,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
159
159
|
a = 2;
|
|
160
160
|
break;
|
|
161
161
|
}
|
|
162
|
-
switch (this.
|
|
162
|
+
switch (this.dz.b) {
|
|
163
163
|
case 6:
|
|
164
164
|
case 8:
|
|
165
165
|
case 7:
|
|
@@ -173,9 +173,9 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
173
173
|
a = 2;
|
|
174
174
|
break;
|
|
175
175
|
}
|
|
176
|
-
if (this.
|
|
177
|
-
if (this.
|
|
178
|
-
let b = this.
|
|
176
|
+
if (this.dz.b == 44) {
|
|
177
|
+
if (this.d5 != null && this.d5.count > 0) {
|
|
178
|
+
let b = this.d5._inner[this.dz.x];
|
|
179
179
|
switch (b.b) {
|
|
180
180
|
case 0:
|
|
181
181
|
case 1:
|
|
@@ -192,168 +192,168 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
192
192
|
}
|
|
193
193
|
return a;
|
|
194
194
|
}
|
|
195
|
-
|
|
196
|
-
if (this.
|
|
197
|
-
this.
|
|
198
|
-
this.
|
|
195
|
+
fh(a) {
|
|
196
|
+
if (this.ea != null) {
|
|
197
|
+
this.ea.disabled = !a;
|
|
198
|
+
this.ea.a3 = a ? 1 : 0.3;
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
|
|
202
|
-
if (!this.
|
|
201
|
+
ew(a) {
|
|
202
|
+
if (!this.ed) {
|
|
203
203
|
return;
|
|
204
204
|
}
|
|
205
|
-
if (this.
|
|
206
|
-
if (this.
|
|
207
|
-
this.b.applyCustomFilter(this.
|
|
205
|
+
if (this.dz.b == 44) {
|
|
206
|
+
if (this.d5 != null && this.d5.count > 0) {
|
|
207
|
+
this.b.applyCustomFilter(this.dz.ae, this.dz.x, a);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
else {
|
|
211
|
-
this.b.applyFilter(this.
|
|
211
|
+
this.b.applyFilter(this.dz.b, a);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
|
|
215
|
-
if (!this.
|
|
214
|
+
ex() {
|
|
215
|
+
if (!this.ed) {
|
|
216
216
|
return;
|
|
217
217
|
}
|
|
218
218
|
if (this.b != null) {
|
|
219
219
|
this.b.clearFilter();
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
|
|
222
|
+
fd(a, b, c) {
|
|
223
223
|
switch (a) {
|
|
224
224
|
case "DataType":
|
|
225
|
-
this.
|
|
225
|
+
this.e4();
|
|
226
226
|
break;
|
|
227
227
|
case "EditorType":
|
|
228
|
-
this.
|
|
228
|
+
this.e6();
|
|
229
229
|
break;
|
|
230
230
|
case "FontInfo":
|
|
231
|
-
this.
|
|
231
|
+
this.fa();
|
|
232
232
|
break;
|
|
233
233
|
case "Filter":
|
|
234
|
-
this.
|
|
234
|
+
this.e8();
|
|
235
235
|
break;
|
|
236
236
|
case "FilterOperands":
|
|
237
|
-
this.
|
|
237
|
+
this.e3();
|
|
238
238
|
break;
|
|
239
239
|
case "FilterValue":
|
|
240
|
-
this.
|
|
240
|
+
this.e9();
|
|
241
241
|
break;
|
|
242
242
|
case "IsEditorEnabled":
|
|
243
|
-
this.
|
|
243
|
+
this.d6.isEnabled = this.ef;
|
|
244
244
|
break;
|
|
245
245
|
case "TextColor":
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
246
|
+
this.dz.eq = this.fk;
|
|
247
|
+
this.ea.fill = this.fk;
|
|
248
|
+
this.d6.textColor = this.fk;
|
|
249
249
|
break;
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
|
|
253
|
-
this.
|
|
254
|
-
if (this.
|
|
255
|
-
if (this.
|
|
256
|
-
if (typeCast(ColumnComparisonFilterCondition.$, this.
|
|
257
|
-
let a = typeCast(ColumnComparisonFilterCondition.$, this.
|
|
258
|
-
this.
|
|
259
|
-
let b = this.
|
|
252
|
+
e8() {
|
|
253
|
+
this.ed = false;
|
|
254
|
+
if (this.d6 != null) {
|
|
255
|
+
if (this.dw != null) {
|
|
256
|
+
if (typeCast(ColumnComparisonFilterCondition.$, this.dw) !== null) {
|
|
257
|
+
let a = typeCast(ColumnComparisonFilterCondition.$, this.dw);
|
|
258
|
+
this.dz.b = a.operator;
|
|
259
|
+
let b = this.d6.getEditorValue();
|
|
260
260
|
if (b != null) {
|
|
261
261
|
if (!Base.equalsStatic(b, a.value)) {
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
262
|
+
this.d6.value = a.value;
|
|
263
|
+
this.em = a.value;
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
else {
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
267
|
+
this.d6.value = a.value;
|
|
268
|
+
this.em = a.value;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
else if (typeCast(ColumnCustomFilterCondition.$, this.
|
|
272
|
-
let c = typeCast(ColumnCustomFilterCondition.$, this.
|
|
273
|
-
this.
|
|
274
|
-
let d = this.
|
|
271
|
+
else if (typeCast(ColumnCustomFilterCondition.$, this.dw) !== null) {
|
|
272
|
+
let c = typeCast(ColumnCustomFilterCondition.$, this.dw);
|
|
273
|
+
this.dz.ek(c.id, c.index);
|
|
274
|
+
let d = this.d6.getEditorValue();
|
|
275
275
|
if (d != null) {
|
|
276
276
|
if (!Base.equalsStatic(d, c.value)) {
|
|
277
|
-
this.
|
|
278
|
-
this.
|
|
277
|
+
this.d6.value = c.value;
|
|
278
|
+
this.em = c.value;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
else {
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
282
|
+
this.d6.value = c.value;
|
|
283
|
+
this.em = c.value;
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
|
-
else if (!(typeCast(ColumnCustomFilterCondition.$, this.
|
|
287
|
-
this.
|
|
288
|
-
this.
|
|
289
|
-
this.
|
|
286
|
+
else if (!(typeCast(ColumnCustomFilterCondition.$, this.dw) !== null)) {
|
|
287
|
+
this.em = null;
|
|
288
|
+
this.d6.value = this.em;
|
|
289
|
+
this.d6.setEditorValue(this.em);
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
else {
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
296
|
-
if (!this.
|
|
297
|
-
this.
|
|
293
|
+
this.em = null;
|
|
294
|
+
this.d6.value = this.em;
|
|
295
|
+
this.d6.setEditorValue(this.em);
|
|
296
|
+
if (!this.ef) {
|
|
297
|
+
this.dz.b = 0;
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
this.
|
|
301
|
+
this.ed = true;
|
|
302
302
|
}
|
|
303
|
-
|
|
304
|
-
this.
|
|
305
|
-
for (let a = 0; a < this.
|
|
306
|
-
this.
|
|
303
|
+
e3() {
|
|
304
|
+
this.dz.d7();
|
|
305
|
+
for (let a = 0; a < this.d5.count; a++) {
|
|
306
|
+
this.dz.d1(this.d5._inner[a].e, this.d5._inner[a].f, this.d5._inner[a].g, a);
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
|
|
310
|
-
if (this.
|
|
311
|
-
this.
|
|
309
|
+
e4() {
|
|
310
|
+
if (this.dx == 11) {
|
|
311
|
+
this.ef = false;
|
|
312
312
|
}
|
|
313
|
-
this.
|
|
313
|
+
this.d1 = this.d2();
|
|
314
314
|
}
|
|
315
|
-
|
|
316
|
-
this.
|
|
317
|
-
if (this.
|
|
318
|
-
this.
|
|
315
|
+
e9() {
|
|
316
|
+
this.fh(this.em != null);
|
|
317
|
+
if (this.em == null || Base.equalsStatic(this.em, "")) {
|
|
318
|
+
this.ex();
|
|
319
319
|
}
|
|
320
320
|
else {
|
|
321
|
-
this.
|
|
321
|
+
this.ew(this.em);
|
|
322
322
|
}
|
|
323
323
|
if (this.d != null) {
|
|
324
|
-
this.d.update("FilterValue", this.
|
|
324
|
+
this.d.update("FilterValue", this.em);
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
|
-
|
|
328
|
-
if (this.
|
|
329
|
-
this.
|
|
330
|
-
let a = this.
|
|
331
|
-
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.
|
|
332
|
-
}
|
|
333
|
-
this.
|
|
334
|
-
this.
|
|
335
|
-
this.
|
|
336
|
-
if (this.
|
|
337
|
-
this.
|
|
338
|
-
this.
|
|
339
|
-
this.
|
|
340
|
-
this.
|
|
341
|
-
this.
|
|
342
|
-
let b = this.
|
|
343
|
-
b.valueProvided = delegateCombine(b.valueProvided, runOn(this, this.
|
|
344
|
-
this.
|
|
345
|
-
}
|
|
346
|
-
this.
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
if (this.
|
|
350
|
-
if (this.
|
|
351
|
-
this.
|
|
327
|
+
e6() {
|
|
328
|
+
if (this.d6 != null) {
|
|
329
|
+
this.d6.detachEvents();
|
|
330
|
+
let a = this.d6;
|
|
331
|
+
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.fg));
|
|
332
|
+
}
|
|
333
|
+
this.fe();
|
|
334
|
+
this.d6 = this.d7(this.d1);
|
|
335
|
+
this.d6.onEditStarted();
|
|
336
|
+
if (this.d6 != null) {
|
|
337
|
+
this.d6.attachEvents();
|
|
338
|
+
this.d6.setFont(this.ec);
|
|
339
|
+
this.d6.isEnabled = this.ef;
|
|
340
|
+
this.d6.focusOnValueChanged = false;
|
|
341
|
+
this.d6.showClearButton = false;
|
|
342
|
+
let b = this.d6;
|
|
343
|
+
b.valueProvided = delegateCombine(b.valueProvided, runOn(this, this.fg));
|
|
344
|
+
this.e0();
|
|
345
|
+
}
|
|
346
|
+
this.e1(null, null);
|
|
347
|
+
}
|
|
348
|
+
fa() {
|
|
349
|
+
if (this.ec != null) {
|
|
350
|
+
if (this.d6 != null) {
|
|
351
|
+
this.d6.setFont(this.ec);
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
|
-
|
|
356
|
-
this.
|
|
355
|
+
fc(a, b) {
|
|
356
|
+
this.d1 = this.d2();
|
|
357
357
|
switch (b.newValue) {
|
|
358
358
|
case 40:
|
|
359
359
|
case 11:
|
|
@@ -381,51 +381,51 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
381
381
|
case 10:
|
|
382
382
|
case 33:
|
|
383
383
|
case 20:
|
|
384
|
-
this.
|
|
384
|
+
this.ef = false;
|
|
385
385
|
break;
|
|
386
386
|
default:
|
|
387
|
-
this.
|
|
387
|
+
this.ef = true;
|
|
388
388
|
break;
|
|
389
389
|
}
|
|
390
|
-
if (this.
|
|
391
|
-
this.
|
|
390
|
+
if (this.dx == 11) {
|
|
391
|
+
this.ef = false;
|
|
392
392
|
}
|
|
393
393
|
if (b.newValue == 44) {
|
|
394
|
-
if (this.
|
|
395
|
-
let c = this.
|
|
396
|
-
this.
|
|
394
|
+
if (this.d5 != null && this.d5.count > 0) {
|
|
395
|
+
let c = this.d5._inner[this.dz.x];
|
|
396
|
+
this.ef = c.d;
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
if (!this.
|
|
400
|
-
this.
|
|
401
|
-
this.
|
|
399
|
+
if (!this.ef) {
|
|
400
|
+
this.ew(null);
|
|
401
|
+
this.fh(true);
|
|
402
402
|
}
|
|
403
|
-
else if (this.
|
|
404
|
-
this.
|
|
403
|
+
else if (this.em != null && !Base.equalsStatic(this.em, "")) {
|
|
404
|
+
this.ew(this.em);
|
|
405
405
|
}
|
|
406
406
|
else {
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
407
|
+
this.ex();
|
|
408
|
+
this.fh(false);
|
|
409
409
|
}
|
|
410
410
|
if (this.d != null) {
|
|
411
|
-
this.d.update("OperatorType", enumGetBox(ColumnComparisonConditionOperatorType_$type, this.
|
|
411
|
+
this.d.update("OperatorType", enumGetBox(ColumnComparisonConditionOperatorType_$type, this.dz.b));
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
|
|
414
|
+
e1(a, b) {
|
|
415
415
|
if (b != null) {
|
|
416
|
-
if (!this.
|
|
417
|
-
this.
|
|
418
|
-
this.
|
|
416
|
+
if (!this.ef) {
|
|
417
|
+
this.dz.b = 0;
|
|
418
|
+
this.ex();
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
this.
|
|
422
|
-
if (this.
|
|
423
|
-
this.
|
|
424
|
-
this.
|
|
421
|
+
this.em = null;
|
|
422
|
+
if (this.d6 != null) {
|
|
423
|
+
this.d6.setEditorValue(null);
|
|
424
|
+
this.d6.value = null;
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
|
|
428
|
-
if (this.
|
|
427
|
+
fg(a, b, c) {
|
|
428
|
+
if (this.d1 == 2) {
|
|
429
429
|
if (typeof b === 'string') {
|
|
430
430
|
let d;
|
|
431
431
|
if (((() => { let e = tryParseNumber(b, d); d = e.p1; return e.ret; })())) {
|
|
@@ -433,112 +433,112 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
-
this.
|
|
436
|
+
this.em = b;
|
|
437
437
|
}
|
|
438
|
-
|
|
439
|
-
this.
|
|
438
|
+
fi(a, b, c, d) {
|
|
439
|
+
this.ff(a, b, c, d);
|
|
440
440
|
}
|
|
441
|
-
|
|
441
|
+
d3(a, b) {
|
|
442
442
|
if (a != null) {
|
|
443
|
-
for (let c = 0; c < this.
|
|
444
|
-
if (this.
|
|
445
|
-
return this.
|
|
443
|
+
for (let c = 0; c < this.d5.count; c++) {
|
|
444
|
+
if (this.d5._inner[c].g == a) {
|
|
445
|
+
return this.d5._inner[c];
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
|
-
if (b >= 0 && b < this.
|
|
450
|
-
return this.
|
|
449
|
+
if (b >= 0 && b < this.d5.count) {
|
|
450
|
+
return this.d5._inner[b];
|
|
451
451
|
}
|
|
452
452
|
return null;
|
|
453
453
|
}
|
|
454
|
-
|
|
455
|
-
this.
|
|
454
|
+
ez() {
|
|
455
|
+
this.e7();
|
|
456
456
|
}
|
|
457
|
-
|
|
458
|
-
this.
|
|
457
|
+
ey() {
|
|
458
|
+
this.e5();
|
|
459
459
|
}
|
|
460
|
-
get
|
|
461
|
-
return this.
|
|
460
|
+
get dx() {
|
|
461
|
+
return this.dz.d;
|
|
462
462
|
}
|
|
463
|
-
set
|
|
464
|
-
let b = this.
|
|
465
|
-
this.
|
|
463
|
+
set dx(a) {
|
|
464
|
+
let b = this.dz.d;
|
|
465
|
+
this.dz.d = a;
|
|
466
466
|
if (b != a) {
|
|
467
|
-
this.
|
|
467
|
+
this.ck("DataType", enumGetBox(DataSourceSchemaPropertyType_$type, b), enumGetBox(DataSourceSchemaPropertyType_$type, this.dz.d));
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
get
|
|
471
|
-
return this.
|
|
470
|
+
get d1() {
|
|
471
|
+
return this.d0;
|
|
472
472
|
}
|
|
473
|
-
set
|
|
474
|
-
let b = this.
|
|
475
|
-
this.
|
|
473
|
+
set d1(a) {
|
|
474
|
+
let b = this.d0;
|
|
475
|
+
this.d0 = a;
|
|
476
476
|
if (b != a) {
|
|
477
|
-
this.
|
|
477
|
+
this.ck("EditorType", enumGetBox(EditorType_$type, b), enumGetBox(EditorType_$type, this.d0));
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
get
|
|
481
|
-
return this.
|
|
480
|
+
get ef() {
|
|
481
|
+
return this.ee;
|
|
482
482
|
}
|
|
483
|
-
set
|
|
484
|
-
let b = this.
|
|
485
|
-
this.
|
|
486
|
-
if (b != this.
|
|
487
|
-
this.
|
|
483
|
+
set ef(a) {
|
|
484
|
+
let b = this.ee;
|
|
485
|
+
this.ee = a;
|
|
486
|
+
if (b != this.ee) {
|
|
487
|
+
this.ck("IsEditorEnabled", b, this.ee);
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
get
|
|
491
|
-
return this.
|
|
490
|
+
get d5() {
|
|
491
|
+
return this.d4;
|
|
492
492
|
}
|
|
493
|
-
set
|
|
494
|
-
let b = this.
|
|
495
|
-
this.
|
|
496
|
-
if (this.
|
|
497
|
-
this.
|
|
493
|
+
set d5(a) {
|
|
494
|
+
let b = this.d4;
|
|
495
|
+
this.d4 = a;
|
|
496
|
+
if (this.d4 != null) {
|
|
497
|
+
this.ck("FilterOperands", b, this.d4);
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
|
-
get
|
|
501
|
-
return this.
|
|
500
|
+
get ec() {
|
|
501
|
+
return this.eb;
|
|
502
502
|
}
|
|
503
|
-
set
|
|
504
|
-
let b = this.
|
|
505
|
-
this.
|
|
506
|
-
if (b != this.
|
|
507
|
-
this.
|
|
503
|
+
set ec(a) {
|
|
504
|
+
let b = this.eb;
|
|
505
|
+
this.eb = a;
|
|
506
|
+
if (b != this.eb) {
|
|
507
|
+
this.ck("FontInfo", b, this.eb);
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
get
|
|
511
|
-
return this.
|
|
510
|
+
get em() {
|
|
511
|
+
return this.el;
|
|
512
512
|
}
|
|
513
|
-
set
|
|
514
|
-
let b = this.
|
|
515
|
-
this.
|
|
516
|
-
if (b != this.
|
|
517
|
-
this.
|
|
513
|
+
set em(a) {
|
|
514
|
+
let b = this.el;
|
|
515
|
+
this.el = a;
|
|
516
|
+
if (b != this.el) {
|
|
517
|
+
this.ck("FilterValue", b, this.el);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
get
|
|
521
|
-
return this.
|
|
520
|
+
get dw() {
|
|
521
|
+
return this.dv;
|
|
522
522
|
}
|
|
523
|
-
set
|
|
524
|
-
let b = this.
|
|
525
|
-
this.
|
|
523
|
+
set dw(a) {
|
|
524
|
+
let b = this.dv;
|
|
525
|
+
this.dv = a;
|
|
526
526
|
if (b != a) {
|
|
527
|
-
this.
|
|
527
|
+
this.ck("Filter", b, this.dv);
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
get
|
|
531
|
-
return this.
|
|
530
|
+
get fk() {
|
|
531
|
+
return this.fj;
|
|
532
532
|
}
|
|
533
|
-
set
|
|
534
|
-
let b = this.
|
|
535
|
-
this.
|
|
536
|
-
if (b != this.
|
|
537
|
-
this.
|
|
533
|
+
set fk(a) {
|
|
534
|
+
let b = this.fj;
|
|
535
|
+
this.fj = a;
|
|
536
|
+
if (b != this.fj) {
|
|
537
|
+
this.ck("TextColor", b, this.fj);
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
FilterCell.$t = markType(FilterCell, 'FilterCell', GridCellBase.$);
|
|
542
|
-
FilterCell.
|
|
542
|
+
FilterCell.en = "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z";
|
|
543
543
|
return FilterCell;
|
|
544
544
|
})();
|