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
@@ -299,7 +299,7 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
299
299
  break;
300
300
  case "FilterPlaceholderText":
301
301
  if (this.d != null) {
302
- this.d.a8 = this.s;
302
+ this.d.bg = this.s;
303
303
  }
304
304
  break;
305
305
  case "BaseTheme":
@@ -310,7 +310,7 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
310
310
  break;
311
311
  case "BackgroundColor":
312
312
  if (this.d != null) {
313
- this.d.cw = this.aq;
313
+ this.d.di = this.aq;
314
314
  }
315
315
  this.c.i();
316
316
  break;
@@ -340,7 +340,7 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
340
340
  if (this.a != null && this.d != null) {
341
341
  this.d.y = this.f;
342
342
  this.d.aa = this.h;
343
- this.d.cw = this.aq;
343
+ this.d.di = this.aq;
344
344
  var a = void 0;
345
345
  var b = new ObservableCollection$1(ColumnChooserInfo.$, 0);
346
346
  try {
@@ -370,16 +370,16 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
370
370
  }
371
371
  }
372
372
  if (this.s != null) {
373
- this.d.a8 = this.s;
373
+ this.d.bg = this.s;
374
374
  }
375
375
  this.d.itemsSource = b;
376
376
  var e = "";
377
377
  var f = "";
378
378
  e = "columnName";
379
379
  f = "isNotHidden";
380
- this.d.bn = f;
381
- this.d.a4 = e;
382
- this.d.aq = true;
380
+ this.d.b0 = f;
381
+ this.d.bc = e;
382
+ this.d.as = true;
383
383
  }
384
384
  };
385
385
  ColumnChooser.prototype.an = function (a) {
@@ -389,7 +389,7 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
389
389
  };
390
390
  ColumnChooser.prototype.al = function () {
391
391
  var e_2, _a;
392
- this.d.cl();
392
+ this.d.cy();
393
393
  if (this.a != null) {
394
394
  try {
395
395
  for (var _b = tslib_1.__values(fromEnum(this.a.actualColumns)), _c = _b.next(); !_c.done; _c = _b.next()) {
@@ -415,7 +415,7 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
415
415
  };
416
416
  ColumnChooser.prototype.ae = function () {
417
417
  var e_3, _a;
418
- this.d.bw();
418
+ this.d.b9();
419
419
  if (this.a != null) {
420
420
  try {
421
421
  for (var _b = tslib_1.__values(fromEnum(this.a.actualColumns)), _c = _b.next(); !_c.done; _c = _b.next()) {
@@ -6851,6 +6851,7 @@ var Grid = /** @class */ /*@__PURE__*/ (function (_super) {
6851
6851
  _this.cv = new EditorDefinition();
6852
6852
  _this.cw = new EditRowDefinition();
6853
6853
  _this.c5 = new FilterRowDefinition();
6854
+ _this.c5.grid = _this;
6854
6855
  _this.aav = _this.aaw;
6855
6856
  _this.yn = _this.yo;
6856
6857
  _this.yt = GridStyleRepository.ax;
@@ -24293,6 +24294,12 @@ var FilterRowDefinition = /** @class */ /*@__PURE__*/ (function (_super) {
24293
24294
  };
24294
24295
  FilterRowDefinition.prototype.c2 = function (a, b) {
24295
24296
  switch (b.propertyName) {
24297
+ case "CellTextColor":
24298
+ this.dg();
24299
+ break;
24300
+ case "CellBackground":
24301
+ this.c9();
24302
+ break;
24296
24303
  }
24297
24304
  };
24298
24305
  FilterRowDefinition.prototype.cx = function (a, b, c, d) {
@@ -24315,6 +24322,31 @@ var FilterRowDefinition = /** @class */ /*@__PURE__*/ (function (_super) {
24315
24322
  e.lm = f.ep;
24316
24323
  }
24317
24324
  };
24325
+ FilterRowDefinition.prototype.dg = function () {
24326
+ if (this.el == null) {
24327
+ if (this.grid != null && this.grid.zv != null) {
24328
+ this.d7 = this.grid.zv;
24329
+ return;
24330
+ }
24331
+ this.d7 = this.eh();
24332
+ }
24333
+ else {
24334
+ this.d7 = this.el;
24335
+ }
24336
+ };
24337
+ FilterRowDefinition.prototype.c9 = function () {
24338
+ if (this.d8 == null) {
24339
+ if (this.grid != null && this.grid.zt != null) {
24340
+ this.d1 = this.grid.zt;
24341
+ }
24342
+ else {
24343
+ this.d1 = this.ec();
24344
+ }
24345
+ }
24346
+ else {
24347
+ this.d1 = this.d8;
24348
+ }
24349
+ };
24318
24350
  FilterRowDefinition.$t = markType(FilterRowDefinition, 'FilterRowDefinition', DefinitionBase.$);
24319
24351
  return FilterRowDefinition;
24320
24352
  }(DefinitionBase));
@@ -1019,7 +1019,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
1019
1019
  }
1020
1020
  var j = this.d.j;
1021
1021
  for (var k = 0; k < j.count; k++) {
1022
- var l = this.q._inner[k].ac();
1022
+ var l = this.q._inner[k].ae();
1023
1023
  var m = this.d.b(j._inner[k]);
1024
1024
  l.h = m[0] - d;
1025
1025
  l.f = m[1] - e;
@@ -298,7 +298,7 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
298
298
  break;
299
299
  case "FilterPlaceholderText":
300
300
  if (this.d != null) {
301
- this.d.a8 = this.s;
301
+ this.d.bg = this.s;
302
302
  }
303
303
  break;
304
304
  case "BaseTheme":
@@ -309,7 +309,7 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
309
309
  break;
310
310
  case "BackgroundColor":
311
311
  if (this.d != null) {
312
- this.d.cw = this.an;
312
+ this.d.di = this.an;
313
313
  }
314
314
  this.c.g();
315
315
  break;
@@ -339,7 +339,7 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
339
339
  if (this.a != null && this.d != null) {
340
340
  this.d.y = this.f;
341
341
  this.d.aa = this.h;
342
- this.d.cw = this.an;
342
+ this.d.di = this.an;
343
343
  var a = void 0;
344
344
  var b = new ObservableCollection$1(ColumnPinningInfo.$, 0);
345
345
  try {
@@ -373,17 +373,17 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
373
373
  throw e_1.error;
374
374
  }
375
375
  }
376
- this.d.aq = false;
376
+ this.d.as = false;
377
377
  if (this.s != null) {
378
- this.d.a8 = this.s;
378
+ this.d.bg = this.s;
379
379
  }
380
380
  this.d.itemsSource = b;
381
381
  var e = "";
382
382
  var f = "";
383
383
  e = "columnName";
384
384
  f = "isPinned";
385
- this.d.bn = f;
386
- this.d.a4 = e;
385
+ this.d.b0 = f;
386
+ this.d.bc = e;
387
387
  }
388
388
  };
389
389
  ColumnPinning.prototype.ae = function (a, b) {
@@ -16,130 +16,130 @@ var ComboEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
16
16
  tslib_1.__extends(ComboEditorView, _super);
17
17
  function ComboEditorView(a, b, c) {
18
18
  var _this = _super.call(this, a, c) || this;
19
- _this.y = null;
20
- _this.x = null;
21
- _this.aa = null;
22
19
  _this.ab = null;
20
+ _this.aa = null;
23
21
  _this.ad = null;
24
- _this.v = null;
25
- _this.z = false;
22
+ _this.ae = null;
23
+ _this.ag = null;
24
+ _this.y = null;
25
+ _this.ac = false;
26
26
  var d = a.createElement("div");
27
27
  d.setRawStyleProperty("margin-top", "-10px");
28
28
  d.setRawStyleProperty("height", "38px");
29
29
  d.setRawStyleProperty("width", "100%");
30
30
  _this.container = d;
31
31
  a.getPortal(d, "MultiColumnComboBox", function (e) {
32
- _this.x = e.componentRef;
33
- _this.aa = _this.x.i;
34
- _this.x.height = "100%";
35
- _this.x.density = 3;
36
- _this.x.baseTheme = b;
37
- _this.x.labelVisible = false;
38
- _this.x.columnHeadersVisible = false;
39
- _this.x.rowSeparatorsVisible = false;
40
- _this.al();
41
- _this.u();
42
- if (_this.y != null) {
43
- _this.x.textStyle = _this.y.fontString;
32
+ _this.aa = e.componentRef;
33
+ _this.ad = _this.aa.i;
34
+ _this.aa.height = "100%";
35
+ _this.aa.density = 3;
36
+ _this.aa.baseTheme = b;
37
+ _this.aa.labelVisible = false;
38
+ _this.aa.columnHeadersVisible = false;
39
+ _this.aa.rowSeparatorsVisible = false;
40
+ _this.ao();
41
+ _this.w();
42
+ if (_this.ab != null) {
43
+ _this.aa.textStyle = _this.ab.fontString;
44
44
  }
45
45
  _this.attachEvents();
46
46
  }, false);
47
47
  return _this;
48
48
  }
49
- Object.defineProperty(ComboEditorView.prototype, "ac", {
49
+ Object.defineProperty(ComboEditorView.prototype, "af", {
50
50
  get: function () {
51
- return this.ab;
51
+ return this.ae;
52
52
  },
53
53
  set: function (a) {
54
- var b = this.ab;
55
- this.ab = a;
56
- if (b != this.ab) {
57
- this.t("DataSource", b, this.ab);
54
+ var b = this.ae;
55
+ this.ae = a;
56
+ if (b != this.ae) {
57
+ this.u("DataSource", b, this.ae);
58
58
  }
59
59
  },
60
60
  enumerable: true,
61
61
  configurable: true
62
62
  });
63
- Object.defineProperty(ComboEditorView.prototype, "af", {
63
+ Object.defineProperty(ComboEditorView.prototype, "ai", {
64
64
  get: function () {
65
- return this.ad;
65
+ return this.ag;
66
66
  },
67
67
  set: function (a) {
68
- var b = this.ad;
69
- this.ad = a;
70
- if (b != this.ad) {
71
- this.t("TextField", b, this.ad);
68
+ var b = this.ag;
69
+ this.ag = a;
70
+ if (b != this.ag) {
71
+ this.u("TextField", b, this.ag);
72
72
  }
73
73
  },
74
74
  enumerable: true,
75
75
  configurable: true
76
76
  });
77
- Object.defineProperty(ComboEditorView.prototype, "w", {
77
+ Object.defineProperty(ComboEditorView.prototype, "z", {
78
78
  get: function () {
79
- return this.v;
79
+ return this.y;
80
80
  },
81
81
  set: function (a) {
82
- var b = this.v;
83
- this.v = a;
84
- if (b != this.v) {
85
- this.t("ValueField", b, this.v);
82
+ var b = this.y;
83
+ this.y = a;
84
+ if (b != this.y) {
85
+ this.u("ValueField", b, this.y);
86
86
  }
87
87
  },
88
88
  enumerable: true,
89
89
  configurable: true
90
90
  });
91
91
  ComboEditorView.prototype.setFont = function (a) {
92
- this.y = a;
93
- if (this.x != null && this.y != null) {
94
- this.x.textStyle = this.y.fontString;
92
+ this.ab = a;
93
+ if (this.aa != null && this.ab != null) {
94
+ this.aa.textStyle = this.ab.fontString;
95
95
  }
96
96
  };
97
97
  ComboEditorView.prototype.attachEvents = function () {
98
- if (this.x != null) {
99
- var a = this.x;
98
+ if (this.aa != null) {
99
+ var a = this.aa;
100
100
  a.selectedValueChanged = delegateCombine(a.selectedValueChanged, runOn(this, this.onComboValueChanged));
101
- var b = this.x;
101
+ var b = this.aa;
102
102
  b.textValueChanged = delegateCombine(b.textValueChanged, runOn(this, this.onComboTextChanged));
103
- var c = this.x;
103
+ var c = this.aa;
104
104
  c.gotFocus = delegateCombine(c.gotFocus, runOn(this, this.onComboGotFocus));
105
- var d = this.x;
105
+ var d = this.aa;
106
106
  d.lostFocus = delegateCombine(d.lostFocus, runOn(this, this.onComboLostFocus));
107
- var e = this.x;
107
+ var e = this.aa;
108
108
  e.keyDown = delegateCombine(e.keyDown, runOn(this, this.onInputKeyDown));
109
- var f = this.x;
109
+ var f = this.aa;
110
110
  f.changing = delegateCombine(f.changing, runOn(this, this.onInputChanging));
111
111
  }
112
112
  };
113
113
  ComboEditorView.prototype.detachEvents = function () {
114
- if (this.x != null) {
115
- var a = this.x;
114
+ if (this.aa != null) {
115
+ var a = this.aa;
116
116
  a.selectedValueChanged = delegateRemove(a.selectedValueChanged, runOn(this, this.onComboValueChanged));
117
- var b = this.x;
117
+ var b = this.aa;
118
118
  b.textValueChanged = delegateRemove(b.textValueChanged, runOn(this, this.onComboTextChanged));
119
- var c = this.x;
119
+ var c = this.aa;
120
120
  c.gotFocus = delegateRemove(c.gotFocus, runOn(this, this.onComboGotFocus));
121
- var d = this.x;
121
+ var d = this.aa;
122
122
  d.lostFocus = delegateRemove(d.lostFocus, runOn(this, this.onComboLostFocus));
123
- var e = this.x;
123
+ var e = this.aa;
124
124
  e.keyDown = delegateRemove(e.keyDown, runOn(this, this.onInputKeyDown));
125
- var f = this.x;
125
+ var f = this.aa;
126
126
  f.changing = delegateRemove(f.changing, runOn(this, this.onInputChanging));
127
127
  }
128
128
  };
129
129
  ComboEditorView.prototype.onTargetChanged = function () {
130
- if (this.x != null) {
131
- this.z = true;
132
- if (this.x.value == null && this.x.text != "") {
133
- this.x.text = "";
130
+ if (this.aa != null) {
131
+ this.ac = true;
132
+ if (this.aa.value == null && this.aa.text != "") {
133
+ this.aa.text = "";
134
134
  }
135
135
  this.focus();
136
- this.z = false;
136
+ this.ac = false;
137
137
  }
138
138
  };
139
139
  ComboEditorView.prototype.onEditStarted = function () {
140
140
  _super.prototype.onEditStarted.call(this);
141
141
  var a = this.container.getNativeElement();
142
- this.x.defaultColumnWidth = (a.clientWidth - 2).toString();
142
+ this.aa.defaultColumnWidth = (a.clientWidth - 2).toString();
143
143
  if (!this.a.isEditRefocusDesired) {
144
144
  this.focus();
145
145
  }
@@ -153,63 +153,63 @@ var ComboEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
153
153
  }
154
154
  }
155
155
  };
156
- ComboEditorView.prototype.r = function () {
157
- if (this.x != null) {
158
- this.aa.focus(true);
159
- this.x.select();
156
+ ComboEditorView.prototype.s = function () {
157
+ if (this.aa != null) {
158
+ this.ad.focus(true);
159
+ this.aa.select();
160
160
  }
161
161
  };
162
- ComboEditorView.prototype.ai = function () {
163
- if (this.x != null) {
164
- this.x.closeUp();
162
+ ComboEditorView.prototype.al = function () {
163
+ if (this.aa != null) {
164
+ this.aa.closeUp();
165
165
  }
166
166
  };
167
- ComboEditorView.prototype.t = function (a, b, c) {
168
- _super.prototype.t.call(this, a, b, c);
167
+ ComboEditorView.prototype.u = function (a, b, c) {
168
+ _super.prototype.u.call(this, a, b, c);
169
169
  switch (a) {
170
170
  case "DataSource":
171
171
  case "TextField":
172
172
  case "ValueField":
173
- this.al();
173
+ this.ao();
174
174
  break;
175
175
  }
176
176
  };
177
- ComboEditorView.prototype.u = function () {
178
- this.z = true;
179
- if (this.x != null) {
177
+ ComboEditorView.prototype.w = function () {
178
+ this.ac = true;
179
+ if (this.aa != null) {
180
180
  if (this.value == null) {
181
- this.x.text = " ";
181
+ this.aa.text = " ";
182
182
  }
183
- this.x.value = this.value;
184
- this.r();
183
+ this.aa.value = this.value;
184
+ this.s();
185
185
  }
186
- this.z = false;
186
+ this.ac = false;
187
187
  };
188
- ComboEditorView.prototype.al = function () {
189
- if (this.x != null) {
188
+ ComboEditorView.prototype.ao = function () {
189
+ if (this.aa != null) {
190
190
  this.detachEvents();
191
- this.x.dataSource = this.ac;
192
- this.x.textField = this.af;
193
- this.x.valueField = this.w;
194
- if (this.af != null) {
195
- this.x.fields = [this.af];
191
+ this.aa.dataSource = this.af;
192
+ this.aa.textField = this.ai;
193
+ this.aa.valueField = this.z;
194
+ if (this.ai != null) {
195
+ this.aa.fields = [this.ai];
196
196
  }
197
- else if (this.w != null && this.w.length > 0) {
198
- this.x.fields = [this.w[0]];
197
+ else if (this.z != null && this.z.length > 0) {
198
+ this.aa.fields = [this.z[0]];
199
199
  }
200
200
  else {
201
- var a = typeCast(IDataSource_$type, this.ac);
201
+ var a = typeCast(IDataSource_$type, this.af);
202
202
  if (a != null && a.actualSchema != null) {
203
- this.x.fields = [a.actualSchema.propertyNames[0]];
203
+ this.aa.fields = [a.actualSchema.propertyNames[0]];
204
204
  }
205
205
  else {
206
- var b = (Array.isArray(this.ac));
206
+ var b = (Array.isArray(this.af));
207
207
  if (b) {
208
- var c = (this.ac.length);
208
+ var c = (this.af.length);
209
209
  if (c > 0) {
210
- var d = (Object.keys(this.ac[0]));
210
+ var d = (Object.keys(this.af[0]));
211
211
  if (d.length > 0) {
212
- this.x.fields = [d[0]];
212
+ this.aa.fields = [d[0]];
213
213
  }
214
214
  }
215
215
  }
@@ -218,34 +218,40 @@ var ComboEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
218
218
  this.attachEvents();
219
219
  }
220
220
  };
221
+ ComboEditorView.prototype.v = function () {
222
+ _super.prototype.v.call(this);
223
+ if (this.aa != null) {
224
+ this.aa.textColor = this.textColor._fill;
225
+ }
226
+ };
221
227
  ComboEditorView.prototype.onComboValueChanged = function (a, b) {
222
- this.ap();
228
+ this.as();
223
229
  };
224
230
  ComboEditorView.prototype.onComboTextChanged = function (a, b) {
225
- this.ap();
231
+ this.as();
226
232
  };
227
- ComboEditorView.prototype.ap = function () {
228
- if (this.z) {
233
+ ComboEditorView.prototype.as = function () {
234
+ if (this.ac) {
229
235
  return;
230
236
  }
231
- if (this.x.value != null) {
232
- this.p(this.x.value, false);
237
+ if (this.aa.value != null) {
238
+ this.q(this.aa.value, false);
233
239
  }
234
- else if (this.x.value == null && stringIsNullOrWhiteSpace(this.x.text)) {
235
- this.p(null, false);
240
+ else if (this.aa.value == null && stringIsNullOrWhiteSpace(this.aa.text)) {
241
+ this.q(null, false);
236
242
  }
237
243
  else {
238
- this.p(this.value, false);
244
+ this.q(this.value, false);
239
245
  }
240
246
  };
241
247
  ComboEditorView.prototype.onInputChanging = function (a, b) {
242
- this.o();
248
+ this.p();
243
249
  };
244
250
  ComboEditorView.prototype.onComboLostFocus = function (a) {
245
- this.n();
251
+ this.o();
246
252
  };
247
253
  ComboEditorView.prototype.onComboGotFocus = function (a) {
248
- this.m();
254
+ this.n();
249
255
  };
250
256
  ComboEditorView.$t = markType(ComboEditorView, 'ComboEditorView', BaseEditorView.$);
251
257
  return ComboEditorView;