igniteui-webcomponents-grids 4.2.2 → 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 (68) hide show
  1. package/bundles/igniteui-webcomponents-grids.umd.js +1132 -799
  2. package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
  3. package/esm2015/lib/BaseEditorView.js +30 -14
  4. package/esm2015/lib/CheckboxListView_combined.js +1 -0
  5. package/esm2015/lib/ColumnFilterCondition_combined.js +32 -0
  6. package/esm2015/lib/ComboEditorView.js +111 -105
  7. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +400 -343
  8. package/esm2015/lib/DateEditorView.js +94 -87
  9. package/esm2015/lib/EditorCell.js +10 -10
  10. package/esm2015/lib/FilterCell.js +76 -60
  11. package/esm2015/lib/FilterCellPresenter.js +6 -3
  12. package/esm2015/lib/GridColumnOptionsView_combined.js +47 -22
  13. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +49 -23
  14. package/esm2015/lib/ISummaryChooserView_combined.js +1 -0
  15. package/esm2015/lib/NumericEditorView.js +3 -3
  16. package/esm2015/lib/TextEditorView.js +82 -75
  17. package/esm2015/lib/igc-data-grid-comparison-operator-selector-component.js +104 -59
  18. package/esm2015/lib/igc-grid-column-options-component.js +21 -1
  19. package/esm2015/lib/igc-grid-column-summary-options-component.js +16 -2
  20. package/esm5/lib/BaseEditorView.js +34 -14
  21. package/esm5/lib/CheckboxListView_combined.js +1 -0
  22. package/esm5/lib/ColumnFilterCondition_combined.js +32 -0
  23. package/esm5/lib/ComboEditorView.js +108 -102
  24. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +407 -342
  25. package/esm5/lib/DateEditorView.js +93 -86
  26. package/esm5/lib/EditorCell.js +10 -10
  27. package/esm5/lib/FilterCell.js +80 -60
  28. package/esm5/lib/FilterCellPresenter.js +6 -3
  29. package/esm5/lib/GridColumnOptionsView_combined.js +55 -22
  30. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +57 -23
  31. package/esm5/lib/ISummaryChooserView_combined.js +1 -0
  32. package/esm5/lib/NumericEditorView.js +3 -3
  33. package/esm5/lib/TextEditorView.js +82 -75
  34. package/esm5/lib/igc-data-grid-comparison-operator-selector-component.js +117 -59
  35. package/esm5/lib/igc-grid-column-options-component.js +29 -1
  36. package/esm5/lib/igc-grid-column-summary-options-component.js +24 -2
  37. package/fesm2015/igniteui-webcomponents-grids.js +1076 -804
  38. package/fesm5/igniteui-webcomponents-grids.js +1132 -799
  39. package/grids/3rdpartylicenses.txt +445 -0
  40. package/grids/combined.js +44 -160
  41. package/grids/lib/igc-grid-base-directive.d.ts +14 -0
  42. package/grids/lib/igc-grid-edit-done-event-args.d.ts +5 -1
  43. package/grids/lib/igc-grid-selection-range.d.ts +1 -0
  44. package/grids/lib/igc-row-data-event-args.d.ts +4 -0
  45. package/grids/styles.css +1 -1
  46. package/grids/themes/dark/bootstrap.css +1 -1
  47. package/grids/themes/dark/fluent.css +1 -1
  48. package/grids/themes/dark/indigo.css +1 -1
  49. package/grids/themes/dark/material.css +1 -1
  50. package/grids/themes/light/bootstrap.css +1 -1
  51. package/grids/themes/light/fluent.css +1 -1
  52. package/grids/themes/light/indigo.css +1 -1
  53. package/grids/themes/light/material.css +1 -1
  54. package/lib/BaseEditorView.d.ts +12 -8
  55. package/lib/ColumnFilterCondition_combined.d.ts +2 -0
  56. package/lib/ComboEditorView.d.ts +15 -14
  57. package/lib/ComboEditorView_ComboExternal.d.ts +1 -0
  58. package/lib/ComparisonOperatorSelectorView_combined.d.ts +104 -95
  59. package/lib/DateEditorView.d.ts +13 -12
  60. package/lib/FilterCell.d.ts +23 -20
  61. package/lib/GridColumnOptionsView_combined.d.ts +10 -5
  62. package/lib/GridColumnSummaryOptionsView_combined.d.ts +13 -8
  63. package/lib/IEditorView.d.ts +2 -0
  64. package/lib/TextEditorView.d.ts +10 -9
  65. package/lib/igc-data-grid-comparison-operator-selector-component.d.ts +11 -0
  66. package/lib/igc-grid-column-options-component.d.ts +8 -0
  67. package/lib/igc-grid-column-summary-options-component.d.ts +2 -0
  68. package/package.json +4 -4
@@ -40,16 +40,19 @@ export let FilterCellPresenter = /*@__PURE__*/ (() => {
40
40
  }
41
41
  if (b.a3(FilterCellModel.l5)) {
42
42
  if (b.lu) {
43
- this.d.dk();
43
+ this.d.dl();
44
44
  }
45
45
  else {
46
- this.d.dj();
46
+ this.d.dk();
47
47
  }
48
48
  }
49
+ if (b.a3(FilterCellModel.eg)) {
50
+ this.d.d7 = b.k2;
51
+ }
49
52
  }
50
53
  if (a.be || a.bj) {
51
54
  if (b.a3(FilterCellModel.gw) || b.a3(FilterCellModel.gx) || b.a3(FilterCellModel.gv) || b.a3(FilterCellModel.fd)) {
52
- this.d.d4(b.cl, b.cm, b.gu, b.fc);
55
+ this.d.d5(b.cl, b.cm, b.gu, b.fc);
53
56
  }
54
57
  }
55
58
  }
@@ -13,6 +13,7 @@ import { StringComparer } from "igniteui-webcomponents-core";
13
13
  import { GridColumnOptionsSimpleSectionBase } from "./GridColumnOptionsSimpleSectionBase";
14
14
  import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
15
15
  import { DeviceUtils } from "igniteui-webcomponents-core";
16
+ import { BrushUtil } from "igniteui-webcomponents-core";
16
17
  import { truncate } from "igniteui-webcomponents-core";
17
18
  import { stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
18
19
  import { stringFormat1 } from "igniteui-webcomponents-core";
@@ -208,6 +209,8 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
208
209
  this.b5 = 0;
209
210
  this.b3 = 0;
210
211
  this.d0 = null;
212
+ this.fk = BrushUtil.g(255, 24, 29, 31);
213
+ this.fj = BrushUtil.g(255, 248, 248, 248);
211
214
  this.applyButtonClick = null;
212
215
  this.cancelButtonClick = null;
213
216
  }
@@ -238,14 +241,14 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
238
241
  if (null != this.b2) {
239
242
  this.b2.column = a;
240
243
  }
241
- this.fg();
244
+ this.fi();
242
245
  }
243
246
  bb(a, b) {
244
247
  super.bb(a, b);
245
248
  switch (b.propertyName) {
246
249
  case "HeaderClickAction":
247
250
  case "ColumnMovingMode":
248
- this.fg();
251
+ this.fi();
249
252
  break;
250
253
  }
251
254
  }
@@ -262,7 +265,7 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
262
265
  case "PaddingRight":
263
266
  case "PaddingBottom":
264
267
  case "PaddingLeft":
265
- this.fg();
268
+ this.fi();
266
269
  break;
267
270
  case "ActualLabelTextStyle":
268
271
  case "ActualBaseTheme":
@@ -273,13 +276,13 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
273
276
  case "ActualSummaryListDensity":
274
277
  case "BackgroundColor":
275
278
  case "TextColor":
276
- this.fe();
279
+ this.fg();
277
280
  break;
278
281
  case "ColumnNameTextStyle":
279
- this.ff();
282
+ this.fh();
280
283
  break;
281
284
  case "ActualColumnNameTextStyle":
282
- this.fg();
285
+ this.fi();
283
286
  break;
284
287
  case "FilterListDensity":
285
288
  this.b7 = this.filterListDensity == 0 ? this.q : this.filterListDensity;
@@ -289,7 +292,7 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
289
292
  break;
290
293
  }
291
294
  }
292
- fg() {
295
+ fi() {
293
296
  this.bz.m();
294
297
  }
295
298
  get dx() {
@@ -701,6 +704,26 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
701
704
  }
702
705
  this.bc("FilterListPlaceholderText", b, this.d0);
703
706
  }
707
+ get fm() {
708
+ return this.fk;
709
+ }
710
+ set fm(a) {
711
+ let b = this.fk;
712
+ this.fk = a;
713
+ if (b != this.fk) {
714
+ this.bc("SummaryListTextColor", b, this.fk);
715
+ }
716
+ }
717
+ get fl() {
718
+ return this.fj;
719
+ }
720
+ set fl(a) {
721
+ let b = this.fj;
722
+ this.fj = a;
723
+ if (b != this.fj) {
724
+ this.bc("SummaryListBackground", b, this.fj);
725
+ }
726
+ }
704
727
  notifySizeChanged() {
705
728
  this.e.j();
706
729
  }
@@ -726,37 +749,37 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
726
749
  this.bv.b7 = this.dv;
727
750
  this.bv.cc = this.d1;
728
751
  let t = this.b1;
729
- t.propertyChanged = delegateCombine(t.propertyChanged, runOn(this, this.e9));
752
+ t.propertyChanged = delegateCombine(t.propertyChanged, runOn(this, this.fb));
730
753
  let u = this.by;
731
- u.propertyChanged = delegateCombine(u.propertyChanged, runOn(this, this.e9));
754
+ u.propertyChanged = delegateCombine(u.propertyChanged, runOn(this, this.fb));
732
755
  let v = this.b0;
733
- v.propertyChanged = delegateCombine(v.propertyChanged, runOn(this, this.e9));
756
+ v.propertyChanged = delegateCombine(v.propertyChanged, runOn(this, this.fb));
734
757
  let w = this.bx;
735
- w.propertyChanged = delegateCombine(w.propertyChanged, runOn(this, this.e9));
758
+ w.propertyChanged = delegateCombine(w.propertyChanged, runOn(this, this.fb));
736
759
  let x = this.bw;
737
- x.propertyChanged = delegateCombine(x.propertyChanged, runOn(this, this.e9));
760
+ x.propertyChanged = delegateCombine(x.propertyChanged, runOn(this, this.fb));
738
761
  let y = this.bv;
739
- y.propertyChanged = delegateCombine(y.propertyChanged, runOn(this, this.e9));
762
+ y.propertyChanged = delegateCombine(y.propertyChanged, runOn(this, this.fb));
740
763
  this.b2 = r;
741
764
  this.bu = s;
742
765
  this.bu.bz = this.dp;
743
766
  this.bu.b3 = this.ds;
744
767
  let z = this.bu;
745
- z.applyButtonClick = delegateCombine(z.applyButtonClick, runOn(this, this.fb));
768
+ z.applyButtonClick = delegateCombine(z.applyButtonClick, runOn(this, this.fd));
746
769
  let aa = this.bu;
747
- aa.cancelButtonClick = delegateCombine(aa.cancelButtonClick, runOn(this, this.fc));
748
- this.ff();
770
+ aa.cancelButtonClick = delegateCombine(aa.cancelButtonClick, runOn(this, this.fe));
771
+ this.fh();
749
772
  this.bl();
750
773
  this.bi();
751
- this.fe();
774
+ this.fg();
752
775
  }
753
776
  d5() {
754
777
  return stringFormat1("{0}px {1}px {2}px {3}px", this.dj.toString(), this.di.toString(), this.dg.toString(), this.dh.toString());
755
778
  }
756
- ff() {
779
+ fh() {
757
780
  this.cf = (null == this.cg) ? this.ci : this.cg;
758
781
  }
759
- fe() {
782
+ fg() {
760
783
  let a = [this.b1, this.by, this.b0, this.bx, this.bw, this.bv, this.b2, this.bu];
761
784
  for (let c = 0; c < a.length; c++) {
762
785
  let b = a[c];
@@ -778,9 +801,11 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
778
801
  }
779
802
  if (null != this.b2) {
780
803
  this.b2.b5 = this.b8;
804
+ this.b2.cv = this.fm;
805
+ this.b2.cu = this.fl;
781
806
  }
782
807
  }
783
- fb(a, b) {
808
+ fd(a, b) {
784
809
  let c = [this.b1, this.by, this.b0, this.bx, this.bw, this.bv, this.b2];
785
810
  for (let e = 0; e < c.length; e++) {
786
811
  let d = c[e];
@@ -790,7 +815,7 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
790
815
  this.applyButtonClick(this, b);
791
816
  }
792
817
  }
793
- fc(a, b) {
818
+ fe(a, b) {
794
819
  let c = [this.b1, this.by, this.b0, this.bx, this.bw, this.bv, this.b2];
795
820
  for (let e = 0; e < c.length; e++) {
796
821
  let d = c[e];
@@ -800,7 +825,7 @@ export let GridColumnOptions = /*@__PURE__*/ (() => {
800
825
  this.cancelButtonClick(this, b);
801
826
  }
802
827
  }
803
- e9(a, b) {
828
+ fb(a, b) {
804
829
  switch (b.propertyName) {
805
830
  }
806
831
  }
@@ -13,6 +13,7 @@ import { runOn, markType, enumGetBox, delegateRemove, delegateCombine } from "ig
13
13
  import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
14
14
  import { Rect } from "igniteui-webcomponents-core";
15
15
  import { GridColumnOptionsSectionBase } from "./GridColumnOptionsSectionBase";
16
+ import { BrushUtil } from "igniteui-webcomponents-core";
16
17
  import { ColumnSummaryDescription } from "./ColumnSummaryDescription";
17
18
  import { stringFormat } from "igniteui-webcomponents-core";
18
19
  import { stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
@@ -41,18 +42,18 @@ export let GridColumnSummaryOptionsView = /*@__PURE__*/ (() => {
41
42
  this.o = ((() => { let d = GridColumnOptionsUtilities.f(this.n, this.e, GridColumnSummaryOptionsView.r, 1, this.n.p, this.n.j, new Size(1, 24, 24), a, b, this.p, c, false, true); a = d.p7; b = d.p8; this.p = d.p9; c = d.p10; return d.ret; })());
42
43
  c.setStyleProperty("transform", "rotate(-90deg)");
43
44
  this.g.append(this.o);
44
- this.n.ci(a);
45
+ this.n.ck(a);
45
46
  }
46
47
  if (this.n.bx == null) {
47
48
  let d = new SummaryChooser();
48
49
  d.a2(this.e);
49
- this.n.cm(d);
50
+ this.n.co(d);
50
51
  let e = this.e.createElement("div");
51
52
  let f = this.e.getSubRenderer(e);
52
53
  let g = new Popup();
53
54
  g.provideRenderer(f);
54
55
  g.appendPopupContent(d.c.container);
55
- this.n.cj(g);
56
+ this.n.cl(g);
56
57
  }
57
58
  document.addEventListener("mousedown", runOn(this, this.s), false);
58
59
  }
@@ -96,7 +97,7 @@ export let GridColumnSummaryOptionsView = /*@__PURE__*/ (() => {
96
97
  return (window.innerWidth);
97
98
  }
98
99
  s(e_) {
99
- this.n.ch();
100
+ this.n.cj();
100
101
  }
101
102
  }
102
103
  GridColumnSummaryOptionsView.$t = /*@__PURE__*/ markType(GridColumnSummaryOptionsView, 'GridColumnSummaryOptionsView', GridColumnOptionsViewBase.$);
@@ -117,6 +118,8 @@ export let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
117
118
  this.b2 = 0;
118
119
  this.b1 = 0;
119
120
  this.b6 = 0;
121
+ this.ct = BrushUtil.g(255, 24, 29, 31);
122
+ this.cs = BrushUtil.g(255, 248, 248, 248);
120
123
  }
121
124
  f() {
122
125
  return new GridColumnSummaryOptionsView();
@@ -135,9 +138,11 @@ export let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
135
138
  case "ActualSummaryListDensity":
136
139
  case "BackgroundColor":
137
140
  case "TextColor":
138
- this.co();
139
- this.cn();
141
+ case "SummaryListTextColor":
142
+ case "SummaryListBackground":
143
+ this.cq();
140
144
  this.cp();
145
+ this.cr();
141
146
  break;
142
147
  case "SummaryListDensity":
143
148
  this.b3 = this.b5 == 0 ? this.q : this.b5;
@@ -318,47 +323,68 @@ export let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
318
323
  this.bc("ActiveCount", b, this.b6);
319
324
  }
320
325
  }
321
- ch() {
326
+ get cv() {
327
+ return this.ct;
328
+ }
329
+ set cv(a) {
330
+ let b = this.ct;
331
+ this.ct = a;
332
+ if (b != this.ct) {
333
+ this.bc("SummaryListTextColor", b, this.ct);
334
+ }
335
+ }
336
+ get cu() {
337
+ return this.cs;
338
+ }
339
+ set cu(a) {
340
+ let b = this.cs;
341
+ this.cs = a;
342
+ if (b != this.cs) {
343
+ this.bc("SummaryListBackground", b, this.cs);
344
+ }
345
+ }
346
+ cj() {
322
347
  if (this.b0 != null && this.b0.t) {
323
348
  this.b0.ao();
324
349
  }
325
350
  }
326
- ci(a) {
351
+ ck(a) {
327
352
  if (this.by != null) {
328
353
  let b = this.by;
329
- b.clicked = delegateRemove(b.clicked, runOn(this, this.ck));
354
+ b.clicked = delegateRemove(b.clicked, runOn(this, this.cm));
330
355
  }
331
356
  this.by = a;
332
357
  if (this.by != null) {
333
358
  let c = this.by;
334
- c.clicked = delegateCombine(c.clicked, runOn(this, this.ck));
359
+ c.clicked = delegateCombine(c.clicked, runOn(this, this.cm));
335
360
  }
336
- this.cn();
361
+ this.cp();
337
362
  }
338
- cj(a) {
363
+ cl(a) {
339
364
  this.b0 = a;
340
- this.cp();
365
+ this.cr();
341
366
  }
342
- cm(a) {
367
+ co(a) {
343
368
  if (this.bw != null) {
344
369
  let b = this.bw;
345
- b.summaryChanged = delegateRemove(b.summaryChanged, runOn(this, this.cl));
370
+ b.summaryChanged = delegateRemove(b.summaryChanged, runOn(this, this.cn));
346
371
  }
347
372
  this.bw = a;
348
373
  if (this.bw != null) {
349
374
  let c = this.bw;
350
- c.summaryChanged = delegateCombine(c.summaryChanged, runOn(this, this.cl));
375
+ c.summaryChanged = delegateCombine(c.summaryChanged, runOn(this, this.cn));
351
376
  }
352
- this.co();
377
+ this.cq();
353
378
  }
354
- co() {
379
+ cq() {
355
380
  if (this.bw != null) {
356
381
  this.bw.j = this.i;
357
382
  this.bw.n = this.b3;
358
- this.bw.ba = this.br;
383
+ this.bw.ba = this.cv;
384
+ this.bw.a9 = this.cu;
359
385
  }
360
386
  }
361
- cn() {
387
+ cp() {
362
388
  if (this.by != null) {
363
389
  this.by.ef = 0;
364
390
  this.by.ak = false;
@@ -366,13 +392,13 @@ export let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
366
392
  this.bh(this.by);
367
393
  }
368
394
  }
369
- cp() {
395
+ cr() {
370
396
  if (this.b0 != null) {
371
397
  this.b0.a8 = this.bo;
372
398
  this.b0.q = false;
373
399
  }
374
400
  }
375
- ck(a, b) {
401
+ cm(a, b) {
376
402
  if (this.b0 == null) {
377
403
  return;
378
404
  }
@@ -395,7 +421,7 @@ export let GridColumnSummaryOptions = /*@__PURE__*/ (() => {
395
421
  this.b0.showRelativeToExclusionRect(d, 1, 0);
396
422
  }
397
423
  }
398
- cl(a, b) {
424
+ cn(a, b) {
399
425
  if (b.a) {
400
426
  this.b7++;
401
427
  }
@@ -324,6 +324,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
324
324
  this.e.aa = this.m;
325
325
  this.e.dy = this.ba;
326
326
  this.e.y = this.i;
327
+ this.e.di = this.a9;
327
328
  this.e.as = false;
328
329
  this.e.aq = false;
329
330
  this.e.an = false;
@@ -14,14 +14,14 @@ export let NumericEditorView = /*@__PURE__*/ (() => {
14
14
  class NumericEditorView extends TextEditorView {
15
15
  constructor(a, b, c) {
16
16
  super(a, b, c);
17
- this.v.b6 = "number";
17
+ this.y.b6 = "number";
18
18
  }
19
19
  getEditorValue() {
20
- if (this.v == null || this.v.cm == null) {
20
+ if (this.y == null || this.y.cm == null) {
21
21
  return null;
22
22
  }
23
23
  let a = NaN;
24
- let b = tryParseNumber(this.v.cm, a);
24
+ let b = tryParseNumber(this.y.cm, a);
25
25
  a = b.p1;
26
26
  return a;
27
27
  }
@@ -15,9 +15,9 @@ export let TextEditorView = /*@__PURE__*/ (() => {
15
15
  class TextEditorView extends BaseEditorView {
16
16
  constructor(a, b, c) {
17
17
  super(a, c);
18
- this.x = null;
19
- this.w = null;
20
- this.v = null;
18
+ this.aa = null;
19
+ this.z = null;
20
+ this.y = null;
21
21
  let d = a.createElement("div");
22
22
  d.setRawStyleProperty("display", "flex");
23
23
  d.setRawStyleProperty("width", "100%");
@@ -25,60 +25,61 @@ export let TextEditorView = /*@__PURE__*/ (() => {
25
25
  d.setRawStyleProperty("height", "38px");
26
26
  this.container = d;
27
27
  let e = a.getSubRenderer(d);
28
- this.w = new XInputGroup();
29
- this.w.provideContainer(e);
30
- this.w.d = 0;
31
- this.w.j = b;
32
- this.w.n = 3;
33
- this.w.disabled = !this.isEnabled;
34
- let f = e.getExternal(this.w, e.rootWrapper, null);
28
+ this.z = new XInputGroup();
29
+ this.z.provideContainer(e);
30
+ this.z.d = 0;
31
+ this.z.j = b;
32
+ this.z.n = 3;
33
+ this.z.disabled = !this.isEnabled;
34
+ let f = e.getExternal(this.z, e.rootWrapper, null);
35
35
  let g = a.createElement("div");
36
36
  g.setRawStyleProperty("width", "100%");
37
37
  let h = a.getSubRenderer(g);
38
- this.v = new XInput();
39
- this.v.provideContainer(h);
40
- this.v.b6 = "text";
41
- this.v.disabled = !this.isEnabled;
42
- let i = e.getExternal(this.v, h.rootWrapper, null);
43
- this.w.appendContentChild(g);
44
- this.w.inputs.add(this.v);
38
+ this.y = new XInput();
39
+ this.y.provideContainer(h);
40
+ this.y.b6 = "text";
41
+ this.y.disabled = !this.isEnabled;
42
+ this.y.d1 = this.textColor;
43
+ let i = e.getExternal(this.y, h.rootWrapper, null);
44
+ this.z.appendContentChild(g);
45
+ this.z.inputs.add(this.y);
45
46
  }
46
47
  setFont(a) {
47
- if (this.v != null) {
48
- this.v.af = a;
48
+ if (this.y != null) {
49
+ this.y.af = a;
49
50
  }
50
51
  }
51
52
  attachEvents() {
52
- if (this.v != null) {
53
- let a = this.v;
54
- a.changing = delegateCombine(a.changing, runOn(this, this.z));
55
- let b = this.v;
53
+ if (this.y != null) {
54
+ let a = this.y;
55
+ a.changing = delegateCombine(a.changing, runOn(this, this.ac));
56
+ let b = this.y;
56
57
  b.keyDown = delegateCombine(b.keyDown, runOn(this, this.onInputKeyDown));
57
- let c = this.v;
58
- c.compositionEnd = delegateCombine(c.compositionEnd, runOn(this, this.y));
59
- let d = this.v;
60
- d.gotFocus = delegateCombine(d.gotFocus, runOn(this, this.aa));
61
- let e = this.v;
62
- e.lostFocus = delegateCombine(e.lostFocus, runOn(this, this.ab));
58
+ let c = this.y;
59
+ c.compositionEnd = delegateCombine(c.compositionEnd, runOn(this, this.ab));
60
+ let d = this.y;
61
+ d.gotFocus = delegateCombine(d.gotFocus, runOn(this, this.ad));
62
+ let e = this.y;
63
+ e.lostFocus = delegateCombine(e.lostFocus, runOn(this, this.ae));
63
64
  }
64
65
  }
65
66
  detachEvents() {
66
- if (this.v != null) {
67
- let a = this.v;
68
- a.changing = delegateRemove(a.changing, runOn(this, this.z));
69
- let b = this.v;
67
+ if (this.y != null) {
68
+ let a = this.y;
69
+ a.changing = delegateRemove(a.changing, runOn(this, this.ac));
70
+ let b = this.y;
70
71
  b.keyDown = delegateRemove(b.keyDown, runOn(this, this.onInputKeyDown));
71
- let c = this.v;
72
- c.compositionEnd = delegateRemove(c.compositionEnd, runOn(this, this.y));
73
- let d = this.v;
74
- d.gotFocus = delegateRemove(d.gotFocus, runOn(this, this.aa));
75
- let e = this.v;
76
- e.lostFocus = delegateRemove(e.lostFocus, runOn(this, this.ab));
72
+ let c = this.y;
73
+ c.compositionEnd = delegateRemove(c.compositionEnd, runOn(this, this.ab));
74
+ let d = this.y;
75
+ d.gotFocus = delegateRemove(d.gotFocus, runOn(this, this.ad));
76
+ let e = this.y;
77
+ e.lostFocus = delegateRemove(e.lostFocus, runOn(this, this.ae));
77
78
  }
78
79
  }
79
80
  onTargetChanged() {
80
- this.x = null;
81
- if (this.v != null) {
81
+ this.aa = null;
82
+ if (this.y != null) {
82
83
  this.focus();
83
84
  }
84
85
  }
@@ -93,72 +94,78 @@ export let TextEditorView = /*@__PURE__*/ (() => {
93
94
  if (this.a.isEditRefocusDesired) {
94
95
  let a = this.h.rootWrapper.getNativeElement();
95
96
  if (a == document.activeElement || a.contains(document.activeElement)) {
96
- this.v.cp();
97
+ this.y.cp();
97
98
  this.focus();
98
99
  }
99
100
  }
100
101
  }
101
- r() {
102
- if (this.v != null) {
103
- this.v.focus(true);
104
- if (this.v.b6 != "date") {
105
- window.setTimeout(() => this.v.dj(), 0);
102
+ s() {
103
+ if (this.y != null) {
104
+ this.y.focus(true);
105
+ if (this.y.b6 != "date") {
106
+ window.setTimeout(() => this.y.dj(), 0);
106
107
  }
107
108
  }
108
109
  }
109
- u() {
110
- if (this.v != null) {
110
+ w() {
111
+ if (this.y != null) {
111
112
  if (this.value != null) {
112
- this.x = null;
113
- this.v.cm = null;
114
- this.v.cm = this.value.toString();
113
+ this.aa = null;
114
+ this.y.cm = null;
115
+ this.y.cm = this.value.toString();
115
116
  if (this.focusOnValueChanged) {
116
- this.r();
117
+ this.s();
117
118
  }
118
119
  }
119
120
  else {
120
- this.v.cm = null;
121
+ this.y.cm = null;
121
122
  }
122
123
  }
123
124
  }
124
- q() {
125
- if (this.w != null) {
126
- this.w.disabled = !this.isEnabled;
125
+ r() {
126
+ if (this.z != null) {
127
+ this.z.disabled = !this.isEnabled;
127
128
  }
128
- if (this.v != null) {
129
- this.v.disabled = !this.isEnabled;
129
+ if (this.y != null) {
130
+ this.y.disabled = !this.isEnabled;
130
131
  }
131
132
  }
132
- z(a, b) {
133
- this.o();
133
+ v() {
134
+ super.v();
135
+ if (this.y != null) {
136
+ this.y.d1 = this.textColor;
137
+ }
138
+ }
139
+ ac(a, b) {
140
+ this.p();
134
141
  if (b.isCompositionInProgress) {
135
142
  return;
136
143
  }
137
- if (this.x != null && this.x != b.value) {
138
- this.x = null;
144
+ if (this.aa != null && this.aa != b.value) {
145
+ this.aa = null;
139
146
  return;
140
147
  }
141
- this.p(b.value, false);
142
- }
143
- y(a, b) {
144
- this.x = b.value;
145
- this.p(b.value, false);
148
+ this.q(b.value, false);
146
149
  }
147
150
  ab(a, b) {
148
- this.n();
151
+ this.aa = b.value;
152
+ this.q(b.value, false);
149
153
  }
150
- aa(a, b) {
151
- this.m();
154
+ ae(a, b) {
155
+ this.o();
156
+ }
157
+ ad(a, b) {
158
+ this.n();
152
159
  }
153
160
  getEditorValue() {
154
- if (this.v != null) {
155
- return this.v.cm;
161
+ if (this.y != null) {
162
+ return this.y.cm;
156
163
  }
157
164
  return null;
158
165
  }
159
166
  setEditorValue(a) {
160
- if (this.v != null) {
161
- this.v.cm = a;
167
+ if (this.y != null) {
168
+ this.y.cm = a;
162
169
  }
163
170
  }
164
171
  }