igniteui-webcomponents-grids 4.2.2 → 4.2.4-alpha
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-grids.umd.js +1132 -799
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BaseEditorView.js +30 -14
- package/esm2015/lib/CheckboxListView_combined.js +1 -0
- package/esm2015/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm2015/lib/ComboEditorView.js +111 -105
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +400 -343
- package/esm2015/lib/DateEditorView.js +94 -87
- package/esm2015/lib/EditorCell.js +10 -10
- package/esm2015/lib/FilterCell.js +76 -60
- package/esm2015/lib/FilterCellPresenter.js +6 -3
- package/esm2015/lib/GridColumnOptionsView_combined.js +47 -22
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +49 -23
- package/esm2015/lib/ISummaryChooserView_combined.js +1 -0
- package/esm2015/lib/NumericEditorView.js +3 -3
- package/esm2015/lib/TextEditorView.js +82 -75
- package/esm2015/lib/igc-data-grid-comparison-operator-selector-component.js +104 -59
- package/esm2015/lib/igc-grid-column-options-component.js +21 -1
- package/esm2015/lib/igc-grid-column-summary-options-component.js +16 -2
- package/esm5/lib/BaseEditorView.js +34 -14
- package/esm5/lib/CheckboxListView_combined.js +1 -0
- package/esm5/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm5/lib/ComboEditorView.js +108 -102
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +407 -342
- package/esm5/lib/DateEditorView.js +93 -86
- package/esm5/lib/EditorCell.js +10 -10
- package/esm5/lib/FilterCell.js +80 -60
- package/esm5/lib/FilterCellPresenter.js +6 -3
- package/esm5/lib/GridColumnOptionsView_combined.js +55 -22
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +57 -23
- package/esm5/lib/ISummaryChooserView_combined.js +1 -0
- package/esm5/lib/NumericEditorView.js +3 -3
- package/esm5/lib/TextEditorView.js +82 -75
- package/esm5/lib/igc-data-grid-comparison-operator-selector-component.js +117 -59
- package/esm5/lib/igc-grid-column-options-component.js +29 -1
- package/esm5/lib/igc-grid-column-summary-options-component.js +24 -2
- package/fesm2015/igniteui-webcomponents-grids.js +1076 -804
- package/fesm5/igniteui-webcomponents-grids.js +1132 -799
- package/grids/3rdpartylicenses.txt +445 -0
- package/grids/combined.js +44 -160
- package/grids/index.d.ts +2 -0
- package/grids/lib/igc-grid-base-directive.d.ts +14 -0
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +5 -1
- package/grids/lib/igc-grid-selection-range.d.ts +1 -0
- package/grids/lib/igc-pivot-date-dimension.d.ts +1 -1
- package/grids/lib/igc-pivot-grid-column.d.ts +32 -0
- package/grids/lib/igc-pivot-grid-record.d.ts +28 -0
- package/grids/lib/igc-row-data-event-args.d.ts +4 -0
- package/grids/styles.css +1 -1
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/lib/BaseEditorView.d.ts +12 -8
- package/lib/ColumnFilterCondition_combined.d.ts +2 -0
- package/lib/ComboEditorView.d.ts +15 -14
- package/lib/ComboEditorView_ComboExternal.d.ts +1 -0
- package/lib/ComparisonOperatorSelectorView_combined.d.ts +104 -95
- package/lib/DateEditorView.d.ts +13 -12
- package/lib/FilterCell.d.ts +23 -20
- package/lib/GridColumnOptionsView_combined.d.ts +10 -5
- package/lib/GridColumnSummaryOptionsView_combined.d.ts +13 -8
- package/lib/IEditorView.d.ts +2 -0
- package/lib/TextEditorView.d.ts +10 -9
- package/lib/igc-data-grid-comparison-operator-selector-component.d.ts +11 -0
- package/lib/igc-grid-column-options-component.d.ts +8 -0
- package/lib/igc-grid-column-summary-options-component.d.ts +2 -0
- package/package.json +4 -4
|
@@ -15,11 +15,11 @@ export let DateEditorView = /*@__PURE__*/ (() => {
|
|
|
15
15
|
class DateEditorView extends BaseEditorView {
|
|
16
16
|
constructor(a, b, c) {
|
|
17
17
|
super(a, c);
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
18
|
+
this.ad = null;
|
|
19
|
+
this.y = null;
|
|
20
|
+
this.z = null;
|
|
21
|
+
this.ab = false;
|
|
22
|
+
this.aa = false;
|
|
23
23
|
let d = a.createElement("div");
|
|
24
24
|
d.setRawStyleProperty("width", "100%");
|
|
25
25
|
d.setRawStyleProperty("margin-top", "-10px");
|
|
@@ -30,78 +30,79 @@ export let DateEditorView = /*@__PURE__*/ (() => {
|
|
|
30
30
|
e.append(f);
|
|
31
31
|
let g = a.createElement("div");
|
|
32
32
|
e.append(g);
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
33
|
+
this.y = new DatePicker();
|
|
34
|
+
this.y.ar = false;
|
|
35
|
+
this.y.provideContainer(e);
|
|
36
|
+
this.y.w = b;
|
|
37
|
+
this.y.y = 3;
|
|
38
|
+
this.y.as = this.showClearButton;
|
|
39
|
+
this.y.at = this.ac;
|
|
40
|
+
this.y.de = this.textColor;
|
|
41
|
+
let h = e.getExternal(this.y, e.rootWrapper, null);
|
|
42
|
+
if (this.z != null) {
|
|
43
|
+
this.y.ad = this.z;
|
|
43
44
|
}
|
|
44
45
|
this.attachEvents();
|
|
45
46
|
}
|
|
46
|
-
get
|
|
47
|
+
get ae() {
|
|
48
|
+
return this.ad;
|
|
49
|
+
}
|
|
50
|
+
set ae(a) {
|
|
51
|
+
let b = this.ad;
|
|
52
|
+
this.ad = a;
|
|
53
|
+
if (b != this.ad) {
|
|
54
|
+
this.u("FormatString", b, this.ad);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
get ac() {
|
|
47
58
|
return this.aa;
|
|
48
59
|
}
|
|
49
|
-
set
|
|
60
|
+
set ac(a) {
|
|
50
61
|
let b = this.aa;
|
|
51
62
|
this.aa = a;
|
|
52
63
|
if (b != this.aa) {
|
|
53
|
-
this.
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
get z() {
|
|
57
|
-
return this.x;
|
|
58
|
-
}
|
|
59
|
-
set z(a) {
|
|
60
|
-
let b = this.x;
|
|
61
|
-
this.x = a;
|
|
62
|
-
if (b != this.x) {
|
|
63
|
-
this.t("ShowTodayButton", b, this.x);
|
|
64
|
+
this.u("ShowTodayButton", b, this.aa);
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
setFont(a) {
|
|
67
|
-
this.
|
|
68
|
-
if (this.
|
|
69
|
-
this.
|
|
68
|
+
this.z = a;
|
|
69
|
+
if (this.y != null && this.z != null) {
|
|
70
|
+
this.y.ad = this.z;
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
attachEvents() {
|
|
73
|
-
if (this.
|
|
74
|
-
let a = this.
|
|
74
|
+
if (this.y != null) {
|
|
75
|
+
let a = this.y;
|
|
75
76
|
a.selectedValueChanged = delegateCombine(a.selectedValueChanged, runOn(this, this.onDatePickerValueChanged));
|
|
76
|
-
let b = this.
|
|
77
|
+
let b = this.y;
|
|
77
78
|
b.gotFocus = delegateCombine(b.gotFocus, runOn(this, this.onDatePickerGotFocus));
|
|
78
|
-
let c = this.
|
|
79
|
+
let c = this.y;
|
|
79
80
|
c.lostFocus = delegateCombine(c.lostFocus, runOn(this, this.onDatePickerLostFocus));
|
|
80
|
-
let d = this.
|
|
81
|
+
let d = this.y;
|
|
81
82
|
d.keyDown = delegateCombine(d.keyDown, runOn(this, this.onInputKeyDown));
|
|
82
|
-
let e = this.
|
|
83
|
+
let e = this.y;
|
|
83
84
|
e.changing = delegateCombine(e.changing, runOn(this, this.onInputChanging));
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
87
|
detachEvents() {
|
|
87
|
-
if (this.
|
|
88
|
-
let a = this.
|
|
88
|
+
if (this.y != null) {
|
|
89
|
+
let a = this.y;
|
|
89
90
|
a.selectedValueChanged = delegateRemove(a.selectedValueChanged, runOn(this, this.onDatePickerValueChanged));
|
|
90
|
-
let b = this.
|
|
91
|
+
let b = this.y;
|
|
91
92
|
b.gotFocus = delegateRemove(b.gotFocus, runOn(this, this.onDatePickerGotFocus));
|
|
92
|
-
let c = this.
|
|
93
|
+
let c = this.y;
|
|
93
94
|
c.lostFocus = delegateRemove(c.lostFocus, runOn(this, this.onDatePickerLostFocus));
|
|
94
|
-
let d = this.
|
|
95
|
+
let d = this.y;
|
|
95
96
|
d.keyDown = delegateRemove(d.keyDown, runOn(this, this.onInputKeyDown));
|
|
96
|
-
let e = this.
|
|
97
|
+
let e = this.y;
|
|
97
98
|
e.changing = delegateRemove(e.changing, runOn(this, this.onInputChanging));
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
onTargetChanged() {
|
|
101
|
-
if (this.
|
|
102
|
-
this.
|
|
102
|
+
if (this.y != null) {
|
|
103
|
+
this.ab = true;
|
|
103
104
|
this.focus();
|
|
104
|
-
this.
|
|
105
|
+
this.ab = false;
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
onEditStarted() {
|
|
@@ -119,93 +120,99 @@ export let DateEditorView = /*@__PURE__*/ (() => {
|
|
|
119
120
|
}
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
|
-
|
|
123
|
-
if (this.
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
123
|
+
s() {
|
|
124
|
+
if (this.y != null) {
|
|
125
|
+
this.y.focus(true);
|
|
126
|
+
this.y.cz();
|
|
126
127
|
}
|
|
127
128
|
}
|
|
128
|
-
|
|
129
|
-
if (this.
|
|
130
|
-
this.
|
|
129
|
+
ag() {
|
|
130
|
+
if (this.y != null) {
|
|
131
|
+
this.y.cc();
|
|
131
132
|
}
|
|
132
133
|
}
|
|
133
|
-
|
|
134
|
-
super.
|
|
134
|
+
u(a, b, c) {
|
|
135
|
+
super.u(a, b, c);
|
|
135
136
|
switch (a) {
|
|
136
137
|
case "FormatString":
|
|
137
|
-
this.
|
|
138
|
+
this.ak();
|
|
138
139
|
break;
|
|
139
140
|
case "ShowClearButton":
|
|
140
|
-
if (this.
|
|
141
|
-
this.
|
|
141
|
+
if (this.y != null) {
|
|
142
|
+
this.y.as = this.showClearButton;
|
|
142
143
|
}
|
|
143
144
|
break;
|
|
144
145
|
case "ShowTodayButton":
|
|
145
|
-
if (this.
|
|
146
|
-
this.
|
|
146
|
+
if (this.y != null) {
|
|
147
|
+
this.y.at = this.ac;
|
|
147
148
|
}
|
|
148
149
|
break;
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
|
-
|
|
152
|
-
this.
|
|
152
|
+
ak() {
|
|
153
|
+
this.y.bo = this.ae;
|
|
153
154
|
}
|
|
154
|
-
|
|
155
|
-
this.
|
|
156
|
-
if (this.
|
|
155
|
+
w() {
|
|
156
|
+
this.ab = true;
|
|
157
|
+
if (this.y != null) {
|
|
157
158
|
if (this.value == null) {
|
|
158
|
-
this.
|
|
159
|
+
this.y.value = dateMinValue();
|
|
159
160
|
}
|
|
160
161
|
else {
|
|
161
|
-
this.
|
|
162
|
+
this.y.value = this.value;
|
|
162
163
|
}
|
|
163
164
|
if (this.focusOnValueChanged) {
|
|
164
|
-
this.
|
|
165
|
+
this.s();
|
|
165
166
|
}
|
|
166
167
|
}
|
|
167
|
-
this.
|
|
168
|
+
this.ab = false;
|
|
168
169
|
}
|
|
169
|
-
|
|
170
|
-
if (this.
|
|
171
|
-
this.
|
|
170
|
+
r() {
|
|
171
|
+
if (this.y != null) {
|
|
172
|
+
this.y.aq = !this.isEnabled;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
v() {
|
|
176
|
+
super.v();
|
|
177
|
+
if (this.y != null) {
|
|
178
|
+
this.y.de = this.textColor;
|
|
172
179
|
}
|
|
173
180
|
}
|
|
174
181
|
onDatePickerValueChanged(a, b) {
|
|
175
|
-
this.
|
|
182
|
+
this.am();
|
|
176
183
|
}
|
|
177
|
-
|
|
178
|
-
if (this.
|
|
184
|
+
am() {
|
|
185
|
+
if (this.ab) {
|
|
179
186
|
return;
|
|
180
187
|
}
|
|
181
|
-
if (+(this.
|
|
182
|
-
this.
|
|
188
|
+
if (+(this.y.value) != +(dateMinValue())) {
|
|
189
|
+
this.q(this.y.value, false);
|
|
183
190
|
}
|
|
184
|
-
else if (+(this.
|
|
185
|
-
this.
|
|
191
|
+
else if (+(this.y.value) == +(dateMinValue())) {
|
|
192
|
+
this.q(null, false);
|
|
186
193
|
}
|
|
187
194
|
else {
|
|
188
|
-
this.
|
|
195
|
+
this.q(this.value, false);
|
|
189
196
|
}
|
|
190
197
|
}
|
|
191
198
|
onInputChanging(a, b) {
|
|
192
|
-
this.
|
|
199
|
+
this.p();
|
|
193
200
|
}
|
|
194
201
|
onDatePickerLostFocus(a, b) {
|
|
195
|
-
this.
|
|
202
|
+
this.o();
|
|
196
203
|
}
|
|
197
204
|
onDatePickerGotFocus(a, b) {
|
|
198
|
-
this.
|
|
205
|
+
this.n();
|
|
199
206
|
}
|
|
200
207
|
getEditorValue() {
|
|
201
|
-
if (this.
|
|
202
|
-
return this.
|
|
208
|
+
if (this.y != null) {
|
|
209
|
+
return this.y.value;
|
|
203
210
|
}
|
|
204
211
|
return null;
|
|
205
212
|
}
|
|
206
213
|
setEditorValue(a) {
|
|
207
|
-
if (this.
|
|
208
|
-
this.
|
|
214
|
+
if (this.y != null) {
|
|
215
|
+
this.y.value = a != null ? a : dateMinValue();
|
|
209
216
|
}
|
|
210
217
|
}
|
|
211
218
|
}
|
|
@@ -228,18 +228,18 @@ export let EditorCell = /*@__PURE__*/ (() => {
|
|
|
228
228
|
}
|
|
229
229
|
this.ct = new ComboEditorView(this.ab, this.f.getTheme(), this.b);
|
|
230
230
|
this.ct.setFont(this.cz);
|
|
231
|
-
this.ct.
|
|
232
|
-
this.ct.
|
|
233
|
-
this.ct.
|
|
231
|
+
this.ct.af = this.dh;
|
|
232
|
+
this.ct.ai = this.dm;
|
|
233
|
+
this.ct.z = this.ci;
|
|
234
234
|
return this.ct;
|
|
235
235
|
}
|
|
236
236
|
ea(a, b) {
|
|
237
237
|
if (b.g != b.d || b.h != b.e) {
|
|
238
238
|
if (this.ct != null) {
|
|
239
|
-
this.ct.
|
|
239
|
+
this.ct.al();
|
|
240
240
|
}
|
|
241
241
|
if (this.cu != null) {
|
|
242
|
-
this.cu.
|
|
242
|
+
this.cu.ag();
|
|
243
243
|
}
|
|
244
244
|
this.d0();
|
|
245
245
|
}
|
|
@@ -312,9 +312,9 @@ export let EditorCell = /*@__PURE__*/ (() => {
|
|
|
312
312
|
}
|
|
313
313
|
d2() {
|
|
314
314
|
if (this.ct != null) {
|
|
315
|
-
this.ct.
|
|
316
|
-
this.ct.
|
|
317
|
-
this.ct.
|
|
315
|
+
this.ct.af = this.dh;
|
|
316
|
+
this.ct.ai = this.dm;
|
|
317
|
+
this.ct.z = this.ci;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
d8() {
|
|
@@ -349,12 +349,12 @@ export let EditorCell = /*@__PURE__*/ (() => {
|
|
|
349
349
|
}
|
|
350
350
|
d4() {
|
|
351
351
|
if (this.cn != null && this.cu == this.cn) {
|
|
352
|
-
this.cu.
|
|
352
|
+
this.cu.ae = this.dr;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
ec() {
|
|
356
356
|
if (this.cn != null && this.cu == this.cn) {
|
|
357
|
-
this.cu.
|
|
357
|
+
this.cu.ac = this.db;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
eh(a, b, c, d, e) {
|
|
@@ -42,6 +42,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
42
42
|
this.cx = null;
|
|
43
43
|
this.c7 = null;
|
|
44
44
|
this.ch = null;
|
|
45
|
+
this.d6 = null;
|
|
45
46
|
this.c4 = a.createElement("div");
|
|
46
47
|
this.c4.setStyleProperty("display", "flex");
|
|
47
48
|
this.c4.setStyleProperty("flex-direction", "row");
|
|
@@ -51,7 +52,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
51
52
|
this.c6 = a.createElement("div");
|
|
52
53
|
this.c2 = a.getSubRenderer(this.c6);
|
|
53
54
|
this.ck = new ComparisonOperatorSelector();
|
|
54
|
-
this.ck.
|
|
55
|
+
this.ck.ej(this.c2);
|
|
55
56
|
this.c6.setStyleProperty("width", "24px");
|
|
56
57
|
this.c6.setStyleProperty("height", "24px");
|
|
57
58
|
this.c4.append(this.c6);
|
|
@@ -65,7 +66,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
65
66
|
this.cw = new XIcon();
|
|
66
67
|
this.cw.provideContainer(a.getSubRenderer(this.c5));
|
|
67
68
|
this.c4.append(this.c5);
|
|
68
|
-
this.
|
|
69
|
+
this.dp();
|
|
69
70
|
}
|
|
70
71
|
cs(a) {
|
|
71
72
|
switch (this.cm) {
|
|
@@ -88,30 +89,30 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
88
89
|
default: return null;
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
|
-
|
|
92
|
+
d1() {
|
|
92
93
|
this.c3.removeChildren();
|
|
93
94
|
}
|
|
94
|
-
|
|
95
|
+
dm() {
|
|
95
96
|
this.c3.append(this.cr.container);
|
|
96
97
|
}
|
|
97
|
-
|
|
98
|
+
du() {
|
|
98
99
|
if (this.ae.getChildCount() == 0) {
|
|
99
100
|
this.ae.append(this.c4);
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
|
-
|
|
103
|
+
ds() {
|
|
103
104
|
if (this.ae.getChildCount() > 0) {
|
|
104
105
|
this.ae.removeChildren();
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
bp(a, b, c) {
|
|
108
109
|
super.bp(a, b, c);
|
|
109
|
-
this.
|
|
110
|
+
this.d0(a, b, c);
|
|
110
111
|
}
|
|
111
112
|
bo() {
|
|
112
|
-
this.
|
|
113
|
+
this.dy();
|
|
113
114
|
}
|
|
114
|
-
|
|
115
|
+
d2(a, b, c, d) {
|
|
115
116
|
if (this.d != null) {
|
|
116
117
|
let e = this.c6.getNativeElement();
|
|
117
118
|
this.d.update("SelectorTop", (e.offsetTop));
|
|
@@ -124,17 +125,17 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
124
125
|
this.d.update("ClearIconLeft", (g.offsetLeft));
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
|
-
|
|
128
|
+
dp() {
|
|
128
129
|
let a = this.ck;
|
|
129
|
-
a.valueChanged = delegateCombine(a.valueChanged, runOn(this, this.
|
|
130
|
+
a.valueChanged = delegateCombine(a.valueChanged, runOn(this, this.dz));
|
|
130
131
|
this.cw.svgPath = FilterCell.c9;
|
|
131
|
-
this.
|
|
132
|
+
this.d4(false);
|
|
132
133
|
let b = this.cw;
|
|
133
|
-
b.clicked = delegateCombine(b.clicked, runOn(this, this.
|
|
134
|
+
b.clicked = delegateCombine(b.clicked, runOn(this, this.dn));
|
|
134
135
|
}
|
|
135
|
-
|
|
136
|
+
dy() {
|
|
136
137
|
if (this.cr == null) {
|
|
137
|
-
this.
|
|
138
|
+
this.dt();
|
|
138
139
|
}
|
|
139
140
|
}
|
|
140
141
|
cn() {
|
|
@@ -174,7 +175,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
174
175
|
}
|
|
175
176
|
if (this.ck.b == 44) {
|
|
176
177
|
if (this.cq != null && this.cq.count > 0) {
|
|
177
|
-
let b = this.cq._inner[this.ck.
|
|
178
|
+
let b = this.cq._inner[this.ck.x];
|
|
178
179
|
switch (b.b) {
|
|
179
180
|
case 0:
|
|
180
181
|
case 1:
|
|
@@ -191,26 +192,26 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
191
192
|
}
|
|
192
193
|
return a;
|
|
193
194
|
}
|
|
194
|
-
|
|
195
|
+
d4(a) {
|
|
195
196
|
if (this.cw != null) {
|
|
196
197
|
this.cw.disabled = !a;
|
|
197
198
|
this.cw.z = a ? 1 : 0.3;
|
|
198
199
|
}
|
|
199
200
|
}
|
|
200
|
-
|
|
201
|
+
di(a) {
|
|
201
202
|
if (!this.cz) {
|
|
202
203
|
return;
|
|
203
204
|
}
|
|
204
205
|
if (this.ck.b == 44) {
|
|
205
206
|
if (this.cq != null && this.cq.count > 0) {
|
|
206
|
-
this.b.applyCustomFilter(this.ck.
|
|
207
|
+
this.b.applyCustomFilter(this.ck.ae, this.ck.x, a);
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
210
|
else {
|
|
210
211
|
this.b.applyFilter(this.ck.b, a);
|
|
211
212
|
}
|
|
212
213
|
}
|
|
213
|
-
|
|
214
|
+
dj() {
|
|
214
215
|
if (!this.cz) {
|
|
215
216
|
return;
|
|
216
217
|
}
|
|
@@ -218,32 +219,37 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
218
219
|
this.b.clearFilter();
|
|
219
220
|
}
|
|
220
221
|
}
|
|
221
|
-
|
|
222
|
+
d0(a, b, c) {
|
|
222
223
|
switch (a) {
|
|
223
224
|
case "DataType":
|
|
224
|
-
this.
|
|
225
|
+
this.dr();
|
|
225
226
|
break;
|
|
226
227
|
case "EditorType":
|
|
227
|
-
this.
|
|
228
|
+
this.dt();
|
|
228
229
|
break;
|
|
229
230
|
case "FontInfo":
|
|
230
|
-
this.
|
|
231
|
+
this.dx();
|
|
231
232
|
break;
|
|
232
233
|
case "Filter":
|
|
233
|
-
this.
|
|
234
|
+
this.dv();
|
|
234
235
|
break;
|
|
235
236
|
case "FilterOperands":
|
|
236
|
-
this.
|
|
237
|
+
this.dq();
|
|
237
238
|
break;
|
|
238
239
|
case "FilterValue":
|
|
239
|
-
this.
|
|
240
|
+
this.dw();
|
|
240
241
|
break;
|
|
241
242
|
case "IsEditorEnabled":
|
|
242
243
|
this.cr.isEnabled = this.c1;
|
|
243
244
|
break;
|
|
245
|
+
case "TextColor":
|
|
246
|
+
this.ck.eq = this.d7;
|
|
247
|
+
this.cw.fill = this.d7;
|
|
248
|
+
this.cr.textColor = this.d7;
|
|
249
|
+
break;
|
|
244
250
|
}
|
|
245
251
|
}
|
|
246
|
-
|
|
252
|
+
dv() {
|
|
247
253
|
this.cz = false;
|
|
248
254
|
if (this.cr != null) {
|
|
249
255
|
if (this.ci != null) {
|
|
@@ -264,7 +270,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
264
270
|
}
|
|
265
271
|
else if (typeCast(ColumnCustomFilterCondition.$, this.ci) !== null) {
|
|
266
272
|
let c = typeCast(ColumnCustomFilterCondition.$, this.ci);
|
|
267
|
-
this.ck.
|
|
273
|
+
this.ck.ek(c.id, c.d);
|
|
268
274
|
let d = this.cr.getEditorValue();
|
|
269
275
|
if (d != null) {
|
|
270
276
|
if (!Base.equalsStatic(d, c.e)) {
|
|
@@ -294,37 +300,37 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
294
300
|
}
|
|
295
301
|
this.cz = true;
|
|
296
302
|
}
|
|
297
|
-
|
|
298
|
-
this.ck.
|
|
303
|
+
dq() {
|
|
304
|
+
this.ck.d7();
|
|
299
305
|
for (let a = 0; a < this.cq.count; a++) {
|
|
300
|
-
this.ck.
|
|
306
|
+
this.ck.d1(this.cq._inner[a].e, this.cq._inner[a].f, this.cq._inner[a].g, a);
|
|
301
307
|
}
|
|
302
308
|
}
|
|
303
|
-
|
|
309
|
+
dr() {
|
|
304
310
|
if (this.cj == 11) {
|
|
305
311
|
this.c1 = false;
|
|
306
312
|
}
|
|
307
313
|
this.cm = this.cn();
|
|
308
314
|
}
|
|
309
|
-
|
|
310
|
-
this.
|
|
315
|
+
dw() {
|
|
316
|
+
this.d4(this.c8 != null);
|
|
311
317
|
if (this.c8 == null || Base.equalsStatic(this.c8, "")) {
|
|
312
|
-
this.
|
|
318
|
+
this.dj();
|
|
313
319
|
}
|
|
314
320
|
else {
|
|
315
|
-
this.
|
|
321
|
+
this.di(this.c8);
|
|
316
322
|
}
|
|
317
323
|
if (this.d != null) {
|
|
318
324
|
this.d.update("FilterValue", this.c8);
|
|
319
325
|
}
|
|
320
326
|
}
|
|
321
|
-
|
|
327
|
+
dt() {
|
|
322
328
|
if (this.cr != null) {
|
|
323
329
|
this.cr.detachEvents();
|
|
324
330
|
let a = this.cr;
|
|
325
|
-
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.
|
|
331
|
+
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.d3));
|
|
326
332
|
}
|
|
327
|
-
this.
|
|
333
|
+
this.d1();
|
|
328
334
|
this.cr = this.cs(this.cm);
|
|
329
335
|
this.cr.onEditStarted();
|
|
330
336
|
if (this.cr != null) {
|
|
@@ -334,19 +340,19 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
334
340
|
this.cr.focusOnValueChanged = false;
|
|
335
341
|
this.cr.showClearButton = false;
|
|
336
342
|
let b = this.cr;
|
|
337
|
-
b.valueProvided = delegateCombine(b.valueProvided, runOn(this, this.
|
|
338
|
-
this.
|
|
343
|
+
b.valueProvided = delegateCombine(b.valueProvided, runOn(this, this.d3));
|
|
344
|
+
this.dm();
|
|
339
345
|
}
|
|
340
|
-
this.
|
|
346
|
+
this.dn(null, null);
|
|
341
347
|
}
|
|
342
|
-
|
|
348
|
+
dx() {
|
|
343
349
|
if (this.cy != null) {
|
|
344
350
|
if (this.cr != null) {
|
|
345
351
|
this.cr.setFont(this.cy);
|
|
346
352
|
}
|
|
347
353
|
}
|
|
348
354
|
}
|
|
349
|
-
|
|
355
|
+
dz(a, b) {
|
|
350
356
|
this.cm = this.cn();
|
|
351
357
|
switch (b.newValue) {
|
|
352
358
|
case 40:
|
|
@@ -386,30 +392,30 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
386
392
|
}
|
|
387
393
|
if (b.newValue == 44) {
|
|
388
394
|
if (this.cq != null && this.cq.count > 0) {
|
|
389
|
-
let c = this.cq._inner[this.ck.
|
|
395
|
+
let c = this.cq._inner[this.ck.x];
|
|
390
396
|
this.c1 = c.d;
|
|
391
397
|
}
|
|
392
398
|
}
|
|
393
399
|
if (!this.c1) {
|
|
394
|
-
this.
|
|
395
|
-
this.
|
|
400
|
+
this.di(null);
|
|
401
|
+
this.d4(true);
|
|
396
402
|
}
|
|
397
403
|
else if (this.c8 != null && !Base.equalsStatic(this.c8, "")) {
|
|
398
|
-
this.
|
|
404
|
+
this.di(this.c8);
|
|
399
405
|
}
|
|
400
406
|
else {
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
407
|
+
this.dj();
|
|
408
|
+
this.d4(false);
|
|
403
409
|
}
|
|
404
410
|
if (this.d != null) {
|
|
405
411
|
this.d.update("OperatorType", enumGetBox(ColumnComparisonConditionOperatorType_$type, this.ck.b));
|
|
406
412
|
}
|
|
407
413
|
}
|
|
408
|
-
|
|
414
|
+
dn(a, b) {
|
|
409
415
|
if (b != null) {
|
|
410
416
|
if (!this.c1) {
|
|
411
417
|
this.ck.b = 0;
|
|
412
|
-
this.
|
|
418
|
+
this.dj();
|
|
413
419
|
}
|
|
414
420
|
}
|
|
415
421
|
this.c8 = null;
|
|
@@ -418,7 +424,7 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
418
424
|
this.cr.value = null;
|
|
419
425
|
}
|
|
420
426
|
}
|
|
421
|
-
|
|
427
|
+
d3(a, b, c) {
|
|
422
428
|
if (this.cm == 2) {
|
|
423
429
|
if (typeof b === 'string') {
|
|
424
430
|
let d;
|
|
@@ -429,8 +435,8 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
429
435
|
}
|
|
430
436
|
this.c8 = b;
|
|
431
437
|
}
|
|
432
|
-
|
|
433
|
-
this.
|
|
438
|
+
d5(a, b, c, d) {
|
|
439
|
+
this.d2(a, b, c, d);
|
|
434
440
|
}
|
|
435
441
|
co(a, b) {
|
|
436
442
|
if (a != null) {
|
|
@@ -445,11 +451,11 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
445
451
|
}
|
|
446
452
|
return null;
|
|
447
453
|
}
|
|
448
|
-
|
|
449
|
-
this.
|
|
454
|
+
dl() {
|
|
455
|
+
this.du();
|
|
450
456
|
}
|
|
451
|
-
|
|
452
|
-
this.
|
|
457
|
+
dk() {
|
|
458
|
+
this.ds();
|
|
453
459
|
}
|
|
454
460
|
get cj() {
|
|
455
461
|
return this.ck.d;
|
|
@@ -521,6 +527,16 @@ export let FilterCell = /*@__PURE__*/ (() => {
|
|
|
521
527
|
this.bp("Filter", b, this.ch);
|
|
522
528
|
}
|
|
523
529
|
}
|
|
530
|
+
get d7() {
|
|
531
|
+
return this.d6;
|
|
532
|
+
}
|
|
533
|
+
set d7(a) {
|
|
534
|
+
let b = this.d6;
|
|
535
|
+
this.d6 = a;
|
|
536
|
+
if (b != this.d6) {
|
|
537
|
+
this.bp("TextColor", b, this.d6);
|
|
538
|
+
}
|
|
539
|
+
}
|
|
524
540
|
}
|
|
525
541
|
FilterCell.$t = /*@__PURE__*/ markType(FilterCell, 'FilterCell', GridCellBase.$);
|
|
526
542
|
FilterCell.c9 = "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";
|