igniteui-webcomponents-grids 4.0.4 → 4.2.3-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.
Files changed (129) hide show
  1. package/bundles/igniteui-webcomponents-grids.umd.js +2059 -1378
  2. package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
  3. package/esm2015/lib/BaseEditorView.js +30 -14
  4. package/esm2015/lib/CanvasGridCellBase.js +26 -26
  5. package/esm2015/lib/CanvasSummaryCell.js +2 -2
  6. package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
  7. package/esm2015/lib/CheckboxListView_combined.js +553 -389
  8. package/esm2015/lib/ColumnChooserView_combined.js +9 -9
  9. package/esm2015/lib/ColumnFilterCondition_combined.js +32 -0
  10. package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
  11. package/esm2015/lib/ColumnPinningView_combined.js +7 -7
  12. package/esm2015/lib/ComboEditorView.js +111 -105
  13. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +401 -344
  14. package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
  15. package/esm2015/lib/DateEditorView.js +94 -87
  16. package/esm2015/lib/EditorCell.js +11 -11
  17. package/esm2015/lib/FilterCell.js +77 -61
  18. package/esm2015/lib/FilterCellPresenter.js +6 -3
  19. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
  20. package/esm2015/lib/GridColumnOptionsView_combined.js +47 -22
  21. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +51 -25
  22. package/esm2015/lib/GridExpansionIndicatorView_combined.js +8 -8
  23. package/esm2015/lib/GridFilterDialogView_combined.js +5 -5
  24. package/esm2015/lib/GridSortIndicatorView_combined.js +9 -9
  25. package/esm2015/lib/ISummaryChooserView_combined.js +12 -11
  26. package/esm2015/lib/MultiColumnComboBoxView_combined.js +19 -19
  27. package/esm2015/lib/NumericEditorView.js +3 -3
  28. package/esm2015/lib/PropertyEditorView_combined.js +40 -40
  29. package/esm2015/lib/TextEditorView.js +82 -75
  30. package/esm2015/lib/igc-checkbox-list-component.js +155 -50
  31. package/esm2015/lib/igc-data-grid-comparison-operator-selector-component.js +104 -59
  32. package/esm2015/lib/igc-grid-column-options-component.js +21 -1
  33. package/esm2015/lib/igc-grid-column-summary-options-component.js +16 -2
  34. package/esm5/lib/BaseEditorView.js +34 -14
  35. package/esm5/lib/CanvasGridCellBase.js +26 -26
  36. package/esm5/lib/CanvasSummaryCell.js +2 -2
  37. package/esm5/lib/CanvasTextHeaderCell.js +1 -1
  38. package/esm5/lib/CheckboxListView_combined.js +579 -375
  39. package/esm5/lib/ColumnChooserView_combined.js +9 -9
  40. package/esm5/lib/ColumnFilterCondition_combined.js +32 -0
  41. package/esm5/lib/ColumnGroupingView_combined.js +1 -1
  42. package/esm5/lib/ColumnPinningView_combined.js +7 -7
  43. package/esm5/lib/ComboEditorView.js +108 -102
  44. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +408 -343
  45. package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
  46. package/esm5/lib/DateEditorView.js +93 -86
  47. package/esm5/lib/EditorCell.js +11 -11
  48. package/esm5/lib/FilterCell.js +81 -61
  49. package/esm5/lib/FilterCellPresenter.js +6 -3
  50. package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
  51. package/esm5/lib/GridColumnOptionsView_combined.js +55 -22
  52. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +59 -25
  53. package/esm5/lib/GridExpansionIndicatorView_combined.js +8 -8
  54. package/esm5/lib/GridFilterDialogView_combined.js +5 -5
  55. package/esm5/lib/GridSortIndicatorView_combined.js +9 -9
  56. package/esm5/lib/ISummaryChooserView_combined.js +12 -11
  57. package/esm5/lib/MultiColumnComboBoxView_combined.js +19 -19
  58. package/esm5/lib/NumericEditorView.js +3 -3
  59. package/esm5/lib/PropertyEditorView_combined.js +40 -40
  60. package/esm5/lib/TextEditorView.js +82 -75
  61. package/esm5/lib/igc-checkbox-list-component.js +195 -50
  62. package/esm5/lib/igc-data-grid-comparison-operator-selector-component.js +117 -59
  63. package/esm5/lib/igc-grid-column-options-component.js +29 -1
  64. package/esm5/lib/igc-grid-column-summary-options-component.js +24 -2
  65. package/fesm2015/igniteui-webcomponents-grids.js +1935 -1395
  66. package/fesm5/igniteui-webcomponents-grids.js +2057 -1376
  67. package/grids/3rdpartylicenses.txt +445 -0
  68. package/grids/combined.js +44 -90
  69. package/grids/index.d.ts +15 -0
  70. package/grids/lib/common.d.ts +0 -4
  71. package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
  72. package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
  73. package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
  74. package/grids/lib/igc-boolean-filtering-operand.d.ts +20 -0
  75. package/grids/lib/igc-cell-template-context.d.ts +2 -1
  76. package/grids/lib/igc-column-component.d.ts +3 -2
  77. package/grids/lib/igc-columns-auto-generated-event-args.d.ts +21 -0
  78. package/grids/lib/igc-date-filtering-operand.d.ts +20 -0
  79. package/grids/lib/igc-date-summary-operand.d.ts +75 -0
  80. package/grids/lib/igc-date-time-filtering-operand.d.ts +15 -0
  81. package/grids/lib/igc-display-density-base.d.ts +1 -1
  82. package/grids/lib/igc-exporter-options-base.d.ts +2 -0
  83. package/grids/lib/igc-filtering-expression.d.ts +33 -0
  84. package/grids/lib/igc-filtering-expressions-tree.d.ts +6 -4
  85. package/grids/lib/igc-filtering-operand.d.ts +4 -2
  86. package/grids/lib/igc-filtering-operation.d.ts +4 -0
  87. package/grids/lib/igc-grid-base-directive.d.ts +23 -2
  88. package/grids/lib/igc-grid-component.d.ts +4 -4
  89. package/grids/lib/igc-grid-edit-done-event-args.d.ts +5 -1
  90. package/grids/lib/igc-grid-selection-range.d.ts +1 -0
  91. package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +2 -1
  92. package/grids/lib/igc-grouped-records.d.ts +1 -1
  93. package/grids/lib/igc-number-filtering-operand.d.ts +20 -0
  94. package/grids/lib/igc-number-summary-operand.d.ts +104 -0
  95. package/grids/lib/igc-pivot-date-dimension.d.ts +1 -20
  96. package/grids/lib/igc-pivot-grid-component.d.ts +12 -0
  97. package/grids/lib/igc-row-data-event-args.d.ts +4 -0
  98. package/grids/lib/igc-sorting-options.d.ts +3 -2
  99. package/grids/lib/igc-string-filtering-operand.d.ts +29 -0
  100. package/grids/lib/igc-summary-operand.d.ts +61 -0
  101. package/grids/lib/igc-time-filtering-operand.d.ts +15 -0
  102. package/grids/lib/igc-time-summary-operand.d.ts +49 -0
  103. package/grids/lib/sorting-options-mode.d.ts +3 -0
  104. package/grids/styles.css +1 -1
  105. package/grids/themes/dark/bootstrap.css +1 -1
  106. package/grids/themes/dark/fluent.css +1 -1
  107. package/grids/themes/dark/indigo.css +1 -1
  108. package/grids/themes/dark/material.css +1 -1
  109. package/grids/themes/light/bootstrap.css +1 -1
  110. package/grids/themes/light/fluent.css +1 -1
  111. package/grids/themes/light/indigo.css +1 -1
  112. package/grids/themes/light/material.css +1 -1
  113. package/lib/BaseEditorView.d.ts +12 -8
  114. package/lib/CheckboxListView_combined.d.ts +120 -96
  115. package/lib/ColumnFilterCondition_combined.d.ts +2 -0
  116. package/lib/ComboEditorView.d.ts +15 -14
  117. package/lib/ComboEditorView_ComboExternal.d.ts +1 -0
  118. package/lib/ComparisonOperatorSelectorView_combined.d.ts +105 -96
  119. package/lib/DateEditorView.d.ts +13 -12
  120. package/lib/FilterCell.d.ts +23 -20
  121. package/lib/GridColumnOptionsView_combined.d.ts +10 -5
  122. package/lib/GridColumnSummaryOptionsView_combined.d.ts +14 -9
  123. package/lib/IEditorView.d.ts +2 -0
  124. package/lib/TextEditorView.d.ts +10 -9
  125. package/lib/igc-checkbox-list-component.d.ts +40 -0
  126. package/lib/igc-data-grid-comparison-operator-selector-component.d.ts +11 -0
  127. package/lib/igc-grid-column-options-component.d.ts +8 -0
  128. package/lib/igc-grid-column-summary-options-component.d.ts +2 -0
  129. package/package.json +4 -4
@@ -260,7 +260,7 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
260
260
  break;
261
261
  case "FilterPlaceholderText":
262
262
  if (this.d != null) {
263
- this.d.a8 = this.s;
263
+ this.d.bg = this.s;
264
264
  }
265
265
  break;
266
266
  case "BaseTheme":
@@ -271,7 +271,7 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
271
271
  break;
272
272
  case "BackgroundColor":
273
273
  if (this.d != null) {
274
- this.d.cw = this.aq;
274
+ this.d.di = this.aq;
275
275
  }
276
276
  this.c.i();
277
277
  break;
@@ -300,7 +300,7 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
300
300
  if (this.a != null && this.d != null) {
301
301
  this.d.y = this.f;
302
302
  this.d.aa = this.h;
303
- this.d.cw = this.aq;
303
+ this.d.di = this.aq;
304
304
  let a;
305
305
  let b = new ObservableCollection$1(ColumnChooserInfo.$, 0);
306
306
  for (let c of fromEnum(this.a.actualColumns)) {
@@ -314,16 +314,16 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
314
314
  b.add(a);
315
315
  }
316
316
  if (this.s != null) {
317
- this.d.a8 = this.s;
317
+ this.d.bg = this.s;
318
318
  }
319
319
  this.d.itemsSource = b;
320
320
  let e = "";
321
321
  let f = "";
322
322
  e = "columnName";
323
323
  f = "isNotHidden";
324
- this.d.bn = f;
325
- this.d.a4 = e;
326
- this.d.aq = true;
324
+ this.d.b0 = f;
325
+ this.d.bc = e;
326
+ this.d.as = true;
327
327
  }
328
328
  }
329
329
  an(a) {
@@ -332,7 +332,7 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
332
332
  }
333
333
  }
334
334
  al() {
335
- this.d.cl();
335
+ this.d.cy();
336
336
  if (this.a != null) {
337
337
  for (let a of fromEnum(this.a.actualColumns)) {
338
338
  this.m = true;
@@ -341,7 +341,7 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
341
341
  }
342
342
  }
343
343
  ae() {
344
- this.d.bw();
344
+ this.d.b9();
345
345
  if (this.a != null) {
346
346
  for (let a of fromEnum(this.a.actualColumns)) {
347
347
  this.m = true;
@@ -6038,6 +6038,7 @@ export let Grid = /*@__PURE__*/ (() => {
6038
6038
  this.cv = new EditorDefinition();
6039
6039
  this.cw = new EditRowDefinition();
6040
6040
  this.c5 = new FilterRowDefinition();
6041
+ this.c5.grid = this;
6041
6042
  this.aav = this.aaw;
6042
6043
  this.yn = this.yo;
6043
6044
  this.yt = GridStyleRepository.ax;
@@ -21480,6 +21481,12 @@ export let FilterRowDefinition = /*@__PURE__*/ (() => {
21480
21481
  }
21481
21482
  c2(a, b) {
21482
21483
  switch (b.propertyName) {
21484
+ case "CellTextColor":
21485
+ this.dg();
21486
+ break;
21487
+ case "CellBackground":
21488
+ this.c9();
21489
+ break;
21483
21490
  }
21484
21491
  }
21485
21492
  cx(a, b, c, d) {
@@ -21502,6 +21509,31 @@ export let FilterRowDefinition = /*@__PURE__*/ (() => {
21502
21509
  e.lm = f.ep;
21503
21510
  }
21504
21511
  }
21512
+ dg() {
21513
+ if (this.el == null) {
21514
+ if (this.grid != null && this.grid.zv != null) {
21515
+ this.d7 = this.grid.zv;
21516
+ return;
21517
+ }
21518
+ this.d7 = this.eh();
21519
+ }
21520
+ else {
21521
+ this.d7 = this.el;
21522
+ }
21523
+ }
21524
+ c9() {
21525
+ if (this.d8 == null) {
21526
+ if (this.grid != null && this.grid.zt != null) {
21527
+ this.d1 = this.grid.zt;
21528
+ }
21529
+ else {
21530
+ this.d1 = this.ec();
21531
+ }
21532
+ }
21533
+ else {
21534
+ this.d1 = this.d8;
21535
+ }
21536
+ }
21505
21537
  }
21506
21538
  FilterRowDefinition.$t = /*@__PURE__*/ markType(FilterRowDefinition, 'FilterRowDefinition', DefinitionBase.$);
21507
21539
  return FilterRowDefinition;
@@ -937,7 +937,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
937
937
  }
938
938
  let j = this.d.j;
939
939
  for (let k = 0; k < j.count; k++) {
940
- let l = this.q._inner[k].ac();
940
+ let l = this.q._inner[k].ae();
941
941
  let m = this.d.b(j._inner[k]);
942
942
  l.h = m[0] - d;
943
943
  l.f = m[1] - e;
@@ -259,7 +259,7 @@ export let ColumnPinning = /*@__PURE__*/ (() => {
259
259
  break;
260
260
  case "FilterPlaceholderText":
261
261
  if (this.d != null) {
262
- this.d.a8 = this.s;
262
+ this.d.bg = this.s;
263
263
  }
264
264
  break;
265
265
  case "BaseTheme":
@@ -270,7 +270,7 @@ export let ColumnPinning = /*@__PURE__*/ (() => {
270
270
  break;
271
271
  case "BackgroundColor":
272
272
  if (this.d != null) {
273
- this.d.cw = this.an;
273
+ this.d.di = this.an;
274
274
  }
275
275
  this.c.g();
276
276
  break;
@@ -299,7 +299,7 @@ export let ColumnPinning = /*@__PURE__*/ (() => {
299
299
  if (this.a != null && this.d != null) {
300
300
  this.d.y = this.f;
301
301
  this.d.aa = this.h;
302
- this.d.cw = this.an;
302
+ this.d.di = this.an;
303
303
  let a;
304
304
  let b = new ObservableCollection$1(ColumnPinningInfo.$, 0);
305
305
  for (let c of fromEnum(this.a.actualColumns)) {
@@ -317,17 +317,17 @@ export let ColumnPinning = /*@__PURE__*/ (() => {
317
317
  }
318
318
  b.add(a);
319
319
  }
320
- this.d.aq = false;
320
+ this.d.as = false;
321
321
  if (this.s != null) {
322
- this.d.a8 = this.s;
322
+ this.d.bg = this.s;
323
323
  }
324
324
  this.d.itemsSource = b;
325
325
  let e = "";
326
326
  let f = "";
327
327
  e = "columnName";
328
328
  f = "isPinned";
329
- this.d.bn = f;
330
- this.d.a4 = e;
329
+ this.d.b0 = f;
330
+ this.d.bc = e;
331
331
  }
332
332
  }
333
333
  ae(a, b) {
@@ -15,117 +15,117 @@ export let ComboEditorView = /*@__PURE__*/ (() => {
15
15
  class ComboEditorView extends BaseEditorView {
16
16
  constructor(a, b, c) {
17
17
  super(a, c);
18
- this.y = null;
19
- this.x = null;
20
- this.aa = null;
21
18
  this.ab = null;
19
+ this.aa = null;
22
20
  this.ad = null;
23
- this.v = null;
24
- this.z = false;
21
+ this.ae = null;
22
+ this.ag = null;
23
+ this.y = null;
24
+ this.ac = false;
25
25
  let d = a.createElement("div");
26
26
  d.setRawStyleProperty("margin-top", "-10px");
27
27
  d.setRawStyleProperty("height", "38px");
28
28
  d.setRawStyleProperty("width", "100%");
29
29
  this.container = d;
30
30
  a.getPortal(d, "MultiColumnComboBox", (e) => {
31
- this.x = e.componentRef;
32
- this.aa = this.x.i;
33
- this.x.height = "100%";
34
- this.x.density = 3;
35
- this.x.baseTheme = b;
36
- this.x.labelVisible = false;
37
- this.x.columnHeadersVisible = false;
38
- this.x.rowSeparatorsVisible = false;
39
- this.al();
40
- this.u();
41
- if (this.y != null) {
42
- this.x.textStyle = this.y.fontString;
31
+ this.aa = e.componentRef;
32
+ this.ad = this.aa.i;
33
+ this.aa.height = "100%";
34
+ this.aa.density = 3;
35
+ this.aa.baseTheme = b;
36
+ this.aa.labelVisible = false;
37
+ this.aa.columnHeadersVisible = false;
38
+ this.aa.rowSeparatorsVisible = false;
39
+ this.ao();
40
+ this.w();
41
+ if (this.ab != null) {
42
+ this.aa.textStyle = this.ab.fontString;
43
43
  }
44
44
  this.attachEvents();
45
45
  }, false);
46
46
  }
47
- get ac() {
48
- return this.ab;
47
+ get af() {
48
+ return this.ae;
49
49
  }
50
- set ac(a) {
51
- let b = this.ab;
52
- this.ab = a;
53
- if (b != this.ab) {
54
- this.t("DataSource", b, this.ab);
50
+ set af(a) {
51
+ let b = this.ae;
52
+ this.ae = a;
53
+ if (b != this.ae) {
54
+ this.u("DataSource", b, this.ae);
55
55
  }
56
56
  }
57
- get af() {
58
- return this.ad;
57
+ get ai() {
58
+ return this.ag;
59
59
  }
60
- set af(a) {
61
- let b = this.ad;
62
- this.ad = a;
63
- if (b != this.ad) {
64
- this.t("TextField", b, this.ad);
60
+ set ai(a) {
61
+ let b = this.ag;
62
+ this.ag = a;
63
+ if (b != this.ag) {
64
+ this.u("TextField", b, this.ag);
65
65
  }
66
66
  }
67
- get w() {
68
- return this.v;
67
+ get z() {
68
+ return this.y;
69
69
  }
70
- set w(a) {
71
- let b = this.v;
72
- this.v = a;
73
- if (b != this.v) {
74
- this.t("ValueField", b, this.v);
70
+ set z(a) {
71
+ let b = this.y;
72
+ this.y = a;
73
+ if (b != this.y) {
74
+ this.u("ValueField", b, this.y);
75
75
  }
76
76
  }
77
77
  setFont(a) {
78
- this.y = a;
79
- if (this.x != null && this.y != null) {
80
- this.x.textStyle = this.y.fontString;
78
+ this.ab = a;
79
+ if (this.aa != null && this.ab != null) {
80
+ this.aa.textStyle = this.ab.fontString;
81
81
  }
82
82
  }
83
83
  attachEvents() {
84
- if (this.x != null) {
85
- let a = this.x;
84
+ if (this.aa != null) {
85
+ let a = this.aa;
86
86
  a.selectedValueChanged = delegateCombine(a.selectedValueChanged, runOn(this, this.onComboValueChanged));
87
- let b = this.x;
87
+ let b = this.aa;
88
88
  b.textValueChanged = delegateCombine(b.textValueChanged, runOn(this, this.onComboTextChanged));
89
- let c = this.x;
89
+ let c = this.aa;
90
90
  c.gotFocus = delegateCombine(c.gotFocus, runOn(this, this.onComboGotFocus));
91
- let d = this.x;
91
+ let d = this.aa;
92
92
  d.lostFocus = delegateCombine(d.lostFocus, runOn(this, this.onComboLostFocus));
93
- let e = this.x;
93
+ let e = this.aa;
94
94
  e.keyDown = delegateCombine(e.keyDown, runOn(this, this.onInputKeyDown));
95
- let f = this.x;
95
+ let f = this.aa;
96
96
  f.changing = delegateCombine(f.changing, runOn(this, this.onInputChanging));
97
97
  }
98
98
  }
99
99
  detachEvents() {
100
- if (this.x != null) {
101
- let a = this.x;
100
+ if (this.aa != null) {
101
+ let a = this.aa;
102
102
  a.selectedValueChanged = delegateRemove(a.selectedValueChanged, runOn(this, this.onComboValueChanged));
103
- let b = this.x;
103
+ let b = this.aa;
104
104
  b.textValueChanged = delegateRemove(b.textValueChanged, runOn(this, this.onComboTextChanged));
105
- let c = this.x;
105
+ let c = this.aa;
106
106
  c.gotFocus = delegateRemove(c.gotFocus, runOn(this, this.onComboGotFocus));
107
- let d = this.x;
107
+ let d = this.aa;
108
108
  d.lostFocus = delegateRemove(d.lostFocus, runOn(this, this.onComboLostFocus));
109
- let e = this.x;
109
+ let e = this.aa;
110
110
  e.keyDown = delegateRemove(e.keyDown, runOn(this, this.onInputKeyDown));
111
- let f = this.x;
111
+ let f = this.aa;
112
112
  f.changing = delegateRemove(f.changing, runOn(this, this.onInputChanging));
113
113
  }
114
114
  }
115
115
  onTargetChanged() {
116
- if (this.x != null) {
117
- this.z = true;
118
- if (this.x.value == null && this.x.text != "") {
119
- this.x.text = "";
116
+ if (this.aa != null) {
117
+ this.ac = true;
118
+ if (this.aa.value == null && this.aa.text != "") {
119
+ this.aa.text = "";
120
120
  }
121
121
  this.focus();
122
- this.z = false;
122
+ this.ac = false;
123
123
  }
124
124
  }
125
125
  onEditStarted() {
126
126
  super.onEditStarted();
127
127
  let a = this.container.getNativeElement();
128
- this.x.defaultColumnWidth = (a.clientWidth - 2).toString();
128
+ this.aa.defaultColumnWidth = (a.clientWidth - 2).toString();
129
129
  if (!this.a.isEditRefocusDesired) {
130
130
  this.focus();
131
131
  }
@@ -139,63 +139,63 @@ export let ComboEditorView = /*@__PURE__*/ (() => {
139
139
  }
140
140
  }
141
141
  }
142
- r() {
143
- if (this.x != null) {
144
- this.aa.focus(true);
145
- this.x.select();
142
+ s() {
143
+ if (this.aa != null) {
144
+ this.ad.focus(true);
145
+ this.aa.select();
146
146
  }
147
147
  }
148
- ai() {
149
- if (this.x != null) {
150
- this.x.closeUp();
148
+ al() {
149
+ if (this.aa != null) {
150
+ this.aa.closeUp();
151
151
  }
152
152
  }
153
- t(a, b, c) {
154
- super.t(a, b, c);
153
+ u(a, b, c) {
154
+ super.u(a, b, c);
155
155
  switch (a) {
156
156
  case "DataSource":
157
157
  case "TextField":
158
158
  case "ValueField":
159
- this.al();
159
+ this.ao();
160
160
  break;
161
161
  }
162
162
  }
163
- u() {
164
- this.z = true;
165
- if (this.x != null) {
163
+ w() {
164
+ this.ac = true;
165
+ if (this.aa != null) {
166
166
  if (this.value == null) {
167
- this.x.text = " ";
167
+ this.aa.text = " ";
168
168
  }
169
- this.x.value = this.value;
170
- this.r();
169
+ this.aa.value = this.value;
170
+ this.s();
171
171
  }
172
- this.z = false;
172
+ this.ac = false;
173
173
  }
174
- al() {
175
- if (this.x != null) {
174
+ ao() {
175
+ if (this.aa != null) {
176
176
  this.detachEvents();
177
- this.x.dataSource = this.ac;
178
- this.x.textField = this.af;
179
- this.x.valueField = this.w;
180
- if (this.af != null) {
181
- this.x.fields = [this.af];
177
+ this.aa.dataSource = this.af;
178
+ this.aa.textField = this.ai;
179
+ this.aa.valueField = this.z;
180
+ if (this.ai != null) {
181
+ this.aa.fields = [this.ai];
182
182
  }
183
- else if (this.w != null && this.w.length > 0) {
184
- this.x.fields = [this.w[0]];
183
+ else if (this.z != null && this.z.length > 0) {
184
+ this.aa.fields = [this.z[0]];
185
185
  }
186
186
  else {
187
- let a = typeCast(IDataSource_$type, this.ac);
187
+ let a = typeCast(IDataSource_$type, this.af);
188
188
  if (a != null && a.actualSchema != null) {
189
- this.x.fields = [a.actualSchema.propertyNames[0]];
189
+ this.aa.fields = [a.actualSchema.propertyNames[0]];
190
190
  }
191
191
  else {
192
- let b = (Array.isArray(this.ac));
192
+ let b = (Array.isArray(this.af));
193
193
  if (b) {
194
- let c = (this.ac.length);
194
+ let c = (this.af.length);
195
195
  if (c > 0) {
196
- let d = (Object.keys(this.ac[0]));
196
+ let d = (Object.keys(this.af[0]));
197
197
  if (d.length > 0) {
198
- this.x.fields = [d[0]];
198
+ this.aa.fields = [d[0]];
199
199
  }
200
200
  }
201
201
  }
@@ -204,34 +204,40 @@ export let ComboEditorView = /*@__PURE__*/ (() => {
204
204
  this.attachEvents();
205
205
  }
206
206
  }
207
+ v() {
208
+ super.v();
209
+ if (this.aa != null) {
210
+ this.aa.textColor = this.textColor._fill;
211
+ }
212
+ }
207
213
  onComboValueChanged(a, b) {
208
- this.ap();
214
+ this.as();
209
215
  }
210
216
  onComboTextChanged(a, b) {
211
- this.ap();
217
+ this.as();
212
218
  }
213
- ap() {
214
- if (this.z) {
219
+ as() {
220
+ if (this.ac) {
215
221
  return;
216
222
  }
217
- if (this.x.value != null) {
218
- this.p(this.x.value, false);
223
+ if (this.aa.value != null) {
224
+ this.q(this.aa.value, false);
219
225
  }
220
- else if (this.x.value == null && stringIsNullOrWhiteSpace(this.x.text)) {
221
- this.p(null, false);
226
+ else if (this.aa.value == null && stringIsNullOrWhiteSpace(this.aa.text)) {
227
+ this.q(null, false);
222
228
  }
223
229
  else {
224
- this.p(this.value, false);
230
+ this.q(this.value, false);
225
231
  }
226
232
  }
227
233
  onInputChanging(a, b) {
228
- this.o();
234
+ this.p();
229
235
  }
230
236
  onComboLostFocus(a) {
231
- this.n();
237
+ this.o();
232
238
  }
233
239
  onComboGotFocus(a) {
234
- this.m();
240
+ this.n();
235
241
  }
236
242
  }
237
243
  ComboEditorView.$t = /*@__PURE__*/ markType(ComboEditorView, 'ComboEditorView', BaseEditorView.$);