igniteui-webcomponents-data-grids 7.0.1 → 7.1.0-alpha.1

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 (41) hide show
  1. package/bundles/igniteui-webcomponents-data-grids.umd.js +767 -690
  2. package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
  3. package/esm2015/lib/CheckboxListView_combined.js +2 -2
  4. package/esm2015/lib/ColumnFilterCondition_combined.js +680 -640
  5. package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
  6. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +1 -1
  7. package/esm2015/lib/DataGridScrollerKeyboardListener.js +4 -1
  8. package/esm2015/lib/DataGridToolbarView_combined.js +1 -1
  9. package/esm2015/lib/DraggerView.js +8 -8
  10. package/esm2015/lib/GridExternalWrapper.js +6 -0
  11. package/esm2015/lib/GridFilterDialogView_combined.js +36 -35
  12. package/esm2015/lib/NativeUIComboFactory.js +1 -1
  13. package/esm2015/lib/NativeUIGridFactory.js +2 -2
  14. package/esm2015/lib/SectionHeaderCell.js +12 -0
  15. package/esm2015/lib/SummaryCell.js +9 -0
  16. package/esm2015/lib/TemplateCell.js +1 -1
  17. package/esm2015/lib/igc-data-grid-component.js +7 -1
  18. package/esm5/lib/CheckboxListView_combined.js +2 -2
  19. package/esm5/lib/ColumnFilterCondition_combined.js +677 -637
  20. package/esm5/lib/ColumnGroupingView_combined.js +1 -1
  21. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +1 -1
  22. package/esm5/lib/DataGridScrollerKeyboardListener.js +4 -1
  23. package/esm5/lib/DataGridToolbarView_combined.js +1 -1
  24. package/esm5/lib/DraggerView.js +8 -8
  25. package/esm5/lib/GridExternalWrapper.js +6 -0
  26. package/esm5/lib/GridFilterDialogView_combined.js +36 -35
  27. package/esm5/lib/NativeUIComboFactory.js +1 -1
  28. package/esm5/lib/NativeUIGridFactory.js +2 -2
  29. package/esm5/lib/SectionHeaderCell.js +12 -0
  30. package/esm5/lib/SummaryCell.js +9 -0
  31. package/esm5/lib/TemplateCell.js +1 -1
  32. package/esm5/lib/igc-data-grid-component.js +7 -1
  33. package/fesm2015/igniteui-webcomponents-data-grids.js +769 -692
  34. package/fesm5/igniteui-webcomponents-data-grids.js +768 -691
  35. package/lib/ColumnFilterCondition_combined.d.ts +117 -114
  36. package/lib/DataGridScrollerKeyboardListener.d.ts +1 -0
  37. package/lib/GridExternalWrapper.d.ts +2 -0
  38. package/lib/SectionHeaderCell.d.ts +2 -0
  39. package/lib/SummaryCell.d.ts +2 -0
  40. package/lib/igc-data-grid-component.d.ts +2 -0
  41. package/package.json +4 -4
@@ -73,7 +73,7 @@ let ColumnGroupingView = /*@__PURE__*/ (() => {
73
73
  }
74
74
  this.n = a;
75
75
  this.d = new CanvasGestureDOMEventProxy(this.o.rootWrapper, this.o, true);
76
- this.d.c9 = true;
76
+ this.d.dc = true;
77
77
  let b = this.d;
78
78
  b.onMouseDown = delegateCombine(b.onMouseDown, runOn(this, this.z));
79
79
  let c = this.d;
@@ -157,7 +157,7 @@ let ComparisonOperatorSelectorView = /*@__PURE__*/ (() => {
157
157
  }
158
158
  onDocumentKeyDown(a) {
159
159
  let b = a;
160
- if (BaseDOMEventProxy.c1(b) == 8) {
160
+ if (BaseDOMEventProxy.c4(b) == 8) {
161
161
  this.a.d8();
162
162
  }
163
163
  }
@@ -41,7 +41,7 @@ let DataGridScrollerKeyboardListener = /*@__PURE__*/ (() => {
41
41
  return this.a.k1(a, b);
42
42
  }
43
43
  onWheel() {
44
- this.a.x4();
44
+ this.a.x5();
45
45
  }
46
46
  onEnter(a, b) {
47
47
  return this.a.kq(a, b);
@@ -58,6 +58,9 @@ let DataGridScrollerKeyboardListener = /*@__PURE__*/ (() => {
58
58
  onKeyDown(a, b, c) {
59
59
  return this.a.ku(a, b, c);
60
60
  }
61
+ onGotFocus(a, b) {
62
+ this.a.xf(a, b);
63
+ }
61
64
  }
62
65
  DataGridScrollerKeyboardListener.$t = /*@__PURE__*/ markType(DataGridScrollerKeyboardListener, 'DataGridScrollerKeyboardListener', Base.$, [IScrollerKeyboardListener_$type]);
63
66
  return DataGridScrollerKeyboardListener;
@@ -280,7 +280,7 @@ let DataGridToolbarView = /*@__PURE__*/ (() => {
280
280
  a.stopPropagation();
281
281
  }
282
282
  q(a) {
283
- if (BaseDOMEventProxy.c1(a) == 8) {
283
+ if (BaseDOMEventProxy.c4(a) == 8) {
284
284
  this.a.av();
285
285
  }
286
286
  }
@@ -33,8 +33,8 @@ let DraggerView = /*@__PURE__*/ (() => {
33
33
  this.c = null;
34
34
  }
35
35
  if (this.a != null) {
36
- this.a.ap = null;
37
- this.a.aw();
36
+ this.a.aq = null;
37
+ this.a.ax();
38
38
  }
39
39
  return;
40
40
  }
@@ -42,23 +42,23 @@ let DraggerView = /*@__PURE__*/ (() => {
42
42
  let b = Math.round(this.c.rootWrapper.width());
43
43
  let c = Math.round(this.c.rootWrapper.height());
44
44
  this.a = new CanvasGestureDOMEventProxy(this.c.rootWrapper, this.c, true);
45
- this.a.c9 = true;
45
+ this.a.dc = true;
46
46
  let d = this.a;
47
47
  d.onMouseOver = delegateCombine(d.onMouseOver, runOn(this, this.e));
48
48
  let e = this.a;
49
49
  e.onMouseUp = delegateCombine(e.onMouseUp, runOn(this, this.f));
50
- this.a.ap = runOn(this, this.b);
50
+ this.a.aq = runOn(this, this.b);
51
51
  this.model.viewportWidth = b;
52
52
  this.model.viewportHeight = c;
53
53
  }
54
54
  onDetachedFromUI() {
55
55
  if (this.a != null && this.c != null) {
56
- this.a.bi(this.c.rootWrapper, "");
56
+ this.a.bk(this.c.rootWrapper, "");
57
57
  }
58
58
  }
59
59
  onAttachedToUI() {
60
60
  if (this.a != null) {
61
- this.a.au(this.c.rootWrapper, "");
61
+ this.a.av(this.c.rootWrapper, "");
62
62
  }
63
63
  }
64
64
  b(a) {
@@ -75,7 +75,7 @@ let DraggerView = /*@__PURE__*/ (() => {
75
75
  releaseMouse() {
76
76
  }
77
77
  transformPoint(a, b) {
78
- let c = BaseDOMEventProxy.c5(this.c.rootWrapper);
78
+ let c = BaseDOMEventProxy.c8(this.c.rootWrapper);
79
79
  let d = { $type: Point_$type, x: a - c.x, y: b - c.y };
80
80
  return d;
81
81
  }
@@ -86,7 +86,7 @@ let DraggerView = /*@__PURE__*/ (() => {
86
86
  this.model.onMouseUp(a.x, a.y);
87
87
  }
88
88
  onViewportSizeChanged(a, b) {
89
- this.a.bm = new Rect(0, 0, 0, a, b);
89
+ this.a.bo = new Rect(0, 0, 0, a, b);
90
90
  }
91
91
  addCloneCellToDom() {
92
92
  if (this.c != null) {
@@ -146,6 +146,12 @@ let GridExternalWrapper = /*@__PURE__*/ (() => {
146
146
  let grid_ = this.a;
147
147
  grid_._ensureColumnsAreManual();
148
148
  }
149
+ moveFocusPrevious() {
150
+ this.a._moveFocusPrevious();
151
+ }
152
+ moveFocusNext() {
153
+ this.a._moveFocusNext();
154
+ }
149
155
  }
150
156
  GridExternalWrapper.$t = /*@__PURE__*/ markType(GridExternalWrapper, 'GridExternalWrapper', Base.$, [IExternalGrid_$type]);
151
157
  return GridExternalWrapper;
@@ -105,7 +105,7 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
105
105
  }
106
106
  r(a) {
107
107
  let b = a;
108
- this.m.append(b.an);
108
+ this.m.append(b.ao);
109
109
  }
110
110
  p() {
111
111
  return this.m;
@@ -196,7 +196,7 @@ let GridFilterDialogPanel = /*@__PURE__*/ (() => {
196
196
  a.stopPropagation();
197
197
  }
198
198
  onDocumentKeyDown(a) {
199
- if (BaseDOMEventProxy.c1(a) == 8) {
199
+ if (BaseDOMEventProxy.c4(a) == 8) {
200
200
  }
201
201
  }
202
202
  onDocumentMouseClick(e_) {
@@ -464,7 +464,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
464
464
  }
465
465
  }
466
466
  get ae() {
467
- return this.v != null ? this.v.bx : false;
467
+ return this.v != null ? this.v.by : false;
468
468
  }
469
469
  bt(a, b, c) {
470
470
  this.bw(a, b, c);
@@ -495,41 +495,41 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
495
495
  break;
496
496
  case "ColumnOptionsBackground":
497
497
  if (this.v != null) {
498
- this.v.cg = this.cd;
499
- this.v.ck = this.cd;
498
+ this.v.ch = this.cd;
499
+ this.v.cl = this.cd;
500
500
  }
501
501
  break;
502
502
  case "ColumnOptionsTextColor":
503
503
  if (this.v != null) {
504
- this.v.ci = this.ch;
505
504
  this.v.cj = this.ch;
506
- this.v.b8 = this.ch;
507
- this.v.cc = this.ch;
505
+ this.v.ck = this.ch;
506
+ this.v.b9 = this.ch;
508
507
  this.v.cd = this.ch;
509
508
  this.v.ce = this.ch;
509
+ this.v.cf = this.ch;
510
510
  }
511
511
  break;
512
512
  case "ColumnOptionsSeparatorColor":
513
513
  if (this.v != null) {
514
- this.v.cf = this.cg;
514
+ this.v.cg = this.cg;
515
515
  }
516
516
  break;
517
517
  case "ColumnOptionsGroupHeaderBackground":
518
518
  if (this.v != null) {
519
- this.v.b9 = this.ce;
519
+ this.v.ca = this.ce;
520
520
  }
521
521
  break;
522
522
  case "ColumnOptionsGroupHeaderTextColor":
523
523
  if (this.v != null) {
524
- this.v.cb = this.cf;
524
+ this.v.cc = this.cf;
525
525
  }
526
526
  break;
527
527
  case "ColumnOptionsAccentColor":
528
528
  if (this.v != null) {
529
- this.v.b4 = this.cc;
530
- this.v.b6 = this.cc;
529
+ this.v.b5 = this.cc;
531
530
  this.v.b7 = this.cc;
532
- this.v.cl = this.cc;
531
+ this.v.b8 = this.cc;
532
+ this.v.cm = this.cc;
533
533
  }
534
534
  break;
535
535
  }
@@ -594,38 +594,39 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
594
594
  this.z = true;
595
595
  }
596
596
  bq() {
597
- NativeUIComponent.au(this.s.p(), 18, (a) => {
597
+ NativeUIComponent.av(this.s.p(), 18, (a) => {
598
598
  let b = a;
599
599
  this.v = b;
600
- this.v.b0 = 16;
601
- this.v.b5 = BrushUtil.l(0, 0, 0, 0);
602
- this.v.bq = runOn(this, this.bg);
603
- this.v.bo = runOn(this, this.bf);
604
- this.v.by = false;
600
+ this.v.b1 = 16;
601
+ this.v.b6 = BrushUtil.l(0, 0, 0, 0);
602
+ this.v.v = false;
603
+ this.v.br = runOn(this, this.bg);
604
+ this.v.bp = runOn(this, this.bf);
605
+ this.v.bz = false;
605
606
  this.s.r(this.v);
606
607
  this.v.c = this.x;
607
- this.v.cg = this.cd;
608
- this.v.ck = this.cd;
609
- this.v.ci = this.ch;
610
- this.v.cb = this.cf;
608
+ this.v.ch = this.cd;
609
+ this.v.cl = this.cd;
611
610
  this.v.cj = this.ch;
612
- this.v.b8 = this.ch;
613
- this.v.cc = this.ch;
611
+ this.v.cc = this.cf;
612
+ this.v.ck = this.ch;
613
+ this.v.b9 = this.ch;
614
614
  this.v.cd = this.ch;
615
615
  this.v.ce = this.ch;
616
- this.v.cf = this.cg;
617
- this.v.b9 = this.ce;
618
- this.v.b4 = this.cc;
619
- this.v.b6 = this.cc;
616
+ this.v.cf = this.ch;
617
+ this.v.cg = this.cg;
618
+ this.v.ca = this.ce;
619
+ this.v.b5 = this.cc;
620
620
  this.v.b7 = this.cc;
621
- this.v.cl = this.cc;
622
- this.v.b1 = this;
621
+ this.v.b8 = this.cc;
622
+ this.v.cm = this.cc;
623
+ this.v.b2 = this;
623
624
  });
624
625
  }
625
626
  bg(a, b) {
626
627
  if (this.z) {
627
628
  this.z = false;
628
- this.v.b1 = this.n;
629
+ this.v.b2 = this.n;
629
630
  }
630
631
  if (this.n != null) {
631
632
  if (this.n.grid != null) {
@@ -925,8 +926,8 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
925
926
  }
926
927
  bk() {
927
928
  if (this.v != null) {
928
- if (this.n != null && this.v.b1 != this.n) {
929
- this.v.b1 = this.n;
929
+ if (this.n != null && this.v.b2 != this.n) {
930
+ this.v.b2 = this.n;
930
931
  }
931
932
  }
932
933
  }
@@ -20,7 +20,7 @@ let NativeUIComboFactory = /*@__PURE__*/ (() => {
20
20
  return NativeUIComboFactory.a;
21
21
  }
22
22
  static register() {
23
- NativeUIComponent.as(NativeUIComboFactory.instance);
23
+ NativeUIComponent.at(NativeUIComboFactory.instance);
24
24
  }
25
25
  get flavor() {
26
26
  return this.c;
@@ -22,7 +22,7 @@ let NativeUIGridFactory = /*@__PURE__*/ (() => {
22
22
  return NativeUIGridFactory.a;
23
23
  }
24
24
  static register() {
25
- NativeUIComponent.as(NativeUIGridFactory.instance);
25
+ NativeUIComponent.at(NativeUIGridFactory.instance);
26
26
  }
27
27
  get flavor() {
28
28
  return this.c;
@@ -55,7 +55,7 @@ let NativeUIGridFactory = /*@__PURE__*/ (() => {
55
55
  let f = (comp_.i);
56
56
  let g = new CheckboxListBridge(f);
57
57
  let h = new NativeUICheckboxList();
58
- h.an = d;
58
+ h.ao = d;
59
59
  h.d = g;
60
60
  b(h);
61
61
  }, false);
@@ -15,6 +15,12 @@ let SectionHeaderCell = /*@__PURE__*/ (() => {
15
15
  super(a);
16
16
  this.dw = null;
17
17
  this.dw = a.createElement("span");
18
+ this.dw.setRawStyleProperty("display", "inline-block");
19
+ this.dw.setRawStyleProperty("line-height", "normal");
20
+ this.dw.setRawStyleProperty("vertical-align", "middle");
21
+ this.dw.setRawStyleProperty("overflow", "hidden");
22
+ this.dw.setRawStyleProperty("white-space", "nowrap");
23
+ this.dw.setRawStyleProperty("text-overflow", "ellipsis");
18
24
  this.ar.setRawStyleProperty("text-align", "left");
19
25
  this.ar.setRawStyleProperty("vertical-align", "middle");
20
26
  this.ar.setRawStyleProperty("overflow", "hidden");
@@ -22,6 +28,12 @@ let SectionHeaderCell = /*@__PURE__*/ (() => {
22
28
  this.ar.setRawStyleProperty("text-overflow", "ellipsis");
23
29
  this.ar.append(this.dw);
24
30
  }
31
+ c0(a, b) {
32
+ super.c0(a, b);
33
+ if (a == this.dw) {
34
+ this.dw.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
35
+ }
36
+ }
25
37
  get_ae() {
26
38
  return true;
27
39
  }
@@ -28,6 +28,15 @@ let SummaryCell = /*@__PURE__*/ (() => {
28
28
  this.d1 = c;
29
29
  }
30
30
  }
31
+ c0(a, b) {
32
+ super.c0(a, b);
33
+ if (a == this.dw) {
34
+ this.dw.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
35
+ }
36
+ else if (a == this.dx) {
37
+ this.dx.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
38
+ }
39
+ }
31
40
  constructor(a) {
32
41
  super(a);
33
42
  this.dw = null;
@@ -40,7 +40,7 @@ let TemplateCell = /*@__PURE__*/ (() => {
40
40
  dy(a) {
41
41
  let b = this.dw.element.getNativeElement();
42
42
  if (b.contains(document.activeElement) && document.activeElement.nodeName == "INPUT") {
43
- let c = BaseDOMEventProxy.c1(a);
43
+ let c = BaseDOMEventProxy.c4(a);
44
44
  if (c == 14 || c == 16) {
45
45
  a.stopPropagation();
46
46
  }
@@ -26,7 +26,7 @@ import { IgcGridSortDescriptionsChangedEventArgs } from './igc-grid-sort-descrip
26
26
  import { IgcGridGroupDescriptionsChangedEventArgs } from './igc-grid-group-descriptions-changed-event-args';
27
27
  import { IgcGridSummaryDescriptionsChangedEventArgs } from './igc-grid-summary-descriptions-changed-event-args';
28
28
  import { DataGrid } from "./DataGrid";
29
- import { ensureEnum, ensureBool, CollectionAdapter, getAllPropertyNames, enumToString, fromSpinal, toSpinal, brushToString, stringToBrush, initializePropertiesFromCss, NamePatcher } from "igniteui-webcomponents-core";
29
+ import { ensureEnum, ensureBool, CollectionAdapter, getAllPropertyNames, enumToString, fromSpinal, toSpinal, brushToString, stringToBrush, initializePropertiesFromCss, NamePatcher, moveFocusNext, moveFocusPrevious } from "igniteui-webcomponents-core";
30
30
  import { Thickness } from "igniteui-webcomponents-core";
31
31
  import { WebComponentRenderer, WebComponentWrapper, PortalManager } from "igniteui-webcomponents-core";
32
32
  import { DataGridColumn } from './DataGridColumn';
@@ -210,6 +210,12 @@ let IgcDataGridComponent = /*@__PURE__*/ (() => {
210
210
  this._scroller.scrollbarBrush = color;
211
211
  }
212
212
  }
213
+ _moveFocusNext() {
214
+ moveFocusNext(this, true);
215
+ }
216
+ _moveFocusPrevious() {
217
+ moveFocusPrevious(this);
218
+ }
213
219
  createImplementation() {
214
220
  //let test = Grid;
215
221
  return new DataGrid();
@@ -1681,7 +1681,7 @@ export var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
1681
1681
  case "CheckboxCornerRadius":
1682
1682
  this.view.af();
1683
1683
  if (this.g != null) {
1684
- this.g.x9();
1684
+ this.g.ya();
1685
1685
  }
1686
1686
  break;
1687
1687
  case "CheckboxAlignedRight":
@@ -1691,7 +1691,7 @@ export var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
1691
1691
  break;
1692
1692
  case "DataLegendTarget":
1693
1693
  if (this.g != null) {
1694
- this.g.x9();
1694
+ this.g.ya();
1695
1695
  }
1696
1696
  break;
1697
1697
  }